Tag Archives: failed

RDP failed, and got system event ID 36870 fatal error occurred when attempting to access the SSL server credential private key.

It’s a wired issue.
Port 3389 is open, and can telnet to it. But if try to RDP to the server, the RDP connection will failed immediately.
And in system event log, there is an error message said “Description: A fatal error occurred when attempting to access the SSL server credential private key.”

After investigation, found out this issue was caused by the incorrect file permission were set on files within C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys.

So the fix is, grant system full control access to folder C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys as well as all files within this folder.

aspnet_perf.dll error

After installed MS patch KB947746, in application Logs:

The Open Procedure for service "ASP.NET_2.0.50727" in DLL "C:WINNTMicrosoft.NETFrameworkv2.0.50727aspnet_perf.dll" failed.  Performance data for this service will not be available. Status code  returned is data DWORD 0.

This error generated every 3mins, and the application logs will be full in a few days.

事件查看器上不停的报以下错误:
DLL "C:WINNTGMicrosoft.NETFrameworkv2.0.50727aspnet_perf.dll" 中服务 "ASP.NET" 的打开过程出现故障。 该服务的性能数据将不可使用。返回的状态码 是数据 DWORD 0。

服务器.netframework asp.net2.0每三分钟报错|perflib1008。服务器上每三分钟都会报错:source Perflib ID:1008,请问这个要如何解决呢?

Resolve:

You can create First Counter, Last Counter, etc beneath HKLMSystemCurrentControlSetServicesASP.NET_2.0.50727Performance  by following these steps:

1. cd %WINDIR%Microsoft.NETFrameworkv2.0.50727

2. lodctr.exe aspnet_perf.ini

This should create First Counter, Last Counter, etc.  This is normally done when you run aspnet_regiis.exe /i.

Or

这是由于没有正确安装aspnet的性能计数器的dll文件导致,建议您尝试以下方法修复:
1. 在命令行,输入以下命令卸载mscoree.dll和aspnet_isapi.dll的注册信息。
regsvr32 /u %windir%Microsoft.NETFrameworkv2.0.50727aspnet_isapi.dll
regsvr32 /u %windir%System32mscoree.dll

完成后重启系统。

2. 如果卸载出错,在命令行,定位到C:WINNTMicrosoft.NETFrameworkv2.0.50727目录,运行以下命令:
aspnet_regiis.exe –ua 卸载ASP.NET
aspnet_regiis.exe –I
重新安装  (我的问题用该方法解决)

完成后,重启系统,查看是否还有问题。建议您从添加删除程序删除所有.net framework,然后重启系统,重新安装,看是否还有问题。我意思是重新安装.net framework,这个计数器是由Framework 提供的,重新安装该组件,则可以重新创建计数器。

另外,这是ASP.NET的性能计数器无法使用,但不影响ASP.NET的使用,如果不使用性能计数器,您也可以禁用该计数器,更改以下注册表键值:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesASP.NET_2.0.50727Performance
"Disable Performance Counters"=dword:00000001

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesASP.NETPerformance
"Disable Performance Counters"=dword:00000001