CS0016 Error on ASP.NET, IIS7 and Windows Vista - SOLVED
So, I was messing with some ideas for site structure and security, and it came to my deploying the site to IIS. Now, I admit, I am still pretty new to IIS7 and Windows Vista (Home Premium), so I was expecting some issues, but this was kicked my ass for a good 45 mins ! Once I had deployed my site and browsed to it, I was getting the following error: CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\… ‘Access is denied.’ (Where … is the randomly-generated DLL names created by ASP.NET ). So, I figured, “OK this is probably a permissions issue” as I have encountered similar before in XP, where the ASPNET user account needed to be added. I also know that in Vista this account is called “NETWORK SERVICE” . I then update the permissions for the “Temporary ASP.NET Files” folder in the .NET Framework folder, eagerly get back to my browser, hit F5.. Boom. No dice, same error message. After doing some digging on th...