Failed to access IIS metabase Hatası ve Çözümü
Posted by duygudemirbas | Posted in Bilgisayar | Posted on 09-05-2012
Etiketler:Failed to access IIS metabase
0
Failed to access IIS metabase hatasını alıyorsanız aşağıdaki çözüm işinize yarayabilir ;
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
The process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC). For information on modifying metabase permissions, please seehttp://support.microsoft.com/?kbid=267904.
Çözüm için
Komut Satırını açın( Başlat->Çalıştır: cmd yazıp enter a basın)
komut satırında ” cd \windows\microsoft.net\framework\v2.0.50727″ yazıp enter a basın
c:\windows\microsoft.net\framework\v2.0.50727
Buradaki c sürücüsü varsayılan sürücü. Sizde farklı olabilir.
v2.0.50727 ise yüklü olan framework versiyonuna göre değişebilir.
“c:\windows\microsoft.net\framework\v2.0.50727 ” klasörü altında kullanıcı adınıza iis metabase erişim hakkı verin.
aspnet_regiis -ga [kullanıcı adı]
sonrada aşağıdaki satır ile ASP.NET i bir daha yükleyin
aspnet_regiis -i
[kullanıcı adı] yerine ASPNET yazarak deneyebilirsiniz.
Ya da kendi kullanıcılarınızı öğrenmek için Denetim Masası / Kullanıcı Hesapları bölümüne bakabilirsiniz :









