Hi Keith,
The problem is most likely related to your web service not having sufficient rights to use Outlook. I would recommend using impersonation as explained in thread #
682735.
>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.
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi