Web Hosting Talk







View Full Version : Error - Server.CreateObject failed


zeeshandar
12-03-2010, 11:06 AM
I have hosting with support of Classic ASP, IIS 7.0 and ASP.Net 2.0/3.0/3.5. It also supports ASPJpeg and ASPUpload components.

I am developing an ASP site and for some unknown reason I am unable to use ASP Upload and ASP Jpeg components and getting following error:

Server object error 'ASP 0178 : 80070005'
Server.CreateObject Access Error
/aspjpeg.asp, line 2
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.


The Url of the page is urbanbarbershop.com/aspjpeg.asp and this page contains only following two lines of code:


<% dim Jpeg
Set Jpeg = Server.CreateObject("Persits.Jpeg")
%>

The error is on the line where script tries to create ASPJpeg object. I contact hosting company support and they continue to tell me that it is the scripting issue.

Anyone out there have any idea of how to fix the issue? Is this something related to web.config?

care4server
12-03-2010, 01:24 PM
please verify with your host if there is permission for application pool user

centauricw
12-03-2010, 09:02 PM
For ASP on IIS 7, you should be using Classic mode with the Application Pool.

PremiumHost
12-05-2010, 08:05 PM
It's server configuration issue.

Only your host can fix the issue. Open a technical support ticket to get help.

new_alphard
12-06-2010, 09:49 PM
there are two causes of the problems:

1. The components Persits.Jpeg has not been installed properly on the server OR oif it has been installed, the permission of this component is not set properly

2. You do not have enough user permission priviledges to create the object. You need to check with your host about it

hope this helps