Plesk for Windows
kb: technical
ABT: Group A
Applicable to:
- Plesk 12.0 for Windows
症状
ASP
ウェブサイトに
内部サーバエラー
が表示されます。
イベントビューア
の
アプリケーションログ
に、以下のエラーが記述されています。
The Template Persistent Cache initialization failed for Application Pool 'domain.tld(domain)(2.0)(pool)' because of the following error: Could not create a Disk Cache Sub-directory for the Application Pool. The data may have additional error codes.
原因
不足しているシステムフォルダがあるか、パーミッションが正しくありません。
解決策
-
Microsoft solution center
に従ってソリューションを適用します。 -
ASP
キャッシュのパスを確認します。%windir%\\system32\\inetsrv\\appcmd list config -section:system.webServer/asp
<system.webServer>
<asp>
<session />
<comPlus />
<cache diskTemplateCacheDirectory="%SystemDrive%\\inetpub\ emp\\ASP Compiled Templates" />
<limits />
</asp>
</system.webServer>-
上記のパスが存在することを確認します。
mkdir "%SystemDrive%\inetpub\ emp\ASP Compiled Templates"
A subdirectory or file C:\inetpub\ emp\ASP Compiled Templates already exists.4. パーミッションに
NETWORK SERVICE
が含まれていることを確認します。icacls "%SystemDrive%\inetpub\ emp\ASP Compiled Templates" /grant "NETWORK SERVICE:(OI)(CI)(M)"
processed file: C:\inetpub\ emp\ASP Compiled TemplatesSuccessfully processed 1 files; Failed processing 0 files5.
IIS
サービスを再起動します。iisreset
-
コメント
0件のコメント
サインインしてコメントを残してください。