VBRUN : 80040154
-
Hi, I have a Web Application which referes to COM components for various reasons. These COM components are built in VB6 and works fine when executed from Windows application from my machine. This means, COM components are properly registered on my machine. When I gave reference to these from my Web App, respective Interop. DLL are created. The COM component is the described as - "Microsoft VBUpgrade Tool TypeLib Visual Basic runtime objects and procedures" in VS.NET 2008 reference properties. Question : I am getting following error when I try to create an object of VBRUN.PropertyBagClass
Error Message : An exception of type System.Runtime.InteropServices.COMException was raised and caught. Message: Retrieving the COM class factory for component with CLSID {D5DE8D20-5176-4EF2-8581-7B534D2AC56E} failed due to the following error: 80040154.
Stack Trace pointed to the line where object was being created I searched google and came to a conclusion that I need to give rights of COM component execution for ASPNET account. I tried DCOM Configuration but am not sure to whom give the access rights and of what ? It would be great if you guys give some sort of pointer to this ? Also wanted to make sure that my conclusion is right ? Thanks !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder