Server Error in '/' Application (stuck)

Last post 02-20-2008 10:59 PM by Vince Xu - MSFT. 6 replies.

Sort Posts:

  • Server Error in '/' Application (stuck)

    02-19-2008, 9:45 AM

    Getting this error right off the bat, brand new system setup with w3k all patchs, latest framework .net 2.0(for testing purposes) i can't seem to get pass this any suggestions?

    I already tried changing the web.config file and nothing happens same error.


    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>
     
  • Re: Server Error in '/' Application (stuck)

    02-19-2008, 9:58 AM
    • Loading...
    • ecbruck
    • Joined on 12-30-2005, 2:39 PM
    • Des Moines, IA
    • Posts 7,995
    • Moderator
      TrustedFriends-MVPs

    Did you do exactly as this error tells you to do? You need to make sure you set the customErrors mode attribute to "Off" so that you can see the error. Your error is being masked right now.

    Thanks, Ed

    Microsoft MVP - ASP/ASP.NET

  • Re: Server Error in '/' Application (stuck)

    02-19-2008, 10:12 AM

     thanks for the quick response, here is the file after i changed the settings;

     

    <?xml version="1.0"?>
    <!--
        Note: As an alternative to hand editing this file you can use the
        web admin tool to configure settings for your application. Use
        the Website->Asp.Net Configuration option in Visual Studio.
        A full list of settings and comments can be found in
        machine.config.comments usually located in
        \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
        <appSettings/>
        <connectionStrings/>
        <system.web>
            <!--
                Set compilation debug="true" to insert debugging
                symbols into the compiled page. Because this
                affects performance, set this value to true only
                during development.

                Visual Basic options:
                Set strict="true" to disallow all data type conversions
                where data loss can occur.
                Set explicit="true" to force declaration of all variables.
            -->
            <compilation debug="false" strict="false" explicit="true" />
            <pages>
                <namespaces>
                    <clear />
                    <add namespace="System" />
                    <add namespace="System.Collections" />
                    <add namespace="System.Collections.Specialized" />
                    <add namespace="System.Configuration" />
                    <add namespace="System.Text" />
                    <add namespace="System.Text.RegularExpressions" />
                    <add namespace="System.Web" />
                    <add namespace="System.Web.Caching" />
                    <add namespace="System.Web.SessionState" />
                    <add namespace="System.Web.Security" />
                    <add namespace="System.Web.Profile" />
                    <add namespace="System.Web.UI" />
                    <add namespace="System.Web.UI.WebControls" />
                    <add namespace="System.Web.UI.WebControls.WebParts" />
                    <add namespace="System.Web.UI.HtmlControls" />
                </namespaces>
            </pages>
            <!--
                The <authentication> section enables configuration
                of the security authentication mode used by
                ASP.NET to identify an incoming user.
            -->
            <authentication mode="Windows" />
           
            <customErrors mode="off"/>
        </system.web>
    </configuration>

     Thanks.

  • Re: Server Error in '/' Application (stuck)

    02-19-2008, 10:15 AM
    • Loading...
    • ecbruck
    • Joined on 12-30-2005, 2:39 PM
    • Des Moines, IA
    • Posts 7,995
    • Moderator
      TrustedFriends-MVPs

    You should now see a more explicit error when you run your site.

    Thanks, Ed

    Microsoft MVP - ASP/ASP.NET

  • Re: Server Error in '/' Application (stuck)

    02-19-2008, 10:45 AM
    • Loading...
    • rasesh_dave
    • Joined on 05-14-2007, 3:44 PM
    • London
    • Posts 441

     Instead of running the project in debugging mode, try and execute by Ctrl + F5, and see if the error persists!

    Programmers are tools for converting caffeine into code

    Visit my blog
  • Re: Server Error in '/' Application (stuck)

    02-19-2008, 12:32 PM

     If i try to access the site through http://admar.webhop.org/trial i get the same error message even after the changes.

  • Re: Server Error in '/' Application (stuck)

    02-20-2008, 10:59 PM
    Answer

    Hi,

    Based on your description, you have already canged customErrors mode to off in web.config but it's the same still.

    My suggestion is to check if customErrows mode in IIS has been changed,(IIS->your web site->properties->ASP.NET Tab->Edit configuration->custom Errors->mode to off )

    Then you should see the specific errors.

    Hope your feedback.

    Sincerely,
    Vince Xu
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as
    Answer” if a marked post does not actually answer your question.
Page 1 of 1 (7 items)
Microsoft Communities
Page view counter