Link to home
Start Free TrialLog in
Avatar of ameriaadmin
ameriaadminFlag for Armenia

asked on

IIS 7.5 error

Hello experts
i have some warnings and errors in my WebServer event log in windows Application logs.



Log Name:      Application
Source:        Active Server Pages
Date:          25/03/2014 08:06:22
Event ID:      5
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SRV-AB-BC1
Description:
Error: The Template Persistent Cache initialization failed for Application Pool 'DefaultAppPool' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Active Server Pages" />
    <EventID Qualifiers="49152">5</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-25T04:06:22.000000000Z" />
    <EventRecordID>132004</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SRV-AB-BC1</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The Template Persistent Cache initialization failed for Application Pool 'DefaultAppPool' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes.</Data>
    <Binary>03000000</Binary>
  </EventData>
</Event>

Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          25/03/2014 07:56:34
Event ID:      2264
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      SRV-AB-BC1
Description:
The directory specified for caching compressed content C:\inetpub\temp\IIS Temporary Compressed Files\Classic .NET AppPool is invalid.  Static compression is being disabled.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
    <EventID Qualifiers="32768">2264</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-25T03:56:34.000000000Z" />
    <EventRecordID>132002</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>SRV-AB-BC1</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="Directory">C:\inetpub\temp\IIS Temporary Compressed Files\Classic .NET AppPool</Data>
    <Binary>03000000</Binary>
  </EventData>
</Event>
Avatar of Emmanuel Adebayo
Emmanuel Adebayo
Flag of United Kingdom of Great Britain and Northern Ireland image

This is a related to permission, please check the following.

Check the path for ASP cache by running the command below

%windir%\system32\inetsrv\appcmd list config -section:system.webServer/asp

Ensure the path exists (from above):

mkdir "%SystemDrive%\inetpub\temp\ASP Compiled Templates"

A subdirectory or file C:\inetpub\temp\ASP Compiled Templates already exists.

Ensure the permissions include NETWORK SERVICE:

icacls "%SystemDrive%\inetpub\temp\ASP Compiled Templates" /grant "NETWORK SERVICE:(OI)(CI)(M)"

http://theether.net/kb/100127

Regards
Avatar of ameriaadmin

ASKER

new error after this steps

Log Name:      Application
Source:        Active Server Pages
Date:          25/03/2014 11:13:00
Event ID:      21
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SRV-AB-BC1
Description:
Failed to retrieve the Anonymous User Token for ASP Application /LM/W3SVC/1/ROOT/ASCBSRV.  Global.ASA OnEnd routines will not be executed.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Active Server Pages" />
    <EventID Qualifiers="49152">21</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-25T07:13:00.000000000Z" />
    <EventRecordID>132071</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SRV-AB-BC1</Computer>
    <Security />
  </System>
  <EventData>
    <Data>/LM/W3SVC/1/ROOT/ASCBSRV</Data>
  </EventData>
</Event>




Log Name:      Application
Source:        Microsoft-Windows-IIS-W3SVC-WP
Date:          25/03/2014 11:13:04
Event ID:      2264
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      SRV-AB-BC1
Description:
The directory specified for caching compressed content C:\inetpub\temp\IIS Temporary Compressed Files\Classic .NET AppPool is invalid.  Static compression is being disabled.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-IIS-W3SVC-WP" Guid="{670080D9-742A-4187-8D16-41143D1290BD}" EventSourceName="W3SVC-WP" />
    <EventID Qualifiers="32768">2264</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-03-25T07:13:04.000000000Z" />
    <EventRecordID>132072</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>SRV-AB-BC1</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="Directory">C:\inetpub\temp\IIS Temporary Compressed Files\Classic .NET AppPool</Data>
    <Binary>03000000</Binary>
  </EventData>
</Event>
This is related to your config.

Check the Applicationhost.config  and set the value below, This is set to true by default in IIS7 and above.


 <asp runOnEndAnonymously="false">

Regards
where can i put this line?
ASKER CERTIFIED SOLUTION
Avatar of ameriaadmin
ameriaadmin
Flag of Armenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it is not a solution for problem, but i have no problems with new system.
please close the question