i think this has been asked before but i just cannot figure this one out.
I have added a global.asax file to my project (using asp.net with c# from vs2010) and works great on my local machine. then when i publish to our site (i publish to ftp site and then copy from the ftp folder into the site folder overwriting old files) and it doesn't work... at all. i am using 'windows server 2008 R2 Enterprise'. any help would be great
views:
367answers:
1
A:
Check that the "Build action" of the Global.asax file is set to "Content" in the file properties. All files set to content will be deployed.
Sander Rijken
2010-09-05 23:12:16
its wierd i only get these options when i right click on the global.asax file:,Open,Open With...,Exclude from project,Cut,Copy,Delete,Rename. But there are No properties or anything else
Letseatlunch
2010-09-06 04:55:07
Highlight the global.asax file in the solution explorer and press ALT+ENTER to bring up the properties window for the file. Check the build action is set to content
Russ Cam
2010-09-07 06:57:50