CS0016: Could not write to output file 'c:\..\..\App_Web_XXXX.aspx..dll' -- 'The directory name is invalid. '
- by Christian M
This problem is driving me nuts.
CS0016: Could not write to output file 'c:\Windows\Microsoft.NET\Framework<64\vX.X.XXXX\Temporary ASP.NET Files\root\XXXXXX\XXXXXX\App_Web_XXXX.aspx.XXXXXXXX.XXXXXXXX.dll' -- 'The directory name is invalid. '
Tried to give full access to network service on C:\windows\temp and the temp folder in v4.0.xxx folder.
Been searching hi and low online but no one has the right answer for this.
Server is Windows Server 2008r2, SQL Server 2008r2 is installed on the same server.
I believe that it could have something to do with SQL Server being installed after the .NET Framework 4.0 was installed, but I did a aspnet_regiis.exe -u and then -i to reinstall. Tried from both Framework folder and Framework64 folder, still no luck
Anybody outthere with the same problem?
Thanks in advance,
Christian