Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with Outlook via COM+
Message
From
23/08/2001 22:16:53
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00548401
Message ID:
00548428
Views:
12
You're not going be using COM+ to automate Outlook. What user does the COM server run under? It may not have proper rights.

>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
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Reply
Map
View

Click here to load this message in the networking platform