ASP CreateObject Exception - Win2003& IIS6

ASP CreateObject Exception - Win2003& IIS6

am 30.11.2006 18:11:55 von 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?

--
Thank you

Sincerely,
Lynn Zou

Re: ASP CreateObject Exception - Win2003& IIS6

am 12.01.2007 06:38:35 von Roland Hall

"Lynn Zou" wrote in message
news:ublVdKKFHHA.4768@TK2MSFTNGP05.phx.gbl...
> 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.

--

Roland Hall