IIS 7 and Above
how can i config permission for wwwroot foler?
Last post Apr 18, 2021 03:40 AM by Geeksm
Jan 01, 2021 06:37 AM|iisboy|LINK
this is my classic asp code :
StartURL = "www.google.com"
set IE = CreateObject("InternetExplorer.Application")
IE.Visible = true
when i run in iis 7.5 and windows 7
,then give me a response:
Microsoft VBScript runtime error error '800a0046'
/1.asp, line 3
Jan 01, 2021 08:33 AM|Jalpa Panchal|LINK
The reason behind the error is insufficient permission to the folder which page you are trying to access.
To resolve the issue you can follow the below steps:
1)Right-click on the site folder which you are trying to access.
2)Select properties->Security tab
3)Click on the edit button-> add
Add iis_iusrs and iusr permission to full control.
Restart iis server after doing changes.
Make sure you have enabled the anonymous authentication in iis and the rest of the are disabled.
you could also set the application pool identity to the custom user whose role is the administrator.
Apr 18, 2021 03:40 AM|Geeksm|LINK
By default wwwroot (the root directory of ASP) is in the c drive. Since it's your system drive, the default permission to save or read files from this location is prohibited. You may change the default permission, however it's not recommend instead use a
new Virtual directory. I have demonstrated both about changing the default permission or using virtual directory in this video
Watch to know more in detail. Please let me know if you still face any error.