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:
- Start | Click
- Type inetmgr , click on OK
- IIS Manager Browse in your web application, like my server | Web sites | Default Web Site | Right-click the web app Properties
- In the General tab, select My Web app
- Note> Cancel
- 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.
- Click the Empty Pool , Properties
- Identity tab Please. This shows that your web application is running.
- Type inetmgr , click on OK
Comments
Post a Comment