ASP 145 Error-- New Application Failed

Discussion in 'ASP General' started by Patrick, Mar 2, 2004.

  1. Patrick

    Patrick Guest

    I had a new production envrionment running ASP pages, and after 4 days in
    production, I am getting HTTP1.1/ New Application Failed error.

    Old environment which worked OK:
    Windows 2000 Server with SP3, IIS5 with lock down tool
    ODBC connection from ASP to SQL Server: connection string is
    driver={SQL Server};server=yjbweblive;uid=Publications;pwd=publications;
    database=publications

    New Environment which failed today:
    Windows 2000 Server with SP4, IIS5 with lock down tool
    OLE DB Connection
    Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security
    Info=False;Initial Catalog=Publications;Data Source=Production

    A quick search on the Internet reveals that this kind of problem occurs with
    either
    1) Bad Global.asa file
    2) Inefficient use of database connections (e.g. connections not closed)
    3) Someone also suggested that changing the "Application configuration" in
    IIS from Medium (Pooled) to either High or Low

    The global.asa file we have not changed and contains:
    <script language="vbscript" runat="server">

    sub Session_OnStart
    session.Timeout = 30
    end sub
    </script>

    The database connections, as indicated above has been updated to use ADODB
    connections instead of ODBC.

    I also experienced an HTTP/500 error yesterday which resulted in a fix to
    change the CursorLocation of the ADORecordSet from adUseServer to
    adUseClient.

    Note, however, that the first request which result in the above error is for
    an ASP file which has not been updated yesterday (for CursorLocaiton)

    SOS-
    1) How could I track down the cause of the problem?
    2) What would be the impact of changing the "Applicaiton Protection" in IIS
    Patrick, Mar 2, 2004
    #1
    1. Advertising

  2. Patrick

    [MSFT] Guest

    Hi Patrick,

    Thank you for using the community.

    To trouble shoot such a problem, you may try to create another virtual
    diretory in the smae web site and put some simple ASP page in it, to test
    if it also failed with the New Application Failed error.

    If not, the problem may be related to the global.asa in the original web
    application. You may rename it and create a new one.

    If other ASP application in the same web site also failed with the error,
    you can try to use another account other than "IUSER_ComputerName" for the
    web site. In IIS Manager:

    1) Go to the properties of the Default Web Site, and choose Directory
    Security

    2) Click the Edit button for Authentication

    3) Click the browse button to change the account. For example, you can try
    a local administrator account.

    Hope this help,

    Luke
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)
    [MSFT], Mar 3, 2004
    #2
    1. Advertising

  3. Patrick

    [MSFT] Guest

    Hi Patrick,

    Have you found the root cause for the problem?

    Regarding the second question about "application protection", an ASP
    application will be run in different process based on this configration:

    If an IIS application is configured to run as low application protection,
    it runs in Web Server's (inetinfo) process space. This gives a great
    performance advantage because costly cross-process marshalling is avoided.

    An application configured as pooled out-of-process (medium) will run under
    one server package/application created under MTS/COM+.

    An application configured Out-of-Process (High) is run in an application
    out-of-process, prevents a single application error from bringing down the
    inetinfo process.

    hope this help,

    Luke
    Microsoft Online Support

    Get Secure! www.microsoft.com/security
    (This posting is provided "AS IS", with no warranties, and confers no
    rights.)
    [MSFT], Mar 5, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    12
    Views:
    1,814
  2. mdh

    p 145 K&R

    mdh, Sep 1, 2008, in forum: C Programming
    Replies:
    14
    Views:
    607
  3. David Sudolcan
    Replies:
    7
    Views:
    2,030
    Eric Sosman
    Apr 4, 2011
  4. Ruby Quiz

    [QUIZ] Editing Text (#145)

    Ruby Quiz, Oct 26, 2007, in forum: Ruby
    Replies:
    32
    Views:
    325
    Sean Surname
    Nov 8, 2007
  5. Ruby Quiz

    [SUMMARY] Editing Text (#145)

    Ruby Quiz, Nov 8, 2007, in forum: Ruby
    Replies:
    1
    Views:
    123
    Eric Mahurin
    Nov 8, 2007
Loading...

Share This Page