I have switched to a new server and all of a sudden all my sites have stopped working.
Trying to simply the sites to narrow down the error I have found that a blank page with a code behind file (also empty) will not run. The page is helpfully only giving the runtime error message saying to put customerrors = "Off" in web.config but if I put any form of web.config file up I get the same error even with a page that runs fine without a default config file.
If I put my code in the file rather than code behind then the code operates (assuming there is no web.config file etc)
Any ideas anyone?
have you verified that the new webserver is set to asp.net 2.0? also, you should turn customerrors to off so you can see the actual error. that would be helpful (or if you can remote in, you will see the error if you run localhost.)
I tried turning custom errors off and it made no difference.
I found out that contrary to them saying it is 2.0 the machine actually only has 1.1 installed on it.
0 comments:
Post a Comment