500 - Internal server error hatasının çözümü nedir? Show
Aşağıdaki çözüm yazılım geliştiriciler için yapılması gerekenleri anlatmaktadır. Normal bir kullanıcıysanız ve bir web sitesinde karşınıza 500 - Internal server error hatası geliyorsa bu durumda hata sunucu taraflıdır, yani sizin hatayı çözmeniz mümkün değildir. Hatayı web sitesinin sahibinin düzeltmesi gerekir. 500 - Internal server error hatası nasıl çözülür? IIS üzerinde çalışan web sitelerinde 500 - Internal server error hatası sıkça karşılaşılan bir hata mesajıdır. Aslında 500 - Internal server error hatası kapalı bir hata mesajıdır. Yani hatanın nerede olduğu güvenlik açısından gizlenmiş durumdadır. Bu olası web.config hatalarında kullanıcılar tarafından görülmemesi gereken satırların ekrana basılmasını, yine kod içerisinde gizli kalması gereken satırların hata yüzünden tüm kullanıcılara servis edilmesinin önüne geçer. 500 - Internal server error hatasının çözümü için ilk önce web.config dosyası üzerinden hata detayını ekrana yazdırmak gerekir. Hata detayını ekrana yazdırmak için web.config dosyanızı şu şekilde düzenleyin: IIS 6 kullanıyorsanız; IIS 7, IIS 7.5, IIS 8.5 kullanıyorsanız; <configuration> <system.webServer> <httpErrors errorMode="Detailed" /> </system.webServer> <system.web> <customErrors mode="Off"/> </system.web> </configuration>olarak web.config dosyanızı düzenleyin. Bu işlemden sonra ekrana gelecek hata mesajı şu şekilde değişecektir: HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information: Module DefaultDocumentModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x800700b7 Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'value' set to 'index.aspx' Config File \\?\D:\vhosts\uzmanim.net\httpdocs\web.config Requested URL http://www.uzmanim.net:80/ Physical Path D:\vhosts\uzmanim.net\httpdocs Logon Method Anonymous Logon User Anonymous Config Source: 93: <files> 94: <add value="index.aspx" /> 95: </files>Bu hata mesajında hata web.config dosyasındaki illegal bir yapılandırmadan kaynaklanmaktadır. Config source bölümünde hataya sebep olan satır görüntülenmektedir. Bu satırın düzenlemesi ile sorun giderilecektir. 500 - Internal server error hatası kapalı bir hata mesajıdır. Hatanın çözümü için mutlaka detaylı hesa mesajı görüntülenmeli ve bu doğrultuda işlem yapılmalıdır Örneğin uygulamanız .Net Framework 4 gerektirirken sizin yapılandırmanız .Net Framework 2.0 ise o zaman yine karşınıza 500 - Internal server error hatası çıkar. Hata detayını açtığınız zaman karşınıza Server Error in '/' Application. Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Unrecognized attribute 'targetFramework'. Note that attribute names are case-sensitive. Source Error: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Source File: D:\vhosts\uzmanim.net\httpdocs\web.config Line: 42 Version Information: Microsoft .NET Framework Version:2.0.50727.8009; ASP.NET Version:2.0.50727.8015gibi tamamen farklı bir hata mesajı çıkar. Yukarıdaki örneklerde görüldüğü gibi 500 - Internal server error hatasını çözmek için ilk adım web.config dosyası üzerinden hata detayını açmak olmalı sonra da alınan hataya göre bir yaklaşım gerçekleştirilmelidir. alattin (16449)5 yıl önce cevaplandı
Answers
How do you solve There is a problem with the resource you are looking for and it Cannot be displayed?There is a problem with the resource you are looking for, and it cannot be displayed. To resolve this issue, set the Enable 32-bit Applications to "False": Open the Internet Information Services (IIS) Manager. Select Application Pools.
How do I fix HTTP error 500 IIS?The error 500.19 is an internal server error often occurring on a server using Microsoft IIS software. It indicates that the configuration data for the page is invalid. To solve the issue, delete the malformed XML element from the Web. config file or from the ApplicationHost.
What does 500 Internal server error There is a problem with the resource you are looking for and it Cannot be displayed?A 500 internal server error is, as the name implies, a general problem with the website's server. More than likely, this means there's an issue or temporary glitch with the website's programming. Some potential causes of a 500 internal server error include: Corrupted or broken .
Why do I keep getting 500 internal server error?The 500 Internal Server error could be caused by an error during the execution of any policy within Edge or by an error on the target/backend server. The HTTP status code 500 is a generic error response. It means that the server encountered an unexpected condition that prevented it from fulfilling the request.
|