Solved

Active Server Page Error

Posted on 2004-04-05
4
1,540 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 250 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

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