Solved

IIS 7.5 error

Posted on 2014-03-24
7
2,835 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

820 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