Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't Reference VB.Net dll object in ASP

Status
Not open for further replies.

BieniekT

MIS
Joined
Jul 26, 2002
Messages
2
Location
US
I have created a VB.Net dll object that I am try to reference from with my ASP pages. I receive the following error: "ActiveX component can't create the object".

The code is:

dim objPMonitor
set objPMonitor = createobject("PrintMonitor.clsMonitorPrinter")

I do have the .Net Runtime loaded on the PC.
I think it might be an issue with my Global Assembly Cache.

Any advice would be greatly appreciated

 
Did you set the project projects to register for COM interop? Remember: .NET is not COM, but it can look like COM if you tell it to.

Chip H.


If you want to get the best response to a question, please check out FAQ222-2244 first
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top