Showing posts with label Error. Show all posts
Showing posts with label Error. Show all posts

Thursday, January 14, 2016

The Template Persistent Cache initialization failed for Application Pool

Problem:

Log Name: Application
Source: 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.

Solution:


Step 1:
%windir%\system32\inetsrv\appcmd list config -section:system.webServer/asp
Step 2:
Go to location ASP Compiled Templates is under C:\inetpub\temp.
Step 3:
Grant network service full control of the folder.



Source:

  1. http://www.mcbsys.com/blog/2010/07/template-persistent-cache-error-with-classic-asp-under-iis-7/

Wednesday, September 23, 2015

Java library file C:\Users...\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\classes.jar doesn't exist.

Problem:

I installed the Xamarin Android Support Library v7 AppCompat nuget package into my project.  When I go to build it out I get prompted with the error:

C:\Program Files (x86)\MSBuild\Xamarin\Androi\Xamarin.Android.Common.targets(236,2): 
error XA5207: Please install package: 'Android Support Library' available in SDK installer. 
 Java library file C:\Users...\AppData\Local\Xamarin\Android.Support.v4\21.0.3\embedded\classes.jar doesn't exist.

 

Solution:

Delete folder: 21.0.3 (...\AppData\Local\Xamarin\Android.Support.v4\21.0.3)

Source:

http://stackoverflow.com/questions/28437601/error-after-updating-the-android-support-library-v7-appcompat-to-the-21-0-3-vers

Wednesday, August 13, 2014

Powershell cannot be loaded because execution of scripts is disabled on this system.

Everytime I need to run a powershell script I forget to set the ExecutionPolicy

Set-ExecutionPolicy Unrestricted

This will let you run the script without the error. Be warned you do this at the risk of it not being from a trusted source.

Get-ExecutionPolicy

This will tell you what your current session is running at.

Source:
http://technet.microsoft.com/en-us/library/ee176949.aspx