Console in browser causes error - Server Error in '/Avast' Application.

when trying to run the console (open browser http://localhost/avast) i get this error…


The current identity (IIS APPPOOL\ASP.NET v4.0 DefaultAppPool) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\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 (IIS APPPOOL\ASP.NET v4.0 DefaultAppPool) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\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 (IIS APPPOOL\ASP.NET v4.0 DefaultAppPool) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.]
System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection) +948
System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException) +319

[HttpException (0x80004005): The current identity (IIS APPPOOL\ASP.NET v4.0 DefaultAppPool) does not have write access to ‘C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files’.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +646
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +771

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

still happens with the released version

server 2008 R2

manualy set the security access on the folder… works now

Did you setup the IIS manually or was it “default” BP installation?

Please open the IIS Manager and look what is set up in Default Web Site/Avast → .NET Compilation → Temporary Directory.

IIS was installed… but avast still tried to install it again at install… luckily i didnt have sites setup?

going to the temp folder and adding read write permission fixed the prob.

just something to look into in future?