Jeff Rhines
August 11th, 1999, 02:25 PM
All,
I'm using IIS 4 on NT4sp4. I have a single-threaded DLL written in VB6sp3. When using the following code in a VB Module, it works fine:
Dim oMgr as ReposInt.Manager
set oMgr = CreateObject("ReposInt.Manager")
MsgBox oMgr.ProcessData("fxasdf")
however, the following code in an ASP page gives an error (printed below the code):
Dim oMgr
set oMgr = CreateObject("ReposInt.Manager")
Response.Write oMgr.ProcessData("fxasdf")
set oMgr = nothing
--- error stuff ---
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'CreateObject'
/scripts/orderproxy.asp, line 4
--- end error stuff ---
Any ideas would be *greatly* appreciated. If there's any more info i can give to help diagnose what's going on, please let me know.
Best Regards,
Jeff
I'm using IIS 4 on NT4sp4. I have a single-threaded DLL written in VB6sp3. When using the following code in a VB Module, it works fine:
Dim oMgr as ReposInt.Manager
set oMgr = CreateObject("ReposInt.Manager")
MsgBox oMgr.ProcessData("fxasdf")
however, the following code in an ASP page gives an error (printed below the code):
Dim oMgr
set oMgr = CreateObject("ReposInt.Manager")
Response.Write oMgr.ProcessData("fxasdf")
set oMgr = nothing
--- error stuff ---
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument: 'CreateObject'
/scripts/orderproxy.asp, line 4
--- end error stuff ---
Any ideas would be *greatly* appreciated. If there's any more info i can give to help diagnose what's going on, please let me know.
Best Regards,
Jeff