Last post Nov 04, 2009 08:14 AM by sandeepjadhav
Nov 02, 2009 06:31 AM|sandeepjadhav|LINK
I've installed my asp.net application (compiled with ASP.net 2.0) on Windows Server 2008. But, every request fails with
Exception type: HttpCompileException
Exception message: vbc : Fatal (0): error BC2000: compiler initialization failed unexpectedly: Access is denied.
Thread ID: 10
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Web.Compilation.AssemblyBuilder.Compile()
This works well if i grant access to NetworkService account on Temp folder but, can't do so due to some limitations.
I want to know why NetworkService requires access to C:\Windows\Temp folder in Win 2008 server whereas, same application work fine on Windows 2003 server.
windows 2008 server .NET 2.0
Nov 02, 2009 11:05 AM|qwe123kids|LINK
Try Giving Complete Rights Temp Folder and Then Chk
Nov 03, 2009 12:12 AM|sandeepjadhav|LINK
yeah.... it works after giving full access. Bu,t i want know the reason behind giving full access. So, that i can avoid doing so.
Bcos same thing work well in WinServer 2003
Nov 03, 2009 07:11 AM|jitendramcu|LINK
Read this Article
Nov 03, 2009 08:43 AM|Babunareshnarra|LINK
try using in system.web section of web.config
Nov 04, 2009 08:14 AM|sandeepjadhav|LINK
nope no help with identity tag.
Can we know why c:\windows\temp\ is used in this case whereas it should ASP.Net temp folder.