ASP error while creating an object

The following errors started happenning now on all my websites hosted at godaddy:
It happens when the user tries to upload a file through a file upload form.

The error line is: Set Upload = Server.CreateObject("Persits.Upload")

This is the error as it appears in the browser:

Active Server Pages error 'ASP 0241'

CreateObject Exception

/upload_files.asp

The CreateObject of '(null)' caused exception C0000005.

Server object error 'ASP 0177 : c0000005'

Server.CreateObject Failed

/upload_files.asp, line 11

c0000005


GoDaddy's "customer support" blames the code, although this code is running like this for  a long time.

Any suggestions?

Thanks, Assaf

p.s. GoDaddy sucks!!!
LVL 1
kustielAsked:
Who is Participating?
 
hongjunConnect With a Mentor Commented:
Try to destroy your objects after you are done with it.

Set Upload = Nothing

hongjun
0
 
hongjunCommented:
Is AspUpload installed on the web server?

hongjun
0
 
kustielAuthor Commented:
i guess so. It's a shared hosting server.
the code always worked until a couple of hours ago...

I talked to the hosting company and they say that the problem is on my side.

Please let me know if you have any advice for me.

Thanks ,Assaf
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
hongjunCommented:
Since you managed it works previously, I don't see why it will suddenly break down.

hongjun
0
 
kustielAuthor Commented:
I read in google that such an error may happen when i don't close the server objects properly, and if so, it may be needed to restart the IIS. Do you know anything about it?

Thanks.
0
 
kustielAuthor Commented:
i changed the code now, but i think they will have to restart the server. otherwise it won't return to normal. Am I right?

Thanks, Assaf
0
 
its_parikshitConnect With a Mentor Commented:
Try this My friend,

Set Upload = Server.CreateObject("Persits.Upload.1")

OR

Set Upload = Server.CreateObject("Persits.Upload.2")

this will really help you.

Thnanks

Parikshit
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.