I made a program that reads emails from an Outlook mailbox and does some
stuff and the program works fine.
However, my boss now tells me that the program is to be executed from a
remote computer. I now get the following error when calling the program
remotely:
"Could not complete the operation because the service provider does not
support it. at Outlook.NameSpa ceClass.get_Fol ders()
For more information, see Help and Support Center at
http://go.microsoft.co m/fwlink/events.asp."
Below is the piece of code in the program where the error occurs:
' Create Outlook application
Dim loApp As Outlook.Applica tion = New Outlook.Applica tion
' Get Mapi NameSpace
Dim loNS As Outlook.NameSpa ce = loApp.GetNamesp ace("MAPI")
' Error occurs here
Dim loFol As Outlook._Folder s = loNS.Folders
How do I fix this?
stuff and the program works fine.
However, my boss now tells me that the program is to be executed from a
remote computer. I now get the following error when calling the program
remotely:
"Could not complete the operation because the service provider does not
support it. at Outlook.NameSpa ceClass.get_Fol ders()
For more information, see Help and Support Center at
http://go.microsoft.co m/fwlink/events.asp."
Below is the piece of code in the program where the error occurs:
' Create Outlook application
Dim loApp As Outlook.Applica tion = New Outlook.Applica tion
' Get Mapi NameSpace
Dim loNS As Outlook.NameSpa ce = loApp.GetNamesp ace("MAPI")
' Error occurs here
Dim loFol As Outlook._Folder s = loNS.Folders
How do I fix this?
Comment