Server Error in '/' Application.

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Matthew Louden

    #1

    Server Error in '/' Application.

    I have no idea what this run-time error about. Any ideas? I already change
    the web.config file for the attribute <customErrors mode="Off"/> but still
    not work.


    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 -->

    <configuratio n>
    <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 "defaultRedirec t" attribute of the application's
    <customErrors > configuration tag to point to a custom error page URL.

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

    <configuratio n>
    <system.web>
    <customErrors mode="RemoteOnl y" defaultRedirect ="mycustompage. htm"/>
    </system.web>
    </configuration>


  • Joshua Flanagan

    #2
    Re: Server Error in '/' Application.

    I usually get this error if I haven't set up the folder as a vroot in the
    IIS Manager yet.


    "Matthew Louden" <jrefactors@hot mail.com> wrote in message
    news:usZzq77jDH A.2160@TK2MSFTN GP10.phx.gbl...[color=blue]
    > I have no idea what this run-time error about. Any ideas? I already change
    > the web.config file for the attribute <customErrors mode="Off"/> but[/color]
    still[color=blue]
    > not work.
    >
    >
    > Server Error in '/' Application.
    >
    >
    > Runtime Error
    > Description: An application error occurred on the server. The current[/color]
    custom[color=blue]
    > error settings for this application prevent the details of the application
    > error from being viewed remotely (for security reasons). It could,[/color]
    however,[color=blue]
    > be viewed by browsers running on the local server machine.
    >
    > Details: To enable the details of this specific error message to be[/color]
    viewable[color=blue]
    > on remote machines, please create a <customErrors > tag within a[/color]
    "web.config "[color=blue]
    > 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 -->
    >
    > <configuratio n>
    > <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 "defaultRedirec t" attribute of the[/color]
    application's[color=blue]
    > <customErrors > configuration tag to point to a custom error page URL.
    >
    > <!-- Web.Config Configuration File -->
    >
    > <configuratio n>
    > <system.web>
    > <customErrors mode="RemoteOnl y"[/color]
    defaultRedirect ="mycustompage. htm"/>[color=blue]
    > </system.web>
    > </configuration>
    >
    >[/color]


    Comment

    • Alvin Bruney

      #3
      Re: Server Error in '/' Application.

      Do you have your virtual directory set up correctly and mapped to the
      correct dir in IIS?
      Is your assembly in a bin folder in the application root? Have you built
      your assembly? Is it referencing a start up page? Are your application pools
      running? Is IIS running? Answering one of those questions will solve your
      problem

      "Matthew Louden" <jrefactors@hot mail.com> wrote in message
      news:usZzq77jDH A.2160@TK2MSFTN GP10.phx.gbl...[color=blue]
      > I have no idea what this run-time error about. Any ideas? I already change
      > the web.config file for the attribute <customErrors mode="Off"/> but[/color]
      still[color=blue]
      > not work.
      >
      >
      > Server Error in '/' Application.
      >
      >
      > Runtime Error
      > Description: An application error occurred on the server. The current[/color]
      custom[color=blue]
      > error settings for this application prevent the details of the application
      > error from being viewed remotely (for security reasons). It could,[/color]
      however,[color=blue]
      > be viewed by browsers running on the local server machine.
      >
      > Details: To enable the details of this specific error message to be[/color]
      viewable[color=blue]
      > on remote machines, please create a <customErrors > tag within a[/color]
      "web.config "[color=blue]
      > 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 -->
      >
      > <configuratio n>
      > <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 "defaultRedirec t" attribute of the[/color]
      application's[color=blue]
      > <customErrors > configuration tag to point to a custom error page URL.
      >
      > <!-- Web.Config Configuration File -->
      >
      > <configuratio n>
      > <system.web>
      > <customErrors mode="RemoteOnl y"[/color]
      defaultRedirect ="mycustompage. htm"/>[color=blue]
      > </system.web>
      > </configuration>
      >
      >[/color]


      Comment

      • Matthew Louden

        #4
        Re: Server Error in '/' Application.

        what do you mean set up the folder as a vroot in IIS manager? The folder was
        created by IIS manager when I created a new web application in VS.NET.
        And VS.NET will create a new user called ASPNET automatically.
        Even I add permission to ASPNET for that application, still not working.

        I don't know if the error is IIS permission problem, or SQL permission
        problem?

        "Joshua Flanagan" <josh@msnews.co m> wrote in message
        news:#2wsrWBkDH A.2772@TK2MSFTN GP10.phx.gbl...[color=blue]
        > I usually get this error if I haven't set up the folder as a vroot in the
        > IIS Manager yet.
        >
        >
        > "Matthew Louden" <jrefactors@hot mail.com> wrote in message
        > news:usZzq77jDH A.2160@TK2MSFTN GP10.phx.gbl...[color=green]
        > > I have no idea what this run-time error about. Any ideas? I already[/color][/color]
        change[color=blue][color=green]
        > > the web.config file for the attribute <customErrors mode="Off"/> but[/color]
        > still[color=green]
        > > not work.
        > >
        > >
        > > Server Error in '/' Application.
        > >
        > >
        > > Runtime Error
        > > Description: An application error occurred on the server. The current[/color]
        > custom[color=green]
        > > error settings for this application prevent the details of the[/color][/color]
        application[color=blue][color=green]
        > > error from being viewed remotely (for security reasons). It could,[/color]
        > however,[color=green]
        > > be viewed by browsers running on the local server machine.
        > >
        > > Details: To enable the details of this specific error message to be[/color]
        > viewable[color=green]
        > > on remote machines, please create a <customErrors > tag within a[/color]
        > "web.config "[color=green]
        > > configuration file located in the root directory of the current web
        > > application. This <customErrors > tag should then have its "mode"[/color][/color]
        attribute[color=blue][color=green]
        > > set to "Off".
        > >
        > > <!-- Web.Config Configuration File -->
        > >
        > > <configuratio n>
        > > <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 "defaultRedirec t" attribute of the[/color]
        > application's[color=green]
        > > <customErrors > configuration tag to point to a custom error page URL.
        > >
        > > <!-- Web.Config Configuration File -->
        > >
        > > <configuratio n>
        > > <system.web>
        > > <customErrors mode="RemoteOnl y"[/color]
        > defaultRedirect ="mycustompage. htm"/>[color=green]
        > > </system.web>
        > > </configuration>
        > >
        > >[/color]
        >
        >[/color]




        Comment

        • Matthew Louden

          #5
          Re: Server Error in '/' Application.

          what do you mean set up the folder as a vroot in IIS manager? The folder was
          created by IIS manager when I created a new web application in VS.NET.
          And VS.NET will create a new user called ASPNET automatically.
          Even I add permission to ASPNET for that application, still not working.

          I don't know if the error is IIS permission problem, or SQL permission
          problem?


          "Joshua Flanagan" <josh@msnews.co m> wrote in message
          news:#2wsrWBkDH A.2772@TK2MSFTN GP10.phx.gbl...[color=blue]
          > I usually get this error if I haven't set up the folder as a vroot in the
          > IIS Manager yet.
          >
          >
          > "Matthew Louden" <jrefactors@hot mail.com> wrote in message
          > news:usZzq77jDH A.2160@TK2MSFTN GP10.phx.gbl...[color=green]
          > > I have no idea what this run-time error about. Any ideas? I already[/color][/color]
          change[color=blue][color=green]
          > > the web.config file for the attribute <customErrors mode="Off"/> but[/color]
          > still[color=green]
          > > not work.
          > >
          > >
          > > Server Error in '/' Application.
          > >
          > >
          > > Runtime Error
          > > Description: An application error occurred on the server. The current[/color]
          > custom[color=green]
          > > error settings for this application prevent the details of the[/color][/color]
          application[color=blue][color=green]
          > > error from being viewed remotely (for security reasons). It could,[/color]
          > however,[color=green]
          > > be viewed by browsers running on the local server machine.
          > >
          > > Details: To enable the details of this specific error message to be[/color]
          > viewable[color=green]
          > > on remote machines, please create a <customErrors > tag within a[/color]
          > "web.config "[color=green]
          > > configuration file located in the root directory of the current web
          > > application. This <customErrors > tag should then have its "mode"[/color][/color]
          attribute[color=blue][color=green]
          > > set to "Off".
          > >
          > > <!-- Web.Config Configuration File -->
          > >
          > > <configuratio n>
          > > <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 "defaultRedirec t" attribute of the[/color]
          > application's[color=green]
          > > <customErrors > configuration tag to point to a custom error page URL.
          > >
          > > <!-- Web.Config Configuration File -->
          > >
          > > <configuratio n>
          > > <system.web>
          > > <customErrors mode="RemoteOnl y"[/color]
          > defaultRedirect ="mycustompage. htm"/>[color=green]
          > > </system.web>
          > > </configuration>
          > >
          > >[/color]
          >
          >[/color]


          Comment

          • Lauchlan M

            #6
            Re: Server Error in '/' Application.

            > I have no idea what this run-time error about.

            There was a thread on this a day or two ago, but I don't remember the
            solution.

            (i) Is the problem on your development or live hosting platform?

            (ii) If the latter, are you sure you uploaded the dll containing all the
            compiled code-behind code (a basic question I know, but sometimes worth
            checking)

            HTH

            Lauchlan M


            Comment

            Working...