Access to the path ...\v2.0.50727\Temporary ASP.NET Files\...\App_Code.compiled' is denied.

We're migrating a .NET 2.0 web application to a new server. The web app involves Crystal Reports for VS2005. I created a setup deployment project for the CR merge modules and applied it to the web site. The deployment project appears as a separate project under the default web site. Our web application is set to the directory with the web app files. This is running on IIS 6.

I tried giving the LOCAL SERVICE and NETWORK SERVICE accounts full control to the temporary files folder as well as deleting the underlying directories and restarting IIS but the error persists. I was going to add the ASP.NET account but it didn't seem to be available.

Please let me know what I need to look at to correct this. Thank you.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Are you running the app pools as something other than Network Service?  If so, you'll need to give that account rights to the temporary files folder.  If you're doing any type of impersonation within your web.config, then you'll need to give permissions to either the IUSR account or the authenticated users group.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZekeLAAuthor Commented:
Giving control to authenticated users did the trick! Thank you immensely.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.