which account IIS uses to run asp.net project -


Any ideas that use IIS to run the ASP.NET project. My project or code access file which is in the C: \ path \ path directory. When I test the project in my machine, it runs fine (well I'm running in a built-in server; Cassini), but when I Test the same project in the development server where it uses IIS 6.0 ... My code throws an exception "access to file C: \ path \ path is denied".

Not sure how I can solve this?

Find the identities used by the application pool that your web The application comes under IIS 6 steps:

  1. Start | Click
  2. Type inetmgr , click on OK
  3. IIS Manager Browse in your web application, like my server | Web sites | Default Web Site | Right-click the web app Properties
  4. In the General tab, select My Web app
  5. Note> Cancel
  6. IIS Manager to the left-hand pen of the Application Pool . my server | Browse the application pool | My App Pool , where my application pool is the name that you found in step 5 above.
  7. Click the Empty Pool , Properties
  8. Identity tab Please. This shows that your web application is running.

Comments