• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 733
  • Last Modified:

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!!!
0
kustiel
Asked:
kustiel
  • 3
  • 3
2 Solutions
 
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
 
hongjunCommented:
Since you managed it works previously, I don't see why it will suddenly break down.

hongjun
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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
 
hongjunCommented:
Try to destroy your objects after you are done with it.

Set Upload = Nothing

hongjun
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_parikshitCommented:
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

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now