Solved

IIS 7.5 error

Posted on 2014-03-24
7
2,726 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 16

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 16

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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
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…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

706 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

20 Experts available now in Live!

Get 1:1 Help Now