URL Rewrite causing AJAX error to appear

Discussion in 'Windows / IIS' started by grgrosso, Mar 5, 2010.

  1. I had posted a thread explaining an error that I was getting with 'sys' is undefined and the AJAX framework not loading as it should on the "live" server there at DiscountASP.net. After some hunting around for a solution, and trying some things to solve the issue I got lucky - well sort of - to stumble upon the apparent cause of the above error.

    Recently, I employed your URL Rewrite module so I could use it to rewrite extensionless urls for my site at http://forsalebyowner-max.com. I want my visitors to be able to view ads directly by using our internal ListingID in the url like this:

    http://www.forsalebyowner-max.com/ABC12345

    which would take them to our ViewAd.aspx page to see the ad number ABC12345 directly. Simple enough, and the URL Rewrite module did the job. The problem is that it also causes an "AJAX framework failed to load" error when the required rewrite section is present in my web.config file.

    Any ideas on how I can get this to work so I can have both the URL Rewrite capability and use AJAX on my web site?

    Thanks,
    George
     

Share This Page