ASPX Error message : Server Error in '/' Application.

Hi there,

I have develped an ASPX page in Visual Web Developer 2005 Express Edition. It worked fine on my local IIS but as soon as I posted that page on internet, it crashed. I have v2.0.5.727 of .Net Frameword and my hosting company has v1.1.4322. Does this matter Does he needs to have framework v2.0 as well I asked him he said version conflict should not be the problem. I think he right about version but he needs to have Framework v2.0, right What should I do about this

Here is the error message :
------------------------------------

Server Error in '/' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>


Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
------------------------------------

I am so frustated. Please help me out.

Thank you in advance.


Answer this question

ASPX Error message : Server Error in '/' Application.

  • sachin vaid

    Thanks for your reply and I think you are right. Is there any way to create application in .Net Framework v.2.0.50727 and upload that file for v.1.1

  • ajjupatna

    Sorry there is not. Web matrix was a free asp.net 1.1 editor. There were alot of changes between asp.net 1.1 and 2.0. I would recommend finding a web host that supports asp.net 2.0

  • Al Pira

    Perfect. Bingo.....It solved my problem.
    Thank you so much.

  • Quacker

    You need a webhost that supports asp.net 2.0 or your application will not work


  • ASPX Error message : Server Error in '/' Application.