ASP CreateObject Exception - Win2003& IIS6

L

Lynn Zou

In our system , we use an ASP page to upload files but sometimes it doesnot
work
as it suppose to do and we found error log in Application Error as:

Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Date: 11/27/2006
Time: 9:17:08 AM
Description:
Error: File /ASP/UploadFile.asp CreateObject Exception. The CreateObject of
'(null)' caused exception C0000005..

This exception happened sporadically. I didnot find a way to reproduce the
error.
Can anyone give me ideas of what to do?
 
R

Roland Hall

Lynn Zou said:
In our system , we use an ASP page to upload files but sometimes it
doesnot
work
as it suppose to do and we found error log in Application Error as:

Event Type: Error
Event Source: Active Server Pages
Event Category: None
Event ID: 5
Date: 11/27/2006
Time: 9:17:08 AM
Description:
Error: File /ASP/UploadFile.asp CreateObject Exception. The CreateObject
of
'(null)' caused exception C0000005..

This exception happened sporadically. I didnot find a way to reproduce the
error.
Can anyone give me ideas of what to do?

Somewhere in your code you have something similar:

set objName = CreateObject... or set objName = Server.CreateObject... etc

It's probably supposed to have FSO in it and doesn't have anthing. I've
never seen the exact error so not sure how to reproduce other than.

set objName = CreateObject() instead of set objName =
CreateObject("Scripting.FileSystemObject")
I'm guessing it's FSO since you're uploading a file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,040
Latest member
papereejit

Latest Threads

Top