Forum Moderators: open

Message Too Old, No Replies

Error: HTTP/1.1 New Application Failed

i got this error when running an ASP page

         

joan_0618

6:34 am on Mar 23, 2004 (gmt 0)

10+ Year Member



i have my default page in html, but when username and password were entered the next page is an ASP page that handles the authentication generates an error

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...

john_k

4:07 pm on Mar 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Something is probably failing in the global.asa. Are you referencing any components in there? Also check for file-system access and DB connections being initialized.

joan_0618

2:13 am on Mar 24, 2004 (gmt 0)

10+ Year Member



is it possible that there's something wrong with the script even i didnt amend it and it runs previously on my former host?
what is global.asa?

john_k

1:38 pm on Mar 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The global.asa is an optional file that resides in the root of your website. It's presence defines a web application; everything in that folder or any subfolders is part of the application.

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.