I have a DLL created using VB6. When I run the .Net Web service in my local computer, it works fine. However, when I published the webservice, the service encounters an error when it creates the object from the DLL. I already added the Imports and even used the full path. The offending code is the shown beleow ... <WebMethod()> Public Function TestingApp(ByVal ApplicationData As String) As String dim sData as string sData = ApplicationData 'error is encountered here oCipher = New EISWACipher.CustomCipher 'when i comment this out, the function will work fine TestingApp = sData End Function The error: Retrieving the COM class factory for component with CLSID {791AAE5A-9ECB-4E02-9659-2EF1494C010B} failed due to the following error: 80040154. I check the Interop.EISWACipher.dll and it is in the bin directory. I appreciate your help. Thank you Post Edited By Moderator (Joel Thoms) : 1/25/2007 11:30:59 PM GMT
Its because every COM object needs to be registered on the server before it can be used,just having the dll in your bin wont help. Vikram DiscountASP.NET www.DiscountASP.NET
If you could tell me what exactly are you using the component for,may be Dasp has an alternative component installed which you can use instead,but Dasp does not register components individually for every customer. Vikram DiscountASP.NET www.DiscountASP.NET
To make sure our servers' stability, we do not allow 3rd party dll installation. COM dll can cause many problems, eg. - Server crash - Licensing issues - version conflict, etc. Bruce DiscountASP.NET www.DiscountASP.NET