global.asax works on local computer but not after i publish to server

前端 未结 7 667
滥情空心
滥情空心 2020-12-06 11:26

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 vs2

相关标签:
7条回答
  • 2020-12-06 11:51

    I had same issue while publishing from vs 2013 and following worked for me

    yourproject-->properties-->Web-> Click on Create Virtual Directory. (Even though you created virtual directory before try it again)

    hope this helps.

    0 讨论(0)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题