global.asa

Classis ASP debugging global.asa in VS2005

I was trying to set a breakpoint in global.asa in an old classis ASP project with IIS 6 in Visual Studio 2005. Somehow the context menu for actually setting the breakpoint somewhere in global.asa is disabled (greyed). How can I set a breakpoint then? Breakpoints in .asp pages are no problem though and do work fine. ...

Classic ASP Server.MapPath() doesn't work as expected in global.asa

In Classic ASP, Server.MapPath() doesn't always work properly in the Application_OnStart event within global.asa. I have an ASP page at "\testfolder\test.asp" within a virtual root, I have an XSLT file at "\xsl\transform.xsl". My virtual root is located in "c:\inetpub\wwwroot\testapp\". I use MapPath within the ASP page to get the full ...

global.asax and classic ASP?

Now please excuse me if this is a stupid question - BUT... In my ASP.NET apps, I have a global.asax file that catches an error and emails me the details. 'Could' I put the global.asax in the root of a classic ASP file and if there was an ASP error it would trigger the global.asax? Again sorry if this is a dumb question.. If not any ...

classic asp/asp.net website - global.asa not working

Hi, I've recently been given a website written in classic asp to configure and set up - although it also appears to have pages written in asp.net. The problem I'm having at the moment is that it doesn;t appear to be picking up settings from the global.asa file such as Application("ConnectionString").... As when I try to write them out...

How do I schedule regular database clean up tasks in Classic ASP?

Hi, I have a Classic ASP site, that requires some database tables to be emptied out of session data on a schedule. This system doesn't have access to scheduled tasks (it's on a shared web host, and using MySQL server) I was considering using global.asa, to fire off events as such: Application_OnStart - delete all session data from d...

get AppFriendlyName of currently executing web page in global.asa ?

Hello, I need to get access to the AppFriendlyName of a IIS application in the global.asa Application_Start event (classic ASP) I am looking for the equivalent of HttpContext.Current.Request.ApplicationPath in the global.asax (ASP.NET) Is there a way to do that ? Thanks for your help ! Jerome Wagner ...