I am using Rewriting URLs with an ASP.NET website that does not use MVC. The site is working fine, and until today I had no problems when I started to get 2 errors. According to FireBug, both errors are on line 3 of WebResource.axd. This is the first line of code in the files, and the line only has the following:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
How can i solve this? I donβt really like it.
In addition, I use RouteCollection and IRouteHandler. The site I used for guidance was http://www.4guysfromrolla.com/articles/051309-1.aspx . The only real changes that I made, I added 2 more links on my page that I did not create routes, but I never clicked on any of these links.
Since then, I have set 2 links, and the page worked fine for about an hour, and then again started throwing an error, and this time there seemed to be no rhymes or reasons for this. My biggest problem is that it makes no sense. The syntax error in the first line seems to be an odd error.
source share