Situatie
Aceasta este o problema cu dll-ul: “apnet_perf.dll” care apartine de .NET Framework 2.0
Solutie
Pasi de urmat
Prima metoda de rezolvare este descarcarea si instalarea ultimei versiuni de Framework
Daca instalarea unui nou framework nu rezolva problema putem rula ASP.NET IIS Registration Tool
- Navigam in (%WINDIR%Microsoft.NET<versiunea de framework>) si rulam comanda :
aspnet_regiis.exe -i
- Daca aceasta comanda raporteaza o eroare citim log-ul erorii pentru a identifica problema. Exemplu:
D:WINNTMicrosoft.NETFrameworkv2.0.50727>aspnet_regiis.exe -i Start installing ASP.NET (2.0.50727). ............. Finished installing ASP.NET (2.0.50727). Setup has detected some errors during the operation. For details, please read the setup log file D:DOCUME~1FWTLABBLOCALS~1TempASPNETSetup_00006.log
Daca nici unul din pasii anerori nu functioneaza putem incerca:
- Verificam registrii si stabilim daca au informatiile corecte privind unde se afla instalat aspnet_perf.dll:
HKLMSYSTEMCurrentControlSetServices ASP.NET_2.0.50727PerformanceLibrary
- Indeplinim urmatorii pasi in CMD:
net stop iisadmin /y
net stop "remote registry"
unlodctr ASP.NET_2.0.50727 unlodctr ASP.NET_64_2.0.50727 unlodctr ASP.NET
Dupa aceea din folderul v2.0.50727 rulam aceste comenzi din folderele Framework64 si Framework:
lodctr aspnet_perf.ini
lodctr aspnet_perf2.ini
Dam restart la IIS: net start iisadmin
Verificam urmatorul registru pentru a observa daca a aparut ceva nou
-
HKLMSYSTEMCurrentControlSetServices ASP.NET_2.0.50727Names
-
HKLMSYSTEMCurrentControlSetServices ASP.NET_64_2.0.50727Names
Daca nici acum problema nu este remediata adaugam urmatoarele comenzi in CMD atunci cand le rulam pe cele de mai sus:
unlodctr ".NETFramework" unlodctr ".NET CLR Data" unlodctr ".NET CLR Networking" regsvr32 /u C:WINNTMicrosoft.NETFrameworkv2.0.50727aspnet_perf.dll regsvr32 /u C:WINNTsystem32mscoree.dll regsvr32 C:WINNTMicrosoft.NETFrameworkv2.0.50727aspnet_perf.dll regsvr32 C:WINNTsystem32mscoree.dll Din Dosarele Framework64 si Framework mai rulam in plus:
lodctr CORPerfMonSymbols.ini lodctr _dataperfcounters.ini lodctr _NetworkingPerfCounters.ini
Daca nici acum probleme cu dll-ul nu este rezolvata si avem instalat Microsoft Security Bulletin MS07-040 – Critical apelam la Microsoft Support
Leave A Comment?