Reputation: 3209
I'm in the process of migrating a classic ASP site on an old 32bit XP server to a w7 64 bit. The application works fine where it is currently hosted.
When migrated, I get errors in the global.asa file:
Sub Session_OnStart
'works fine
Set Session("GaoAppEnv")=Server.CreateObject("GaoCommon.AppEnv.1")
'error
Set Session("GaoSession")=Session("GaoAppEnv").CreateSession("file.tps")
...
With the error:
Gao Subsystem error '80020009'
Unknown Exception
I tried to add some error catching code into the vb script around the problem area, but when I try to do WScript.Echo I get yet another error "Object required: 'WScript'"
I've added the registry settings for GaoCommon.AppEnv.1 via DLL, but file.tps seems to be only be a path in the registry to the file itself, and looks to be XML and not what I've seen for a tps filetype online.
It looks as though I've missed something in the migration over, any thoughts?
UPDATE- Things I've already done/checked:
Upvotes: 0
Views: 60
Reputation: 867
First you will need to ensure your ASP runs in a 32-bit Application Pool on the IIS Server for backward compatibility.
WScript.Echo
is only valid for VBScript under WSH (i.e. scripts executed locally on the server via wscript.exe
or cscript.exe
). To debug in ASP, you may use Response.Write
instead.
Upvotes: 2