Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Runtime Error after publishing aspx page!!!

Runtime Error after publishing aspx page!!!

Scheduled Pinned Locked Moved ASP.NET
helpcsharpvisual-studiosysadminsecurity
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Phivos Stylianides
    wrote on last edited by
    #1

    Hi, i'm used Visual Studio 2008 Pro to create and publish my website. Everything seemed to be successful but when i tried to go to the page online i get this error: 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". It works fine in my virtual directory but not the server. This is for a class and your help is greatly appreciated!! Phivos

    P A 3 Replies Last reply
    0
    • P Phivos Stylianides

      Hi, i'm used Visual Studio 2008 Pro to create and publish my website. Everything seemed to be successful but when i tried to go to the page online i get this error: 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". It works fine in my virtual directory but not the server. This is for a class and your help is greatly appreciated!! Phivos

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      You need to disable custom errors to view the actual error message. Follow the instructions provided to you in the error message to do this.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      1 Reply Last reply
      0
      • P Phivos Stylianides

        Hi, i'm used Visual Studio 2008 Pro to create and publish my website. Everything seemed to be successful but when i tried to go to the page online i get this error: 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". It works fine in my virtual directory but not the server. This is for a class and your help is greatly appreciated!! Phivos

        A Offline
        A Offline
        ArunVijay
        wrote on last edited by
        #3

        Hello Friend, Follow Below Steps To solve This Problem(It has been tested on Visual Studio 2005) 1)Check your DataBase Connection has properly configured in webconfig . 2)Check the server system for IIS (inetpub) . If not Load it. 3)In Visual Studio -> go to command prompt there type aspnet_regiis -i. (Command Editor Of IIS) 4)close all application and restart your visual studio and check.. 5)ping for ip address of server machine . 6) e.g (xx.xxx.xxx.xxx/ProjectName/EgPage.aspx. 7) Any problem Contact i will do my best.

        ArunVijay

        1 Reply Last reply
        0
        • P Phivos Stylianides

          Hi, i'm used Visual Studio 2008 Pro to create and publish my website. Everything seemed to be successful but when i tried to go to the page online i get this error: 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 tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". It works fine in my virtual directory but not the server. This is for a class and your help is greatly appreciated!! Phivos

          A Offline
          A Offline
          ArunVijay
          wrote on last edited by
          #4

          Hello Friend, Follow Below Steps To solve This Problem(It has been tested on Visual Studio 2005) 1)Check your DataBase Connection has properly configured in webconfig . 2)Check the server system for IIS (inetpub) . If not Load it. 3)In Visual Studio -> go to command prompt there type aspnet_regiis -i. (Command Editor Of IIS) 4)close all application and restart your visual studio and check.. 5)ping for ip address of server machine . 6) e.g (xx.xxx.xxx.xxx/ProjectName/EgPage.aspx. 7) Any problem Contact i will do my best.

          ArunVijay

          P 2 Replies Last reply
          0
          • A ArunVijay

            Hello Friend, Follow Below Steps To solve This Problem(It has been tested on Visual Studio 2005) 1)Check your DataBase Connection has properly configured in webconfig . 2)Check the server system for IIS (inetpub) . If not Load it. 3)In Visual Studio -> go to command prompt there type aspnet_regiis -i. (Command Editor Of IIS) 4)close all application and restart your visual studio and check.. 5)ping for ip address of server machine . 6) e.g (xx.xxx.xxx.xxx/ProjectName/EgPage.aspx. 7) Any problem Contact i will do my best.

            ArunVijay

            P Offline
            P Offline
            Phivos Stylianides
            wrote on last edited by
            #5

            Thanks for your reply, I realized after removing those lines from the web.config that new ones errors come up and they seem to be similar. It cannot load the following files or assemblies: I also tried removing them and then adding the references again! any ideas? Thanks!

            1 Reply Last reply
            0
            • A ArunVijay

              Hello Friend, Follow Below Steps To solve This Problem(It has been tested on Visual Studio 2005) 1)Check your DataBase Connection has properly configured in webconfig . 2)Check the server system for IIS (inetpub) . If not Load it. 3)In Visual Studio -> go to command prompt there type aspnet_regiis -i. (Command Editor Of IIS) 4)close all application and restart your visual studio and check.. 5)ping for ip address of server machine . 6) e.g (xx.xxx.xxx.xxx/ProjectName/EgPage.aspx. 7) Any problem Contact i will do my best.

              ArunVijay

              P Offline
              P Offline
              Phivos Stylianides
              wrote on last edited by
              #6

              Thanks for your reply, I realized after removing those lines from the web.config that new ones errors come up and they seem to be similar. It cannot load the following files or assemblies: add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" I also tried removing them and then adding the references again! any ideas? Thanks!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups