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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Application Deployment

Application Deployment

Scheduled Pinned Locked Moved ASP.NET
sysadmincsharpasp-nethelpquestion
2 Posts 2 Posters 1 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.
  • G Offline
    G Offline
    Gary Hyslop at home
    wrote on last edited by
    #1

    My ASP.NET app works fine on the Test Server. When copied to the production server it fails immediately with a generic error screen that suggests adding the tag to the web.config which is already there in order to see a meaningful error message. I inserted code in the ApplicationStart event handler in global.asax.cs that executes in test but not on the production server despite forcing the event to fire by copying a new dll to the bin directory. Any clues ... ? Gary Hyslop

    M 1 Reply Last reply
    0
    • G Gary Hyslop at home

      My ASP.NET app works fine on the Test Server. When copied to the production server it fails immediately with a generic error screen that suggests adding the tag to the web.config which is already there in order to see a meaningful error message. I inserted code in the ApplicationStart event handler in global.asax.cs that executes in test but not on the production server despite forcing the event to fire by copying a new dll to the bin directory. Any clues ... ? Gary Hyslop

      M Offline
      M Offline
      minhpc_bk
      wrote on last edited by
      #2

      Hi Gary, + What code do you put in the ApplicationStart event handler? + Do you set the mode attribute of the customErrors element in the Web.config file to Off so that you can see the error details?

      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