Avast WEBforum

Business Products => Archive (Legacy) => Avast Business => Avast Endpoint Protection => Topic started by: williamstam on July 19, 2011, 04:53:24 PM

Title: Console in browser causes error - Server Error in '/Avast' Application.
Post by: williamstam on July 19, 2011, 04:53:24 PM
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
Title: Re: Console in browser causes error - Server Error in '/Avast' Application.
Post by: williamstam on July 20, 2011, 02:13:38 PM
still happens with the released version

server 2008 R2
Title: Re: Console in browser causes error - Server Error in '/Avast' Application.
Post by: williamstam on July 20, 2011, 02:26:27 PM
manualy set the security access on the folder.. works now
Title: Re: Console in browser causes error - Server Error in '/Avast' Application.
Post by: lukas.hasik on July 22, 2011, 10:15:07 AM
Did you setup the IIS manually or was it "default" BP installation?
Title: Re: Console in browser causes error - Server Error in '/Avast' Application.
Post by: vojtech on July 22, 2011, 05:37:24 PM
Please open the IIS Manager and look what is set up in Default Web Site/Avast -> .NET Compilation -> Temporary Directory.
Title: Re: Console in browser causes error - Server Error in '/Avast' Application.
Post by: williamstam on July 24, 2011, 12:23:30 PM
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?