Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Outlook COM
Message
From
31/12/2002 21:24:43
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
Web Services
Title:
Accessing Outlook COM
Miscellaneous
Thread ID:
00737113
Message ID:
00737113
Views:
45
I am trying to use Outlook to parse names and addresses in my web service but I am getting a HTTP 500 Server Internal Error when instantiating an Outlook Application object:
Imports Outlook

    <WebMethod(Description:="Inserts a new lead into the Lead table")> _
        Public Function InsertLead( _
            ByVal SourceID As Integer, _
            ByVal Name As String, _
            ByVal Address As String, _
            ByVal Phone As String, _
            ByVal Email As String) As DsLead

        Dim OutlookApp As New Outlook.Application()
The error occurs at the New Outloook.Application() line. I am at a loss on how to debug this. If anyone has successfully used Outlook in their ASP.NET project, I would love to hear some pointers.
Next
Reply
Map
View

Click here to load this message in the networking platform