Error - Server.CreateObject failed

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 http://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?

Hi,

Looks like something you’ll need to talk to your host about, error message says it all really, “Access is denied to this object” i.e. Your script in its current running context doesn’t have the right permissions to create an object of that type.

Thanks,