In my global.asax file I have a variable in the application on start event
called Application("Fo lderName").
On the development PC the variable is set as Application("Fo lderName") =
"c:\FolderN ame"
On the production PC the variable is set as Application("Fo lderName") =
"d:\ADifferentF olderName"
When I 'Copy Web' using Visual Studio.NET I copy all files except the
global.asax.
After copying, the production site is trys to use the value set on the
development PC of "c:\FolderName" . I check the production global.asax and it
shows Application("Fo lderName") = "d:\ADifferentF olderName". If open the
production site and build it the problem corrects itself.
Why do I have to build the production site to make it work?
called Application("Fo lderName").
On the development PC the variable is set as Application("Fo lderName") =
"c:\FolderN ame"
On the production PC the variable is set as Application("Fo lderName") =
"d:\ADifferentF olderName"
When I 'Copy Web' using Visual Studio.NET I copy all files except the
global.asax.
After copying, the production site is trys to use the value set on the
development PC of "c:\FolderName" . I check the production global.asax and it
shows Application("Fo lderName") = "d:\ADifferentF olderName". If open the
production site and build it the problem corrects itself.
Why do I have to build the production site to make it work?