本文介绍了Global.asa没有开火的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
出于某种原因,我的global.asa文件未触发。我把它放在我网站的 根目录下(例如,wwwroot \ mywebsite \ global.asa),我将网站 网站配置为申请表]在IIS中。当我修改文件时,我也停止并重启了网络服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? /> 谢谢
For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks
推荐答案那么,你有什么证据可以解雇?什么方法是 不开火发生在?该方法的代码是什么? 你见过 www.aspfaq/2076 和 http:// www .aspfaq / 2078 ? - www.aspfaq/ (反向地址回复。) qaz <纳克**** @ uslex>在消息中写道 news:eX ************** @ TK2MSFTNGP11.phx.gbl ... Well, what evidence do you have thatit is not firing? What method is the "not firing" occuring in? What is the code in that method? Have you seen www.aspfaq/2076 and www.aspfaq/2078 ? -- www.aspfaq/ (Reverse address to reply.) "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... 出于某种原因我的全球.asa文件未触发。我把它放在我网站的根目录(例如,wwwroot \ mywebsite \ global.asa)中,我将网站配置为应用程序。在IIS中。当我修改文件时,我也停止并重新启动了Web服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? 谢谢 For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks
我的证据非常好。在Application_OnStart中,我创建了一个名为Application(" test")的应用程序 变量,并将其设置为等于Application。在 Session_OnStart中我设置了一个名为session(test)=Session的会话变量。 我在test.asp中放了response.write语句并解雇了页面。 " Aaron [SQL Server MVP]" < TE ***** @ dnartreb.noraa>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP14.phx.gbl ... My evidence is pretty good. In Application_OnStart I created an application variable named Application("test") and set it equal to "Application". In Session_OnStart I set a session variable called session("test") = "Session". I put response.write statements in test.asp and fired the page. "Aaron [SQL Server MVP]" <te*****@dnartreb.noraa> wrote in message news:%2****************@TK2MSFTNGP14.phx.gbl... 嗯,你有什么证据可以解雇? 不开火的方法是什么?发生在?该方法的代码是什么? 您是否见过 http:/ /www.aspfaq/2076 和 www.aspfaq / 2078 ? http: //www.aspfaq/ (反向回复地址。) " qaz" <纳克**** @ uslex>在消息中写道新闻:eX ************** @ TK2MSFTNGP11.phx.gbl ... Well, what evidence do you have thatit is not firing? What method is the "not firing" occuring in? What is the code in that method? Have you seen www.aspfaq/2076 and www.aspfaq/2078 ? -- www.aspfaq/ (Reverse address to reply.) "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... 由于某种原因,我的global.asa文件是不开火。我把它放在 For some reason my global.asa file is not firing. I have it located in
我的网站的根目录(例如,wwwroot \ mywebsite \ global.asa),我有 root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the
web
web
配置为应用程序的站点。在IIS中。当我修改文件时我 site configured as an "application" in IIS. When I modified the file I停止并重新启动网络服务器。 任何人都可以给我一些想法,为什么它不是解雇? stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks
确保将mywebsite设置为应用程序,而不是父网站 的子目录。如果它是一个子目录,则根global.asa将触发 。 " qaz" <纳克**** @ uslex>在消息中写道 新闻:eX ************** @ TK2MSFTNGP11.phx.gbl ... 出于某种原因,我的全球.asa文件未触发。我把它放在我网站的 根目录下(例如,wwwroot \ mywebsite \ global.asa),我将网站 网站配置为申请表]在IIS中。当我修改文件时,我也停止并重启了网络服务器。 任何人都可以给我一些关于它为什么不解雇的想法吗? /> 谢谢 Make sure mywebsite is setup as an application, and not a subdirectory of the parent web. If it is a subdirectory, the root global.asa will fire instead. "qaz" <ng****@uslex> wrote in message news:eX**************@TK2MSFTNGP11.phx.gbl... For some reason my global.asa file is not firing. I have it located in the root of my website (e.g., wwwroot\mywebsite\global.asa) and I have the web site configured as an "application" in IIS. When I modified the file I also stopped and restarted the web server. Can anyone give me some ideas as to why it is not firing? Thanks
更多推荐
Global.asa没有开火
发布评论