|
-
Jan 29th, 2005, 04:52 PM
#1
Thread Starter
Fanatic Member
The call to Server.CreateObject failed while checking permissions. Access is denied t
I setup my XP workstation as a web server (IIS). I am trying to run this code:
<%@ Language=VBScript %>
<% rpt_filter = "123456"
Set oApp = Server.CreateObject("Access.Application")
oApp.OpenCurrentDatabase "C:\Test.mdb"
Set oDoCmd = oApp.DoCmd
FileName= "fecal" + ".snp"
oDoCmd.OpenReport "Report1",acViewPreview,,"PROCESSBATCHID="&rpt_filter
oDoCmd.OutputTo 3, "Report1","Snapshot Format",Server.MapPath(FileName)
set oDoCmd = Nothing
Set oApp = Nothing %>
I get the following error when I run it from the xp workstation:
Error Type:
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
/test.asp, line 3
How can I resolve this. Sounds like a permission problem? I know nothing about modifying permissions. If this is the resolution, can you please show me how to make the correct modifications?
Your help is greatly appreciated in this matter.
-
Jan 30th, 2005, 12:07 AM
#2
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
You probably need to set permissions on msvbvm60.dll. Right click it, give everyone full control.
If that doesn't work, it'll have to be the MDAC files on your machine, but I think it should be msvbvm60.dll.
-
Jan 30th, 2005, 12:24 AM
#3
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
 Originally Posted by mendhak
You probably need to set permissions on msvbvm60.dll. Right click it, give everyone full control.
If that doesn't work, it'll have to be the MDAC files on your machine, but I think it should be msvbvm60.dll.
I think I came accross this error before. Its to do with permission, more specifically when CreateObject is performed IIS uses the default account(IWAM_User or something like that) which does not have the permission to create an instance. There was a knowledgebase article on how to resolve it. If I can dig it up I will post it.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Jan 30th, 2005, 12:27 AM
#4
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
Do you mean IWAM_xyz or IUSR_xyz?
-
Jan 30th, 2005, 02:55 PM
#5
Thread Starter
Fanatic Member
Re: The call to Server.CreateObject failed while checking permissions. Access is denied t
Can someone try my code and tell me if it works for you...
-
Jan 30th, 2005, 08:39 PM
#6
Lively Member
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
I encounted this problem many time before now my computer. All you need to do is add (IUSR_COMNAME) or Internet Guest Account and allow the permission to Full Control.
Irwin
-
Jan 30th, 2005, 08:41 PM
#7
Thread Starter
Fanatic Member
Re: The call to Server.CreateObject failed while checking permissions. Access is denied t
How do I do this... I am new to permissions, etc... Your help is appreciated...
-
Jan 30th, 2005, 10:39 PM
#8
Lively Member
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
Simple, you right click on the object you want to open and go to Security tab and click on the button Add. Then find the IUSR_YOURCOMNAME and add it. After adding just allow Full Control. My workstation is win200 hope it is the method with win XP.
Irwin
-
Mar 29th, 2009, 04:44 AM
#9
New Member
Re: The call to Server.CreateObject failed while checking permissions. Access is deni
Maybe this solution has worked before, but on Windows Vista the rights on msVbVm60.dll can't be chanched! After changing the settings the apply button issues the message "Can't save changes in the rights on msvbvm60.dell. Access denied" (translated from ducth).
HELP!!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|