简体   繁体   中英

IIS7 not having access to web.config

I have published a .net 4.0 web app. I am trying to configure IIS7 to show my app and I created a new application pool with .net framework 4.0 configuration.

Then, I created a new app and pointed to the virtual directory. I went to the URL and I see a blank page. Trying to configure default pages resulted on an error:

IIS错误

I think I am having a permission error on the virtual directory. I gave full control to users IUSR and "Everyone" but nothing changed. Any help?

Most likely it is an access issue.

You should try...

  1. Download Process Monitor from Microsoft Download site.
  2. Run the tool
  3. Reproduce the issue
  4. Press CTRL+E (stop capturing output) in Process Monitor
  5. Search for "Access Denied"

Allow appropriate access.

Also, run IIS as Local Administrator.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM