Error The Template Persistent Cache Initialization Failed For Application
Contents |
Case Study Proactive I.T. Services MCB Proactive Watch MCB Proactive Care I.T. Services Comparison I.T. Services Case Study Consulting Approach About Contact User Blog Tech Blog Home \ Blog \Template Persistent Cache Error with error the template persistent cache initialization failed for application pool 'defaultapppool' Classic ASP under IIS 7 Template Persistent Cache Error with Classic ASP the template persistent cache initialization failed for application pool 'defaultapppool' because under IIS 7 Mark Berry July 21, 2010 I installed a classic ASP application on my SBS 2008 server could not create a disk cache sub-directory for the application pool (see Moving Liberum Help Desk to SQL 2005 Express). When accessing the application from a browser, the following message is generated in the server’s Application event log: Log Name: Application Source: could not create a disk cache subdirectory for the application pool iis 7 Active Server Pages Event ID: 5 Level: Error Description: Error: The Template Persistent Cache initialization failed for Application Pool ‘My Classic ASP App’ because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes. Find the ASP Compiled Templates Folder There are several articles, including MSKB 332097, that say you have
Asp Compiled Templates
to give NETWORK SERVICE Full Control of the ASP Compiled Templates folder. But where is that folder. Most articles refer to Windows Server 2003, and it’s moved under Server 2008. This article has a great trick to locate the folder: type the following at an elevated command prompt: %windir%\system32\inetsrv\appcmd list config -section:system.webServer/asp On my machine, that returned the following:
360 games PC games
Active Server Pages Event Id 5
Windows games Windows phone games Entertainment All Entertainment procmon Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet http://www.mcbsys.com/blog/2010/07/template-persistent-cache-error-with-classic-asp-under-iis-7/ Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All https://support.microsoft.com/en-us/kb/332097 Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft
Us Facebook Twitter Google + LinkedIn Newsletter Instagram YouTube DirectoryNetwork InfrastructureWAN, Routing and Switching LAN, Switching and Routing Network Management Remote Access Optical Networking https://supportforums.cisco.com/discussion/11278136/unity-80-error-template-persistent-cache-initialization-failed-application-pool Getting Started with LANs IPv6 Integration and Transition EEM Scripting http://stackoverflow.com/questions/6955429/classic-asp-an-error-occurred-when-verifying-security-for-the-message-iis7-tr Other Subjects SecurityVPN Security Management Firewalling Intrusion Prevention Systems/IDS AAA, Identity and NAC Physical Security MARS Email Security Web Security Other Subjects Service ProvidersMetro MPLS Voice Over IP XR OS and Platforms Video Other Subjects Collaboration, Voice and VideoIP Telephony application pool Video Over IP Jabber Clients Unified Communications Applications TelePresence Digital Media System Contact Center Conferencing UC Migrations Other Subjects Wireless - MobilitySecurity and Network Management Wireless IP Voice and Video Getting Started with Wireless WLCCA Other Subjects ServicesCisco ServiceGrid Connected Analytics Smart Call Home Smart Net Total Care Operations Exchange Mobile the template persistent ApplicationsCisco Proximity Cisco Technical Support Online Tools and ResourcesCisco Bug Discussions Technical Documentation Ideas Cisco CLI Analyzer Support Community Help Data CenterApplication Centric Infrastructure Application Networking Intelligent Automation Server Networking Storage Networking Unified Computing Wide Area Application Services (WAAS) Other Subjects Small BusinessNetwork Storage Routers Security Surveillance Switches Voice and Conferencing Wireless Solutions and ArchitecturesBorderless Networks Collaboration Cisco User GroupsSeattle Cisco User Group (SEACUG) Silicon Valley Cisco User Group (SVCUG) Southern California Cisco User Group (SCCUG) Cisco Certifications Cisco.com Idea Center Cisco Cafe Expert CornerTop Contributors Leaderboards Cisco Live! Events Events Community CornerAwards & Recognition Behind the Scenes Feedback Forum Cisco Certifications Cisco Press Café Cisco On Demand Support & Downloads Community Resources Security Alerts Security Alerts News News Video Cisco Support YouTube Cisco YouTube Blogs Technical Documentation Cisco Products Products Services Services Solutions Solutions Global Support Numbers Cisco Support Community Directory Network Infrastructure WAN, Routing and Switching LA
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Classic asp “An error occurred when verifying security for the message.” iis7 transport level security up vote 2 down vote favorite 1 On II7 we host a WCF/asp.net based API. In order to allow users of a classic asp application to connect to the API we had to publish a version we refer to as "transport". This Transport version is written in asp.net too, it points to the same assembly , its just the security layer is different to allow classic asp to authenticate. Transport level security is used as opposed to message based security. When using a browser to load the service reference i can loading the svcutil.exe ... WDSL page. When using my test asp page to call a web method from this reference i get the following returned: Finished calling Web Service. Status = Internal Server Error ResponseText = a:InvalidSecurityAn error occurred when verifying security for the message. This suggests that the authentication is failing. When testing using asp.net or the application WCF storm to contact the normal API everything works well. The API was recently migrated , it would appear something has not been setup correctly but i am at a loss to explain what. I can browse to the svcutil.exe ... WDSL service reference, when selecting it via the browser i get the expect XML response. The USER NAME and password utilised work when using the non-classic asp publicaiton of the API using the message based secuirty. Would it be possible to post some troubleshooting tip that may help diagnoise the issue please specifically regarding transport level security fault finding and setup ? Thank you Scott EDITED TO ADD THE FOLLOWING UPDATE: Attempted to use the Default App Pool and a new App Pool but same problem persists. My test page error: ResponseText = a:InvalidSecurityAn error occurred when verifying security for the message. IIS LOG shows: v3/transport/testclassicasptransportwcfservice.asp ( 200 0 0 ) (i.e iis 200) /V3/Transport/DeviceService.svc/DeviceService (500 0 0) (i.e iis error 500) note: virtual dir defined on TRANSPORT and V3. V3 works ok using .net as opposed to