No .NET pages working

Hi all,

I'm trying to get a .NET app to work, but any time I run any file with an aspx extension, I get an "Server Error in '/' Application" message. I can't even get a simple "Hello World" to appear. Is there something I need to configure on the server??

Any advice/help is appreciated.
 
I suspect that your hosting is set to the wrong asp.net version. You probably want it set to version 2. You're supposed to be able to set that in Hsphere but I just looked at a couple of mine which I know are version 2 but the dropdown says version 1. Either the dropdown always defaults to version 1 regardless of the current setting or only support staff can change it.

If it's not that then try setting customErrors mode="Off" in your web.config. That won't fix it but it should give you a better idea of what's happening. If you do that and it still gives no useful info then I think the version is wrong.
 
Your web.config could also be in error making the problems regardless of the .aspx code content.
 
Back
Top