?
Solved

IIS 7.5 error

Posted on 2014-03-24
7
Medium Priority
?
3,188 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 18

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 18

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
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 

Author Comment

by:ameriaadmin
ID: 39952793
where can i put this line?
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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

718 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