I'm having problems accessing an ActiveX Dll that I wrote from within an ASP Page. It works fine in
VB but I get the following error when I call it from and ASP Page. I have spent the last 2 days searching the web for an answer to my problem but to no avail. I have read that it might have something to do with the DLL Registration, but I've shutdown IIS, unregistered the DLL, rebooted my PC, and recompiled & Registered the DLL. This hasn't worked.
Error Type:
CIMCmdSocket (0x800A005B)
Object variable or With block variable not set
/1.asp, line 14
The ASP Code is as follows
Dim x
Set x = Server.CreateObject("CIMCmdSocket.CmdSocket")
x.opensocket(Port) ' SocketNumber is the actual port
Set x = Nothing
If anyone has any suggestions/help I would be most grateful.