473,320 Members | 1,817 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

ASP 145 Error-- New Application Failed

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=pub lications;
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

Jul 19 '05 #1
2 4754
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.)

Jul 19 '05 #2
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.)

Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Tommy Vercetti | last post by:
I've been trying to convert a Standard C++/MFC application to Managed C++/Forms (the application is pretty complex but the GUI is just a simple status dialog). I created a new project shell and...
3
by: Gustavo L. Fabro | last post by:
Greetings! I'm testing VS 2005 Beta 2, and I've compiled a program that runs just fine on my computer (where VS is installed). I've tried to run this same program on another computer (after...
12
by: Michael | last post by:
Please Help me. I've got a .Net 2003 program that attaches to a SQL Server machine and I'm getting the above error when a user tries to log in. The SQL server is setup to use Windows Auth. and I...
6
by: Steve4D | last post by:
With an ASP.NET application, I try to run an external program (like EXE, BAT) with a logon of an another user. I use CreateProcessWithLogonW from API "advapi32.dll" . When my ASP.NET application...
1
by: Jason Bell | last post by:
I've been developing with the .net framework 2.0 since it's release with no problems. It has suddenly stopped working. When I try to execute any .net application a popup with the following...
1
by: John Todd | last post by:
Hi, all. I've been working on a .NET project written in C# for the past three months. Yesterday, all of a sudden, I get The application failed to initialize properly (0xc0000005) error when i...
0
by: rajezh | last post by:
Sir, Im using ASP.NET 2.0. In my project, I used ProcessStartInfo to execute C# .exe console application. It works fine when I run thorough Visual Studio.But when i run this code through virtual...
1
by: =?Utf-8?B?RHRvd25EYWxl?= | last post by:
When I try to start programs like win media player Error pops up and says the application failed to initialize properly (0xc0000034). Click on OK to terminate the application. The same thing...
0
by: =?Utf-8?B?UHJhamFrdGE=?= | last post by:
Hi, I have build application Visual Studio 2005 on Windows Server 2003. While executing the application in getting this error "The application failed to initialize properly 0xc0000135" The...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.