An Adventure: Building an ASP.NET application to call 64bit Powershell.

I keep seeing quesions on calling Exchange PowerShell from ASP.NET pop-up. Not all the banter I’ve seen on the web and elsewhere seems to be correct, I decided to look into this.  I see that some people end-up setting up speical accounts or putting the code into COM+ because they give up trying to make the…

3

WebDAV FBA Authentication Sample Explained.

 Here is some basic information on how FBA authentication is done with WebDAV.  To provide some insight into how this works, you should look at the sample code of KB891748 and review it with the explanation below.  Note that if you are going against Exchange 2007, you should reconsider using FBA authentication since FBA authentication…

3

WebDAV and OWA Authentication Settings

With any login issue, it’s important to know which authentication protocols are valid.  You  have to code to an authentication protocol which can be used.   The authentication settings for OWA and WebDAV are tied together under Exchange 2000 and 2003.  Because of this, developers run into issues with WebDAV not being able to authenticate…

2

Howto: Accept meeting requests with VB6 and CDO 1.21

Here is a sample to accept all meeting requests using CDO 1.21. ‘ The code below will accept all meeting requests in the users inbox.Private Sub cmdAcceptRecurringMeeting_Click()   Dim objSession As mapi.Session    Dim ObjMessage As mapi.Message    Dim oMessages As mapi.Messages    Dim oAppointment As mapi.AppointmentItem    Dim oFolder As mapi.Folder    Dim objOrig As AppointmentItem    Dim objRecPatt As RecurrencePattern   …

0

HOWTO: Exchange Web Service PUSH to a Windows Mobile Device.

OK, I’m not exactly the hard-core Windows Mobile developer here.  However, I had a recent issue with a customer who wanted to be able to use a PUSH to a windows mobile device which would be in stand-by.  Their goal was to save on the battery life.   Let’s start off with this:   ·  …

0

Links on Common Exchange Web Services (EWS) Questions

I’ve put together a list of articles which cover common questions on Exchange Web Services (EWS).  These links cover issues from starting out to common problems.  I hope they help.  Please let me know if there is anything important to add.   Getting Started:     Web Services http://msdn.microsoft.com/en-us/library/aa579187(EXCHG.80).aspx   Exchange Web Services Architecture http://msdn.microsoft.com/en-us/library/aa579369(EXCHG.80).aspx…

2

Outlook Automation is for People, not for Services.

I don’t know why we see a lot of customers trying to automate Outlook from a service.  It’s pretty well documented that it’s a bad idea.  Outlook Object Model (OOM) was written for automating Outlook for a user sitting at the box running it.   See, Outlook is very personal and I do mean, it’s very,…

0

Links on Common PowerShell Automation Questions

I’ve put together a list of articles which cover common questions on Exchange PowerShell Automation.  These links cover issues from starting out to common problems.  I hope they help.  Please let me know if there are others you see as important.   Starting articles on automation:   Using Exchange Management Shell Commands with Managed Code…

1

Howto: Calling Exchange Powershell from an impersonated thread.

There are not many examples on doing doing impersonation for Exchange Powershell and non of the ones I see currently cover a few of the important gotccha’s.  So, I put this together and wish to share.   Impersonation and Exchange PowerShell:   In order to do impersonation on a thread and have it work with…

17

About: CDO for Windows NT (CDONTS)

API Type: SMTP Sender. API Interface: COM Library. Business Logic: Sending mail via SMTP, read mail via POP3. Language Support: Any *unmanaged* COM compatible language (C++, VB6, VB Script). Direct Property Access: N/A. Product Versions: Windows NT and Windows 2000.   Summary:   CDONTS was viewed as a subset of CDO 1.21 in Windows NT and Windows 2000.  It’s primary…

0