CS0016: Could not write to output file 'c:\..\..\App_Web_XXXX.aspx..dll' -- 'The directory name is invalid. '
Posted
by
Christian M
on Super User
See other posts from Super User
or by Christian M
Published on 2010-08-19T09:11:39Z
Indexed on
2011/11/30
10:05 UTC
Read the original article
Hit count: 851
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
© Super User or respective owner