How can I get my global.asax
file to publish to our ftp site?
I have added a global.asax
file to my project (using asp.net with c# from vs2010) which works great on my local machine. Then when I publish to our ftp site. Then copy from the ftp folder into the site folder overwriting old files. It doesn't work. I am using Windows Server 2008 R2 Enterprise.
We tried a lot of things.
We also tried putting the below files in
root
andbin
directories.None of it worked!
We had to put raw
Global.asax
instead ofpre-compiled
dll, in order to fire the global events, for our asp .net 2.0 website.Hope this helps someone! Cheers! Happy coding! :D