Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with Outlook via COM+
Message
 
 
À
24/08/2001 00:03:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00548401
Message ID:
00548837
Vues:
10
>>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

I have logged onto the server using the account the COM server runs under and set up Outlook with this profile. I also ran the class in development on the server while logged into the account. In development the class works correctly but as a com object in development I get the same error. Any ideas?
Wine is sunlight, held together by water - Galileo Galilei
Un jour sans vin est comme un jour sans soleil - Louis Pasteur
Water separates the people of the world; wine unites them - anonymous
Wine is the most civilized thing in the world - Ernest Hemingway
Wine makes daily living easier, less hurried, with fewer tensions and more tolerance - Benjamin Franklin
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform