Server Error in '/' Application

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Javier Cortés Cortés

    #1

    Server Error in '/' Application

    i am getting this error when i am trying to access
    any file(with the ext. aspx) from my remote server.
    the error is :

    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>

    dotnet framwork is installed on the server and web.config file
    is also there in the root folder of the application.
    i tried all the P&C with the web.config file but
    same error is thrown.
    can any one tell me why i am getting this message.
    Thnx in advance.



  • Javier Cortés Cortés

    #2
    Re: Server Error in '/' Application

    My "web.config " only has:
    <?xml version="1.0" encoding="utf-8"?>

    <!-- Web.Config Configuration File -->
    <configuratio n>
    <system.web>
    <customErrors mode="Off"/>
    </system.web>
    </configuration>

    and get these error details:

    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.



    "Ravikanth[MVP]" <dvravikanth@ho tmail.com> escribió en el mensaje
    news:094001c366 2a$51f24f80$a50 1280a@phx.gbl.. .[color=blue]
    > Hi
    > First to get error details..
    > 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>
    >
    > Let me know what error you are getting.
    >
    > Ravikanth[MVP]
    >
    >[color=green]
    > >-----Original Message-----
    > >i am getting this error when i am trying to access
    > >any file(with the ext. aspx) from my remote server.
    > >the error is :
    > >
    > >Server Error in '/' Application.
    > >---------------------------------------------------------[/color]
    > -------------------[color=green]
    > >----
    > >Runtime Error
    > >Description: An application error occurred on the[/color]
    > server. The current custom[color=green]
    > >error settings for this application prevent the details[/color]
    > of the application[color=green]
    > >error from being viewed remotely (for security reasons).[/color]
    > It could, however,[color=green]
    > >be viewed by browsers running on the local server[/color]
    > machine.[color=green]
    > >
    > >Details: To enable the details of this specific error[/color]
    > message to be viewable[color=green]
    > >on remote machines, please create a <customErrors > tag[/color]
    > within a "web.config "[color=green]
    > >configuratio n file located in the root directory of the[/color]
    > current web[color=green]
    > >application. This <customErrors > tag should then have[/color]
    > its "mode" attribute[color=green]
    > >set to "Off".
    > ><!-- Web.Config Configuration File -->
    > ><configuration >
    > ><system.web>
    > ><customError s mode="Off"/>
    > ></system.web>
    > ></configuration>
    > >
    > >Notes: The current error page you are seeing can be[/color]
    > replaced by a custom[color=green]
    > >error page by modifying the "defaultRedirec t" attribute[/color]
    > of the application's[color=green]
    > ><customError s> configuration tag to point to a custom[/color]
    > error page URL.[color=green]
    > >
    > ><!-- Web.Config Configuration File -->
    > ><configuration >
    > ><system.web>
    > ><customError s mode="RemoteOnl y"[/color]
    > defaultRedirect ="mycustompage. htm"/>[color=green]
    > ></system.web>
    > ></configuration>
    > >
    > >dotnet framwork is installed on the server and[/color]
    > web.config file[color=green]
    > >is also there in the root folder of the application.
    > >i tried all the P&C with the web.config file but
    > >same error is thrown.
    > >can any one tell me why i am getting this message.
    > >Thnx in advance.
    > >
    > >
    > >
    > >.
    > >[/color][/color]


    Comment

    • Javier Cortés Cortés

      #3
      Re: Server Error in '/' Application

      My "web.config " only has:
      <?xml version="1.0" encoding="utf-8"?>

      <!-- Web.Config Configuration File -->
      <configuratio n>
      <system.web>
      <customErrors mode="Off"/>
      </system.web>
      </configuration>

      and get these error details:

      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.



      "Ravikanth[MVP]" <dvravikanth@ho tmail.com> escribió en el mensaje
      news:094001c366 2a$51f24f80$a50 1280a@phx.gbl.. .[color=blue]
      > Hi
      > First to get error details..
      > 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>
      >
      > Let me know what error you are getting.
      >
      > Ravikanth[MVP]
      >
      >[color=green]
      > >-----Original Message-----
      > >i am getting this error when i am trying to access
      > >any file(with the ext. aspx) from my remote server.
      > >the error is :
      > >
      > >Server Error in '/' Application.
      > >---------------------------------------------------------[/color]
      > -------------------[color=green]
      > >----
      > >Runtime Error
      > >Description: An application error occurred on the[/color]
      > server. The current custom[color=green]
      > >error settings for this application prevent the details[/color]
      > of the application[color=green]
      > >error from being viewed remotely (for security reasons).[/color]
      > It could, however,[color=green]
      > >be viewed by browsers running on the local server[/color]
      > machine.[color=green]
      > >
      > >Details: To enable the details of this specific error[/color]
      > message to be viewable[color=green]
      > >on remote machines, please create a <customErrors > tag[/color]
      > within a "web.config "[color=green]
      > >configuratio n file located in the root directory of the[/color]
      > current web[color=green]
      > >application. This <customErrors > tag should then have[/color]
      > its "mode" attribute[color=green]
      > >set to "Off".
      > ><!-- Web.Config Configuration File -->
      > ><configuration >
      > ><system.web>
      > ><customError s mode="Off"/>
      > ></system.web>
      > ></configuration>
      > >
      > >Notes: The current error page you are seeing can be[/color]
      > replaced by a custom[color=green]
      > >error page by modifying the "defaultRedirec t" attribute[/color]
      > of the application's[color=green]
      > ><customError s> configuration tag to point to a custom[/color]
      > error page URL.[color=green]
      > >
      > ><!-- Web.Config Configuration File -->
      > ><configuration >
      > ><system.web>
      > ><customError s mode="RemoteOnl y"[/color]
      > defaultRedirect ="mycustompage. htm"/>[color=green]
      > ></system.web>
      > ></configuration>
      > >
      > >dotnet framwork is installed on the server and[/color]
      > web.config file[color=green]
      > >is also there in the root folder of the application.
      > >i tried all the P&C with the web.config file but
      > >same error is thrown.
      > >can any one tell me why i am getting this message.
      > >Thnx in advance.
      > >
      > >
      > >
      > >.
      > >[/color][/color]


      Comment

      • Natty Gur

        #4
        Re: Server Error in '/' Application

        Hi,

        Check that your virtual directory set as application.

        Natty Gur, CTO
        Dao2Com Ltd.
        34th Elkalay st. Raanana
        Israel , 43000
        Phone Numbers:
        Office: +972-(0)9-7740261
        Fax: +972-(0)9-7740261
        Mobile: +972-(0)58-888377


        *** Sent via Developersdex http://www.developersdex.com ***
        Don't just participate in USENET...get rewarded for it!

        Comment

        • Natty Gur

          #5
          Re: Server Error in '/' Application

          Hi,

          Check that your virtual directory set as application.

          Natty Gur, CTO
          Dao2Com Ltd.
          34th Elkalay st. Raanana
          Israel , 43000
          Phone Numbers:
          Office: +972-(0)9-7740261
          Fax: +972-(0)9-7740261
          Mobile: +972-(0)58-888377


          *** Sent via Developersdex http://www.developersdex.com ***
          Don't just participate in USENET...get rewarded for it!

          Comment

          • Ravikanth[MVP]

            #6
            Re: Server Error in '/' Application


            Hi
            create a virtual directory on the server for your App
            folder.

            Ravikanth
            [color=blue]
            >-----Original Message-----
            >My "web.config " only has:
            ><?xml version="1.0" encoding="utf-8"?>
            >
            ><!-- Web.Config Configuration File -->
            ><configuration >
            ><system.web>
            ><customError s mode="Off"/>
            ></system.web>
            ></configuration>
            >
            >and get these error details:
            >
            >Runtime Error
            >Description: An application error occurred on the [/color]
            server. The current custom[color=blue]
            >error settings for this application prevent the details [/color]
            of the application[color=blue]
            >error from being viewed remotely (for security reasons). [/color]
            It could, however,[color=blue]
            >be viewed by browsers running on the local server [/color]
            machine.[color=blue]
            >
            >
            >
            >"Ravikanth[MVP]" <dvravikanth@ho tmail.com> escribió en [/color]
            el mensaje[color=blue]
            >news:094001c36 62a$51f24f80$a5 01280a@phx.gbl. ..[color=green]
            >> Hi
            >> First to get error details..
            >> please create a <customErrors > tag within [/color][/color]
            a "web.config "[color=blue][color=green]
            >> 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>
            >>
            >> Let me know what error you are getting.
            >>
            >> Ravikanth[MVP]
            >>
            >>[color=darkred]
            >> >-----Original Message-----
            >> >i am getting this error when i am trying to access
            >> >any file(with the ext. aspx) from my remote server.
            >> >the error is :
            >> >
            >> >Server Error in '/' Application.
            >> >------------------------------------------------------[/color][/color][/color]
            ---[color=blue][color=green]
            >> -------------------[color=darkred]
            >> >----
            >> >Runtime Error
            >> >Description: An application error occurred on the[/color]
            >> server. The current custom[color=darkred]
            >> >error settings for this application prevent the [/color][/color][/color]
            details[color=blue][color=green]
            >> of the application[color=darkred]
            >> >error from being viewed remotely (for security [/color][/color][/color]
            reasons).[color=blue][color=green]
            >> It could, however,[color=darkred]
            >> >be viewed by browsers running on the local server[/color]
            >> machine.[color=darkred]
            >> >
            >> >Details: To enable the details of this specific error[/color]
            >> message to be viewable[color=darkred]
            >> >on remote machines, please create a <customErrors > tag[/color]
            >> within a "web.config "[color=darkred]
            >> >configuratio n file located in the root directory of [/color][/color][/color]
            the[color=blue][color=green]
            >> current web[color=darkred]
            >> >application. This <customErrors > tag should then have[/color]
            >> its "mode" attribute[color=darkred]
            >> >set to "Off".
            >> ><!-- Web.Config Configuration File -->
            >> ><configuration >
            >> ><system.web>
            >> ><customError s mode="Off"/>
            >> ></system.web>
            >> ></configuration>
            >> >
            >> >Notes: The current error page you are seeing can be[/color]
            >> replaced by a custom[color=darkred]
            >> >error page by modifying the "defaultRedirec t" [/color][/color][/color]
            attribute[color=blue][color=green]
            >> of the application's[color=darkred]
            >> ><customError s> configuration tag to point to a custom[/color]
            >> error page URL.[color=darkred]
            >> >
            >> ><!-- Web.Config Configuration File -->
            >> ><configuration >
            >> ><system.web>
            >> ><customError s mode="RemoteOnl y"[/color]
            >> defaultRedirect ="mycustompage. htm"/>[color=darkred]
            >> ></system.web>
            >> ></configuration>
            >> >
            >> >dotnet framwork is installed on the server and[/color]
            >> web.config file[color=darkred]
            >> >is also there in the root folder of the application.
            >> >i tried all the P&C with the web.config file but
            >> >same error is thrown.
            >> >can any one tell me why i am getting this message.
            >> >Thnx in advance.
            >> >
            >> >
            >> >
            >> >.
            >> >[/color][/color]
            >
            >
            >.
            >[/color]

            Comment

            • Sudhir Darbha

              #7
              Re: Server Error in '/' Application

              Hi ,
              I was getting the same error too. But thanks to
              Ravikanth for his suggestion on creating a virtual
              directory for the application folder. That has actually
              solved my problem. Initially i just copied the appln
              folder from one server to another which didn't do the job.
              But, why should we have a virtual directory when we
              already have an appln folder physically in wwwroot
              directory. Does the interpretation ASP.NET engine is
              different from accessing normal html files.
              Thanks,
              Sudhir.
              [color=blue]
              >-----Original Message-----
              >
              >Hi
              >create a virtual directory on the server for your App
              >folder.
              >
              >Ravikanth
              >[color=green]
              >>-----Original Message-----
              >>My "web.config " only has:
              >><?xml version="1.0" encoding="utf-8"?>
              >>
              >><!-- Web.Config Configuration File -->
              >><configuratio n>
              >><system.web >
              >><customErro rs mode="Off"/>
              >></system.web>
              >></configuration>
              >>
              >>and get these error details:
              >>
              >>Runtime Error
              >>Description : An application error occurred on the [/color]
              >server. The current custom[color=green]
              >>error settings for this application prevent the details [/color]
              >of the application[color=green]
              >>error from being viewed remotely (for security reasons). [/color]
              >It could, however,[color=green]
              >>be viewed by browsers running on the local server [/color]
              >machine.[color=green]
              >>
              >>
              >>
              >>"Ravikanth[MVP]" <dvravikanth@ho tmail.com> escribió en [/color]
              >el mensaje[color=green]
              >>news:094001c3 662a$51f24f80$a 501280a@phx.gbl ...[color=darkred]
              >>> Hi
              >>> First to get error details..
              >>> please create a <customErrors > tag within [/color][/color]
              >a "web.config "[color=green][color=darkred]
              >>> 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>
              >>>
              >>> Let me know what error you are getting.
              >>>
              >>> Ravikanth[MVP]
              >>>
              >>>
              >>> >-----Original Message-----
              >>> >i am getting this error when i am trying to access
              >>> >any file(with the ext. aspx) from my remote server.
              >>> >the error is :
              >>> >
              >>> >Server Error in '/' Application.
              >>> >------------------------------------------------------[/color][/color]
              >---[color=green][color=darkred]
              >>> -------------------
              >>> >----
              >>> >Runtime Error
              >>> >Description: An application error occurred on the
              >>> server. The current custom
              >>> >error settings for this application prevent the [/color][/color]
              >details[color=green][color=darkred]
              >>> of the application
              >>> >error from being viewed remotely (for security [/color][/color]
              >reasons).[color=green][color=darkred]
              >>> 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 "
              >>> >configuratio n file located in the root directory of [/color][/color]
              >the[color=green][color=darkred]
              >>> current web
              >>> >application. This <customErrors > tag should then have
              >>> its "mode" attribute
              >>> >set to "Off".
              >>> ><!-- Web.Config Configuration File -->
              >>> ><configuration >
              >>> ><system.web>
              >>> ><customError s 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" [/color][/color]
              >attribute[color=green][color=darkred]
              >>> of the application's
              >>> ><customError s> configuration tag to point to a custom
              >>> error page URL.
              >>> >
              >>> ><!-- Web.Config Configuration File -->
              >>> ><configuration >
              >>> ><system.web>
              >>> ><customError s mode="RemoteOnl y"
              >>> defaultRedirect ="mycustompage. htm"/>
              >>> ></system.web>
              >>> ></configuration>
              >>> >
              >>> >dotnet framwork is installed on the server and
              >>> web.config file
              >>> >is also there in the root folder of the application.
              >>> >i tried all the P&C with the web.config file but
              >>> >same error is thrown.
              >>> >can any one tell me why i am getting this message.
              >>> >Thnx in advance.
              >>> >
              >>> >
              >>> >
              >>> >.
              >>> >[/color]
              >>
              >>
              >>.
              >>[/color]
              >.
              >[/color]

              Comment

              Working...