View Single Post
  #1 (permalink)  
Old January 22nd, 2004, 12:18 PM
sweta sweta is offline
Registered User
 
Join Date: Jan 2004
Location: banl, kan, India.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default System.InvalidCastException: QueryInterface for

Hi,
I have a problem in web service, I have created the dll in vb, which i am referencing it in my web service, It gives me this error:
-------------------------
System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.InvalidCastException: QueryInterface for interface SykesEKMS._CUsers failed. at SykesEKMS.CUsersClass.ListByLogin(String& UserREF, String& LoginString, Int16& RoleFilter) at eKMSWS.eKMS.cUsers_ListByLogin(String strUserID, String strUsername, String strFirstName, String strLastName, String strEmailAddress) in C:\Inetpub\wwwroot\eKMSWS\eKMS.asmx.vb:line 200 --- End of inner exception stack trace ---
--------------------------
The same dll when i used it in another VB project just for the sake of testing , it works fine.
Why is that the same dll in web service doesn't work?

Please help me ...
Sweta




Reply With Quote