嗨,谢谢你的帮助。我们试图在WS 2008 R2标准服务器上保持Sitecore站点正常运行,但仍会遇到以下例外情况:
System.Security.Cryptography.CryptographicException 该站点被设置为在自己的App中运行,所选的2.0框架版本和集成管道模式。 该站点将运行良好几分钟,但随后应用程序池将停止使用以下详细信息: “由于为应用程序池提供服务的进程(Es)出现了一系列故障,应用程序池'######‘将被自动禁用。” 检查应用程序日志显示如下: 出现未处理的异常,进程被终止。 应用程序ID: /LM/W3SVC/4/ROOT 进程ID: 5156 例外: System.Security.Cryptography.CryptographicException 消息:系统找不到指定的路径。 (在System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)在System.Security.Cryptography.SafeKeyHandle._FreeHKey(IntPtr pKeyCtx)在System.Security.Cryptography.SafeKeyHandle.ReleaseHandle() at System.Runtime.InteropServices.SafeHandle.InternalFinalize() at System.Runtime.InteropServices.SafeHandle.Dispose(Boolean System.Runtime.InteropServices.SafeHandle.Finalize() )
我发现的一个站点上的提示说,要确保该站点正在运行的帐户是我所做的密码运算符组的成员。可悲的是,该网站继续失败。
任何帮助都将不胜感激。谢谢!
编辑
在实现了下面的第一个答案之后,我再次查看了服务器应用程序日志,看起来每次应用程序池下降时,首先会发生以下警告:
其他应用程序或服务仍在使用检测到的注册表文件。文件现在将被卸载。保存注册表文件的应用程序或服务之后可能无法正常工作。事件1530,用户配置服务细节-从\Registry\User\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965:进程泄漏的2个用户注册表句柄3260 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965进程3260 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\注册表\ User \S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Policies\Microsoft\SystemCertificates
另一个例子是:
其他应用程序或服务仍在使用检测到的注册表文件。文件现在将被卸载。保存注册表文件的应用程序或服务之后可能无法正常工作。详细信息-从\Registry\User\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965:进程泄漏的13个用户注册表句柄5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\注册表\ user \S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\TrustedPeople进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\trust进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\注册表\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\Windows NT\CurrentVersion进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Policies\Microsoft\SystemCertificates进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\注册表\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\Root进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\SmartCardRoot进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\软件\微软\系统证书\我的进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\CA进程5228 (\Device\HarddiskVolume3\Windows\System32\inetsrv\w3wp.exe)已打开密钥\REGISTRY\USER\S-1-5-82-3231641130-1035467585-39029555-2466166849-1382764965\Software\Microsoft\SystemCertificates\Disallowed
发布于 2010-08-17 17:58:47
这可能会有帮助:在Windows 7‘S IIS上运行Sitecore 6。
它基本上是说在你的global.asax中添加这个
public void Application_Start() {
System.Security.Cryptography.RSACryptoServiceProvider.UseMachineKeyStore = true;
System.Security.Cryptography.DSACryptoServiceProvider.UseMachineKeyStore = true;
}发布于 2014-11-20 14:59:32
将应用程序池设置为4.0框架解决了这个问题。
https://stackoverflow.com/questions/3504760
复制相似问题