Şimdi Ara

unauthorizedaccessexception access to the path is denied c# Acill Yardım

Daha Fazla
Bu Konudaki Kullanıcılar: Daha Az
2 Misafir - 2 Masaüstü
5 sn
3
Cevap
0
Favori
1.499
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • unauthorizedaccessexception access to the path is denied c# hatası dosyaya resim eklerken.Kendi bilgisayarımda çalıstırdığımda sorun yok ama publish edince böyle bi hata alıyorum

    Access to the path 'C:\Inetpub\vhosts\yildizsigorta.net\httpdocs\img\Tulips.jpg' is denied.

    ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

    To grant ASP.NET access to a file, right-click the file in File Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.



    < Bu mesaj bu kişi tarafından değiştirildi manga_p2 -- 22 Nisan 2017; 14:46:32 >







  • Hatada zaten yazmış her şeyi hatta yapman gerekeni bile yazmış.

    C:\Inetpub\vhosts\ klasöründe yildizsigorta.net klasörüne sağ tıkla, özelliklerine gir güvenlik kısmında Düzenle' ye bas. Daha sonra açılan ekranda Ekle' ye bas ve arama kutusunda 'Everyone' yaz. Tırnakları dikkate almadan. Sonra adları denetle ve tamam' a bas. İzinler kısmında Everyone kısmında Tüm yetkilere izin ver.

    Tamamdır.
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.