I don't know if we're supposed to report bugs or not, but this one's a real doozie. If nobody has a quick fix on this, then I'll just downgrade from the RC to the earlier version.
My setup:
Server 2K3, connecting to SQL Server 2000.
The issue:
Trying to access the root of my portal (or any page thereof) after setting up a few core modules (FAQ, Blog, and IFrame) gives me the following:
Server Error in '/portal' Application.
--------------------------------------------------------------------------------
The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +3474123
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +226
[HttpException (0x80004005): The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +3426855
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +149
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
The symptoms:
First time, it happened right after I installed the blog. After installation, I navigated to the "Home" tab, and promptly got a debug option for Visual Studio 2005, but nothing apparent was "broken" on the page. I dropped my portal database, deleted all files, and started fresh. This time, I tried to install the events module, and as soon as the page refreshed, it told me the module was not available and that an exception had occured. The Visual Studio debug dialog popped, I opted not to debug, exited Explorer, and came back. This is all that will show up. I cannot reach any DNN page.
What I've tried:
* Giving "Network Service" full control recursive access to the 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727' folder. An effective permissions audit confirmed that Network Service had full control access rights to the 'Temporary ASP.NET Files' directory. Problem did not resolve.