![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
And you have defined an application root in IIS ? -- Patrice "Steve Ricketts" <velocedge (AT) hotmail (DOT) com> a écrit dans le message de groupe de discussion : OAMf8i1bJHA.4380 (AT) TK2MSFTNGP02 (DOT) phx.gbl... Yes, the sub is coded as Application_Start(ByVal sender As Object, ByVal e As EventArgs). It was a working application in VS2003 and it looks pretty much the same as it did after VS2008 converted it. I've got the VS2008 on the web server so it's using IIS to debug. I know the application has not started because I've even stopped the w3wp.exe process before debugging the application. Typically, the restart is automatic when I start the debugger but obviously VS2008 is different so who knows what's typical! ;-) What seems odd is that it halts at the other breakpoints in Global.asax.vb or any of the other breakpoints no mater where I put them except for Application_Start. sr "Patrice" <http://www.chez.com/scribe/> wrote in message news:5468429E-9889-4BDA-B551-09F331ECEC37 (AT) microsoft (DOT) com... Are you using the correct signature ? It should be Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) Another option would be that the application is already started. Are you using the web devserver or IIS ? What if you close the web server and try again ? -- Patrice "Steve Ricketts" <velocedge (AT) hotmail (DOT) com> a écrit dans le message de groupe de discussion : emAl#vnbJHA.1272 (AT) TK2MSFTNGP04 (DOT) phx.gbl... I just converted a vb.net web application from VS2003 to VS2008 and the Application_Start sub is not being executed. I've put a breakpoint on all subs in the Global.asax.vb to make sure the Global.asax events are firing and it breaks on Application_BeginRequest and Application_AuthenticateRequest but not Application_Start! I've tried changing Application_Start to Application_OnStart but no difference. Can someone tell me what's happening?.. very confused! Thanks, Steve |
|
Sorry for the cross post but I just found this forum and thought it might be a better place to ask a question than languages.vb. I also have not received a response there so here goes. I just converted a vb.net web application from VS2003 to VS2008 and the Application_Start sub is not being executed. I've put a breakpoint on all subs in the Global.asax.vb to make sure the Global.asax events are firing and it breaks on Application_BeginRequest and Application_AuthenticateRequest but not Application_Start! I've tried changing Application_Start to Application_OnStart but no difference. Can someone tell me what's happening?.. very confused! Thanks, Steve |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |