Click to See Complete Forum and Search --> : Getting Permission denied


nmoran
07-29-2005, 03:38 PM
I am getting 'Permission Denied' when trying to run an asp page with the following:

Dim objW3SVC
Set objW3SVC = GetObject("IIS://localhost/W3SVC")

What permissions need to be set to have access to this information?

Thanks

buntine
07-29-2005, 09:41 PM
You will need to set full read/write permissions to the root directory of the site your accessing with the W3SVC object. And possibly the site that contains the call.

Regards.

nmoran
07-30-2005, 08:47 AM
I have given the page Administrator permissions and I'm still getting the Permissions Denied error. I'm missing something but I'm not really sure what. My web page cannot access anything above the root directory. Am I supposed to do anything else in the code besides give it Admin permissions? Is there a way to connect to the server with a user/pass that would give me the admin rights to access the metabase file?

Thanks