Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Active Server Page Error

Posted on 2004-04-05
4
Medium Priority
?
1,544 Views
Last Modified: 2012-06-27
Here is the message as reported in the event viewer:

"Event Source:      Active Server Pages
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."

I've tried uninstalling and reinstalling IIS and modifying the permissions ( per Microsoft Knowledge Base Article - 332097 ) with no luck.

Thank you,
Mike Larson  


0
Comment
Question by:Mikejl
  • 2
4 Comments
 
LVL 16

Accepted Solution

by:
JamesDS earned 1000 total points
ID: 10764019
Mikejl

If you're running a certificate authority on IIS. You will need to set the manual permissions settings described in http://support.microsoft.com/?id=332097

on the additional directory "%systemroot%\system32\CertSrv"

Cheers

JamesDS
0
 

Expert Comment

by:RoniH
ID: 10921769
Okay.  I'm having the same issue.  I've tried the stuff in Q332097, but the messages still won't go away.  Any other ideas, besides removing IIS from the server, which I'll try a little later on.

Thanks,

Roni Hourihane
0
 
LVL 16

Expert Comment

by:JamesDS
ID: 10925533
RoniH
This question is closed. please post a new question in the relevant area

Cheers

JamesDS
0
 

Expert Comment

by:mmccally
ID: 11155178
This answer resides in the fact that the Microsoft’s default set up within IIS uses the "Local Service" account instead of the "Network Service" account located in the “DefaultAppPool” properties as described in their own “Q” Articles.
Here is a summary of the problem and what we did to resolve it.

Problem:
================
Windows 2003 Server- promoted to be a domain controller running IIS started getting the following errors:
            Event Type:   Error
            Event Source:            Active Server Pages
            Event Category:         None
            Event ID:         5
            Date:               x/x/2004
            Time:              7:55:24 AM
            User:               N/A
            Computer:       SERVERNAME
            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.

Solution:
===============
We applied Q842493, and Q332097.  In addition, we configured the identity running the default application pool “DefaultAppPool” properties within IIS Manage so that it ran, as one of the identities that we had specifically, ACL’d while following the “Q” article instructions.  (we used “Network Service” account instead of the default “Local Service” account) This appeared to cause the errors above to cease.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

926 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