Link to home
Start Free TrialLog in
Avatar of sl1nger
sl1nger

asked on

close all objects before opening a page

I'm getting create object errors on my web server, but only on classic asp pages (the ones that are calling createobject).   We have no problem with our vb.net pages.  (They run on the same site.)

I read that one possible explanation is our objects aren't properly closed out or set nothing.  Can anyone first suggestion a way to see what objects might already be open before tryting to run the one on the page?   ie.  (but need syntax help) ..    response.write("<!--" & serverObjects.thatAreOpen & "-->")  
Avatar of bluV11t
bluV11t
Flag of Norway image

Hi!
Could you post some of the code that is failing?
Lack of cleaning up objects should not result in createobject failing as far as I know.

What version Windows Server are you running?
Avatar of sl1nger
sl1nger

ASKER

windows server 2003 -

dim fso
set fso = server.CreateObject("Scripting.FileSystemObject")

ASKER CERTIFIED SOLUTION
Avatar of bluV11t
bluV11t
Flag of Norway image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sl1nger

ASKER

I found out it was the security setting on the page.