Need help!!!System.InvalidCastException: QueryInterface for interf
- From: "Myron" <Myron@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 12 Apr 2005 12:27:22 -0700
I created a webservice to call a dll maded by vb6 . In my local computer, no
problem. But after I deployed to the other computers,I got the error.
Now my solution is to install the vs.net 2003 to the computer that the
webservice would install, make the interop dll again and compile, It words.
So stranger.
Why?
Server Error in '/WebService' Application.
--------------------------------------------------------------------------------
QueryInterface for interface VisualDll._clsConnector failed.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.
Exception Details: System.InvalidCastException: QueryInterface for interface
VisualDll._clsConnector failed.
Source Error:
An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.
Stack Trace:
[InvalidCastException: QueryInterface for interface VisualDll._clsConnector
failed.]
VisualDll.clsConnectorClass.set_GetDataLocation(String ) +0
WebService1.Global.Application_Start(Object sender, EventArgs e)
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573
.
- Prev by Date: How to make .NET contol registerable as ActiveX?
- Next by Date: Re: Excel 2003 PIA not working right on non-developer PC
- Previous by thread: How to make .NET contol registerable as ActiveX?
- Next by thread: problem compiling Managed Sink Wrapper for SMTP
- Index(es):
Relevant Pages
|