I needed to create a component that can be used by both ASP and ASP.NET at the same time. I originally created a COM Interop assembly, but I don't believe that's accessible by ASP.NET. I then created a COM+ assembly. I successfully referenced this locally in both in ASP and ASP.NET.
However, I started having problems when I deployed this to a webserver on the network. I used regsvcs to register the component on the webserver. That ran successfully. I verified the entry for this component in the registry, so I am assuming it registered properly.
When I accessed this from ASP.NET everything was kosher. But when I accessed this component via ASP, I received a 'cannot create object' when I call the component from Server.CreateObject("..."). I had COM Visible = true specified in the AssemblyInfo file. Again, this identical dll works locally but throws an error when I try to access this via ASP on the development webserver. I have specified full trust on the entire virtual directory folder for the localintranet code group.
Any pointers in the right direction will be much appreciated.
However, I started having problems when I deployed this to a webserver on the network. I used regsvcs to register the component on the webserver. That ran successfully. I verified the entry for this component in the registry, so I am assuming it registered properly.
When I accessed this from ASP.NET everything was kosher. But when I accessed this component via ASP, I received a 'cannot create object' when I call the component from Server.CreateObject("..."). I had COM Visible = true specified in the AssemblyInfo file. Again, this identical dll works locally but throws an error when I try to access this via ASP on the development webserver. I have specified full trust on the entire virtual directory folder for the localintranet code group.
Any pointers in the right direction will be much appreciated.