?
Solved

close all objects before opening a page

Posted on 2008-11-10
4
Medium Priority
?
265 Views
Last Modified: 2012-05-05
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 & "-->")  
0
Comment
Question by:sl1nger
  • 2
  • 2
4 Comments
 
LVL 7

Expert Comment

by:bluV11t
ID: 22928376
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?
0
 

Author Comment

by:sl1nger
ID: 22931489
windows server 2003 -

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

0
 
LVL 7

Accepted Solution

by:
bluV11t earned 2000 total points
ID: 22933631
0
 

Author Comment

by:sl1nger
ID: 23354741
I found out it was the security setting on the page.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
SQL Database Recovery Software repairs the MDF & NDF Files, corrupted due to hardware related issues or software related errors. Provides preview of recovered database objects and allows saving in either MSSQL, CSV, HTML or XLS format. Ensures recov…
Suggested Courses

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question