[Troubleshooting] the annoying HTTP 500.19 error in IIS 7.5-URL rewrite Module

Source: Internet
Author: User

Check the nuget source code. After the release, the system always prompts HTTP Error 500.19-internal server error. Most search results point to permission issues. Not solved after a long time. After continuous debugging, it is found that it is caused by the rewrite node in Web. config.

Search for HTTP Error 500.19 rewrite and find this article.

Http://www.confuciussayscode.com /? P = 24

Recently, being given more tasks involving minor administration of sites in IIS, I have ran into several issues that I have had to jump through hoops for in order to get my sites to work.

I just ran into quite an annoying problem that took me some searching to overcome. I want to make sure if anybody else runs into this problem, they do not waste as much time as I do searching for a solution.

My position requires me to look over some already existing sites and often create new ones in the blink of an eye in IIS. in this case, I was asked to create a new instance of a site from one of our development servers to one of our production servers. this seemed simple enough. all I woshould need to do as I have done when other time is copy over the application, and configure its directory and binding in IIS. of course, we were encrypting certain values in the web. config files, but that's beside the point. additionally, our web. config file contained several URL rewrites, which will turn out to be very important.

After initializing the site, and refreshing it I have ED an IIS 500.19 internal server error similar to the following when browsing to the site.

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: IIS Web core notification: Begin request handler: not yet determined error code: 0x8007000d requested URL: http://www.website.com/MyWebSite physical path: C: \ Inetpub \ wwwroot \ mywebsite login method: not yet determined Login User: not yet determined config error config file :\\? \ C: \ Inetpub \ wwwroot \ mywebsite \ WEB. config

Config Source:-1: 0:

After searching Google and several blogs, including the following I was unable to come up with any solution. although, if you are not using rewrites in your web. config, I wocould recommend taking a look at any of the following sites.

  • Troubleshooting HTTP 500.19 errors in IIS 7
  • Internal Server Error with error code 0x8007000d
  • Error messages in IIS 7.0
  • Stackoverflow question on 500.19 with IIS 7.5

None of the proposed fixes said anything about rewrites until I had come into SS this post regarding a missing rewrite module for IIS. it turns out that all along, the development server had the necessary rewrite module installed, but the production server did not. to install the rewrite module, I went to using the URL rewrite module and installed the correct module on the production server. that solved all my problems.

Following this fix, I cant help but feel that IIS shocould work on providing a better environment for diagnosing a problem such as this. it wowould seem fitting that in this event, I was informed that I was missing a required module.

 

Other reference: http://lionsden.co.il/codeden? P = 466

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.