Forum Moderators: open
HTTP/1.1 New Application Failed
my webhost insist that its my script has the problem but i think its not because i used to run the same page with my former webhost and it works fine.
please give me an idea what to do...the simplest explanation that i could understand because im not that good yet...
thanks in advanced...
It can contain specific subroutines that are executed when an application starts or stops. These are called Application_OnStart and Application_OnEnd. It can also contain functions that execute when a Session starts or just after it ends. These are always called Session_OnStart and Session_OnEnd.
The Application_OnStart subroutine will be executed when the first user requests the first page that is processed with the ASP engine. So .html pages won't trigger it, but requests for .asp and any other extensions that may have been assigned to the asp DLL will cause the DLL to try and execute the Application_OnStart subroutine if it is present.
Similarily, within an individual session, the first time a visitor requests a page that uses the Session object, the Session_OnStart subroutine will be called.
Since your error message is stating that the Application couldn't be started, I would first suspect some code in the Application_OnStart subroutine (if it exists).
If you don't have a global.asa, then the likely cause is that you are trying to use the Session object, but the hosting provider has Sessions disabled on the server. This is something that can be set for each website, so if it is off, they should be able to enable it for you. If they won't, find another host.