>I need some help going through all the requirements to set up a COM server which automates Outlook. I have created the object which works correctly on my local machine in VFP and as a com object but when I move it to the server it
>has trouble. The server has both Outlook and VFP7 installed on it and the class works in development but not as a com server on the server itself.
>
>The code in question it :
>
>loApp = CreateObject("Outlook.Application")
>loSpace = loApp.GetNameSpace("MAPI")
>loMsg = loSpace.GetDefaultFolder(6)
>
>
>The specific error I am getting during the last line :
>
>OLE IDispatch exception code 4096 from Microsoft Outlook :
>Could not complete the operation because the service provider does not support it... 1429..
>
>Jake
To add to Craig's response, you probably need to setup an Outlook account and profile for the user that the COM server runs under. Just login to the server under that user's ID and password and set the properties for the mail server and account.
HTH