Error 500 Web.config
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Deploying website: 500 - Internal server error up vote 98 down vote favorite 36 I am trying to deploy an ASP.NET application. I have deployed the site to IIS, but when visiting it with the browser, it shows me this: Server Error 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. After fiddling around with the web.config, I now get: The page cannot be displayed because an internal server error has occurred. How can I see the actual issue behind this server error? asp.net iis error-handling share|improve this question edited Jan 9 '14 at 15:42 Aristos 51.1k978117 asked Mar 22 '11 at 1:22 Jakub Jedryszek 2,16362435 1 Make sure you have the wildcard mapping in place for MVC application on the directory... –sajoshi Mar 22 '11 at 4:11 add a comment| 16 Answers 16 active oldest votes up vote 180 down vote accepted First, you need to enable and see detailed errors of your web messages, because this is a general message without giving information on what's really happening for security reasons. With the detailed error, you can locate the real issue here. Also, if you can run the browser on the server, you get details on the error, because the server recognizes that you are local and shows it to you. Or if you can read the log of the server using the Event Viewer, you also see the details of your error. On IIS 6
Web Platform Installer Get Help: Ask a Question in our Forums More Help Resources Blogs Forums Home IIS.NET Forums IIS 7 and Above Troubleshooting Presence of ANY web.config causes Error 500 Presence of ANY web.config causes Error 500 RSS 7 replies Last post Nov 25, 2014 02:43 PM by nnhamble ‹ Previous Thread|Next Thread › Print Share Twitter Facebook Email Shortcuts Active Threads Unanswered Threads Unresolved Threads Advanced Search Reply sloop john b 4 Posts Presence of ANY web.config causes Error 500 Aug 26, 2012 07:07 AM|sloop john b|LINK Just installed webserver 2008 r2 with default IIS7 out of the box. When I make a new website (only html pages)and customise the start page settings in the IIS Manager, http://stackoverflow.com/questions/5385714/deploying-website-500-internal-server-error by default a web.config file is created in the site. The only thing in the web.config is the appropriate entries for start page. Without the web.config file - all pages display accurately With the web.config file - Error 500 displays - delete the web.config file and all works again Can anyoune suggest where I can go from here in order to get a site working with a web.config file Many many thanks for your help. John web.config https://forums.iis.net/t/next/1219166 causes Error 500 IIS7 web.config Reply peterviola 735 Posts Re: Presence of ANY web.config causes Error 500 Aug 26, 2012 08:55 AM|peterviola|LINK Hi, It sounds like asp.net is not installed. I would double check the IIS installation: http://learn.iis.net/page.aspx/29/installing-iis-7-and-above-on-windows-server-2008-or-windows-server-2008-r2/ Peter Viola MCTIP SA, EST, DBA 2008 MCSA Windows Server 2012 Please 'Mark as Answer' if this post helps you. www.peterviola.com Reply sloop john b 4 Posts Re: Presence of ANY web.config causes Error 500 Aug 26, 2012 04:58 PM|sloop john b|LINK Many thnaks .net 3.5 is reported as installed Trying upgrade to IIS 7.5 and .net 4 Regards John Reply sloop john b 4 Posts Re: Presence of ANY web.config causes Error 500 Aug 26, 2012 05:16 PM|sloop john b|LINK Upgrade too 7.5 and .net 4 made no difference. Any ideas? Regards John Reply Lloydz 2318 Posts Re: Presence of ANY web.config causes Error 500 Aug 30, 2012 03:03 AM|Lloydz|LINK Could you please enable detailed error information and post the entire error information here: Open IIS manager -> Expand Sites, click your site -> Double click error page -> Click Edit feature settings... -> Select detailed errors Also ensure you have disableddisplayfriendly error message in browser settings. Thanks. Reply sloop john b 4 Posts Re: Presence of ANY web.config causes Error 500 Aug 30, 2012 07:59 AM|sloop john b|LINK Hi Thanks for the instructions. I did as
Sign in Pricing Blog Support Search GitHub This repository Watch 113 Star 1,242 Fork 251 tjanczuk/iisnode Code Issues 139 https://github.com/tjanczuk/iisnode/issues/172 Pull requests 10 Projects 0 Wiki Pulse Graphs New issue 500 https://support.microsoft.com/en-us/kb/949350 - Internal server error, if handlers in web.config #172 Open xscav opened this Issue Jun 9, 2012 · 18 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 8 participants xscav commented Jun 9, 2012 Windows error 500 Server Core 2008 R2 Datacenter x64 IIS 7.5 iisnode-full-iis7-v0.1.19.0-x64.msi 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. So, in detail. When i try open a page, placed in a folder, where there is a file 'web.config', with
360 games PC games Windows games Windows phone games Entertainment All Entertainment Movies & TV Music Business & Education Business Students & educators Developers Sale Sale Find a store Gift cards Products Software & services Windows Office Free downloads & security Internet Explorer Microsoft Edge Skype OneNote OneDrive Microsoft Health MSN Bing Microsoft Groove Microsoft Movies & TV Devices & Xbox All Microsoft devices Microsoft Surface All Windows PCs & tablets PC accessories Xbox & games Microsoft Lumia All Windows phones Microsoft HoloLens For business Cloud Platform Microsoft Azure Microsoft Dynamics Windows for business Office for business Skype for business Surface for business Enterprise solutions Small business solutions Find a solutions provider Volume Licensing For developers & IT pros Develop Windows apps Microsoft Azure MSDN TechNet Visual Studio For students & educators Office for students OneNote in classroom Shop PCs & tablets perfect for students Microsoft in Education Support Sign in Cart Cart Javascript is disabled Please enable javascript and refresh the page Cookies are disabled Please enable cookies and refresh the page CV: {{ getCv() }} English (United States) Terms of use Privacy & cookies Trademarks © 2016 Microsoft