Solved

IIS 7.5 error

Posted on 2014-03-24
7
2,766 Views
Last Modified: 2014-06-16
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>
0
Comment
Question by:ameriaadmin
  • 4
  • 2
7 Comments
 
LVL 17

Expert Comment

by:Emmanuel Adebayo
ID: 39952455
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
0
 

Author Comment

by:ameriaadmin
ID: 39952527
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>
0
 
LVL 17

Expert Comment

by:Emmanuel Adebayo
ID: 39952644
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
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 

Author Comment

by:ameriaadmin
ID: 39952793
where can i put this line?
0
 

Expert Comment

by:StalkerX
ID: 40058687
0
 

Accepted Solution

by:
ameriaadmin earned 0 total points
ID: 40126720
i have remove the iis 7.5 install new os (windows 2012) and iis 8. now my systems works fine.
the problem with iis 7.5 did not solved
0
 

Author Closing Comment

by:ameriaadmin
ID: 40136452
it is not a solution for problem, but i have no problems with new system.
please close the question
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
It’s a strangely common occurrence that when you send someone their login details for a system, they can’t get in. This article will help you understand why it happens, and what you can do about it.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now