Hi,
I have a ASP.NET 2.0 web service, which runs beautifully when hosted in the
development server of VS2005 (out side of IIS) but crashes when hosted inside
IIS 5.1 or IIS 6.0 when it takes several minutes to process a request. On
some server, it will consistently crash after 3 minutes, others can take up
to 30' or longer.
However, It can happily process shorter requests to the same web method.
When aspnet_wp crashes, it logs an eventId 5000 with the error message
"EventType clr20r3, P1 aspnet_wp.exe, P2 2.0.50727.210, P3 45063b16, P4
system.web, P5 2.0.0.0, P6 45063b0f, P7 5d7, P8 47, P9
system.cannotun loadappdomain, P10 NIL."
Followed by eventId 1000 "aspnet_wp stopped unexpectedly"
I know that the default behaviour of ASP.NET 2.0 when the app has an
unhandled exception is to shut down the worker process. I have made sure that
all exceptions within my web service are handled by attaching an
ExceptionHandle r to AppDomain.Curre nt. I have also tried to change the
aspnet.config so that it ignores any unhandledexcept ion like it ASP.NEt1.x
It seems that this problem is directly related to a timing setting on IIS
and I have tried to increase all timing settings to a big number but this
doesnt change anything.
Any ideas are very welcome.
Cheers,
Bach 0 2491 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Boris Nikolaevich |
last post by:
This is backwards of what I usually want--normally if you have a
long-running ASP script, it's a good idea to check to see whether the client
is still connected so you can cancel execution.
However, I have a script that absolutely MUST finish one it's been
started--is there a way to cause the entire script to execute, even if the
client disconnects in the middle of the process? It doesn't matter if the
script returns anything to the...
|
by: Ken Barrett |
last post by:
I apologize in advance for cross-posting, but I have noted that others
have experienced similar issues and was hoping that someone could
help.
Briefly, I am working on an ASP.NET content management application
written in C#. running on .NET Framework 1.1/W2K/IIS5. The
application uses the Microsoft WebService Behavior to generate a tree
of "folders" in a frame on the left hand side. The user can click on
a "folder", and the contents...
|
by: VB Programmer |
last post by:
Is aspnet_wp a service that can be stopped/restarted? Or, do I have to kill
it through Task Mgr? If so, how do I restart it?
Thanks.
|
by: Raju |
last post by:
Hi ,
We are develoed the .net application(asp.net, vb.net and sql server ). Till
yesterday there was no problem with the application. Is was working fine.
In our application we have one Lock and Unlock Button. When you click on
Lock button, the page will turn into ReadOnly mode. When you click on Unlock
the page will turn into Edit Mode.
Now When I press the Lock or Unlock Button after 2 to 3 minutes in the
Browser iam getting the below...
|
by: theyas |
last post by:
Windows XP SP2, VS 2003, IIS 5.1, IE 6.0, Symantec AV 9.0.0.xxx
After upgrading my system to XP SP2, I have not been able to debug. After
working through various other problems, I'm down to the point where "the only
thing I cannot do" (I almost don't dare say that since I'm almost sure to
have something else) is attach to the aspnet_wp process. If I run an ASP.NET
service (which works and would always leave an aspnet_wp process I could...
| |
by: Benzi Eilon |
last post by:
I have written a C# application which should run as a Windows
Service. I must avoid having multiple instances of the application
on one machine so I inserted the following code at the beginning
of the Main() function:
// if this is not the first instance of this application, exit
// immediately. Allow only one instance in the system
if
(Process.GetProcessesByName(Process.GetCurrentProcess().ProcessName).Length >
1)
|
by: whutto |
last post by:
I have a VB.NET app that crashes when run from the Windows scheduled tasks, but runs fine when the run-as user is logged on. The app also runs fine from the scheduled jobs if the run as user is disconnected. The O/S is Windows Server 2003, the app is created with VB.NET 2003. The .NET framework is up todate with Windows releases. The APP opens connections to an SQL Server 2003 database and an ODBC sql connection to an iSeries database.
...
|
by: Stefan Pascal |
last post by:
Hello.
I have a very strange problem on my system with running C#
applications from a longer than usual (>127 chars) path. I was able to
reproduce the following 2 cases:
1. Socket s = new Socket(AddressFamily.InterNetwork,
SocketType.Stream, ProtocolType.Tcp); // <-- crashes here #1
2. SqlConnection con = new SqlConnection("Persist Security
Info=False;server=MyServer\\MyInstance;database=MyDataBase;Connect
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |