D
Drew
Here is the scenario:
We have an ASP 3.0 web page that calls a COM+ component. This
component is written in VB.NET usng Enterprise Services. The
component is working fine from a COM+ standpoint. The component is
supposed to try to consume a web services and return the xml. The web
service is in vb.net and currently has hardcoded xml to return. I
have tested the web service and it works fine.
No the strange part.
When we call the web page, it calls the COM+ component and returns the
following error:
Response object error 'ASP 0106 : 80020005'
Type Mismatch
/test.asp, line 0
An unhandled data type was encountered.
Object reference not set to an instance of an object. CSL
at CSL.VendorCSLFeed.ErrorInWebService()
at CSL.VendorCSLFeed.TestDbConnectivity()
I have included the method being called:
Public Function TestDbConnectivity() As Object
Try
Dim _Service As New TestFeed.Feed
_Service.Timeout = 30000
TestDbConnectivity = _Service.TestDbConnectivity()
Catch ex As Exception
Dim Mailer As New MailMessage
Mailer.To = "(e-mail address removed)"
Mailer.From = "(e-mail address removed)"
Mailer.Subject = System.DateTime.Now & " - Error in Web
Service Middle Component"
Mailer.Body = ex.Message & Environment.NewLine & ex.Source
& Environment.NewLine & ex.StackTrace
SmtpMail.Send(Mailer)
TestDbConnectivity = ErrorInWebService()
End Try
End Function
Thanks.
Drew
We have an ASP 3.0 web page that calls a COM+ component. This
component is written in VB.NET usng Enterprise Services. The
component is working fine from a COM+ standpoint. The component is
supposed to try to consume a web services and return the xml. The web
service is in vb.net and currently has hardcoded xml to return. I
have tested the web service and it works fine.
No the strange part.
When we call the web page, it calls the COM+ component and returns the
following error:
Response object error 'ASP 0106 : 80020005'
Type Mismatch
/test.asp, line 0
An unhandled data type was encountered.
Object reference not set to an instance of an object. CSL
at CSL.VendorCSLFeed.ErrorInWebService()
at CSL.VendorCSLFeed.TestDbConnectivity()
I have included the method being called:
Public Function TestDbConnectivity() As Object
Try
Dim _Service As New TestFeed.Feed
_Service.Timeout = 30000
TestDbConnectivity = _Service.TestDbConnectivity()
Catch ex As Exception
Dim Mailer As New MailMessage
Mailer.To = "(e-mail address removed)"
Mailer.From = "(e-mail address removed)"
Mailer.Subject = System.DateTime.Now & " - Error in Web
Service Middle Component"
Mailer.Body = ex.Message & Environment.NewLine & ex.Source
& Environment.NewLine & ex.StackTrace
SmtpMail.Send(Mailer)
TestDbConnectivity = ErrorInWebService()
End Try
End Function
Thanks.
Drew