I have a COM dll with one class exported. I have developed a web service in Microsoft Visual studio 2005. I have registered COM dl using regsvr32 command and added the reference of this dll to my web service application. Web service is having one web method inside which I am creating an instance of the exported class of COM dll and calling its function. This function will take 3 arguments viz. int, int, string and returns a string output. I could see output string when I run the web service locally. But when I publish the web service to IIS, I am finding following error. "The server threw an exception. (Exception from HRESULT: 0x80010105(RPC_E_SERVERFAULT))".
Any help ASAP would be appreciated.
Software/Hardware used: Microsoft Visual Studio 2005, ASP.net 2.0, Visual studio 6.0