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.