473,785 Members | 2,557 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Net runtime crash

ekz
Hi guys
I have a very weird bug and will welcome gracefully any help
We developed ASP.Net application that run on production server, Net
Framework 1.1 , IIS 6.0, the application is huge, having hundreds of
user controls and worked under massive requests load : 200-1000
connected sessions and millions of page views per day
The application is stable; the only and urgent problem is that:

About 10 times per day, more frequently at pick hours, we see this
error in windows event log:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 21/12/2005
Time: 18:42:28
User: N/A
Computer: XXX
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: .NET Runtime version 1.1.4322.2300-
Setup Error: Failed to load resources from resource file
Please check your Setup.

After this the worker process that connected to application pool is
recycled and application is extremely slowly till it loads all
resources and updated all cache entries (we use server cache
(HttpContext.Cu rrent.Cache) to save expensive queries results), it is
unacceptable for our client.

The description of event is very general, and all my Google research
can't help me to find helpful information about source of event.

I do not believe that somebody can tell me exactly the source of the
problem,
But any instructions about what I can to do research the problem:
debugging tools, some tools to get more descriptive event source
description, general tips how to research this kind of problem would be
very, very welcome

Thanks a million for any help

Dec 22 '05 #1
24 2061
Hi,

As you already it is a very generic error and the 2 (quite often) reasons
why you could see this issue is happening is because of...
1) Security issues -> Try using Filemon and Regmon utility from
www.sysinternals.com

2) Some corrupt files in your .NET framework. Uninstall the Framework and
re-install it to see if that helps...

HTH
--
Thanks,
Rahul Soni
"ek*@hotbox .ru" wrote:
Hi guys
I have a very weird bug and will welcome gracefully any help
We developed ASP.Net application that run on production server, Net
Framework 1.1 , IIS 6.0, the application is huge, having hundreds of
user controls and worked under massive requests load : 200-1000
connected sessions and millions of page views per day
The application is stable; the only and urgent problem is that:

About 10 times per day, more frequently at pick hours, we see this
error in windows event log:

Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 0
Date: 21/12/2005
Time: 18:42:28
User: N/A
Computer: XXX
Description:
The description for Event ID ( 0 ) in Source ( .NET Runtime ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. You may be able to use the /AUXSOURCE= flag to retrieve this
description; see Help and Support for details. The following
information is part of the event: .NET Runtime version 1.1.4322.2300-
Setup Error: Failed to load resources from resource file
Please check your Setup.

After this the worker process that connected to application pool is
recycled and application is extremely slowly till it loads all
resources and updated all cache entries (we use server cache
(HttpContext.Cu rrent.Cache) to save expensive queries results), it is
unacceptable for our client.

The description of event is very general, and all my Google research
can't help me to find helpful information about source of event.

I do not believe that somebody can tell me exactly the source of the
problem,
But any instructions about what I can to do research the problem:
debugging tools, some tools to get more descriptive event source
description, general tips how to research this kind of problem would be
very, very welcome

Thanks a million for any help

Dec 22 '05 #2
Thanks Rahul
we already used filemon and the outputs looks ok
but reinstalling framework is an interesting idea

many thanks
will keep you updated regarding process

EV

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 22 '05 #3
hey Rahul,
if i will deploy the application in debug mode
what do you think, will it write more detailed info in event log

Thanks a million

EV
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 22 '05 #4
Well, deploying the application in debug mode sounded like an interesting
stuff to me initially. But, it is not a recommended practice for one thing
and more, since it is not related to ASP.NET apps (instead looks more related
to the .NET Runtime in general), I wonder if that would help!!

Are you able to reproduce this error by any means?
How often does it happen?
Did you try running the app in a different app pool and check if the issue
happens in the other pool as well?
Also, did you try isolating the application which you think could be causing
it?

--
Thanks,
Rahul Soni

[A problem well stated is a problem half solved!!]


"SharpSmith " wrote:
hey Rahul,
if i will deploy the application in debug mode
what do you think, will it write more detailed info in event log

Thanks a million

EV
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 22 '05 #5
hi Rahul
i'm very appriciate your help
agree that deploying in debug isn't good, but at that moment i'm ready
for everything that might help to find the origin of the problem

regarding reproducing the error : i cant catch it and it can take weeks
of work cause the app is realy huge

the error occures 2 or 3 times at night time and
can appear 4 times in a hour during pick hours when we have a thousand
of visitors, so may be it is related to site load

the app runs at dedicated app.pool and i can't separate that app for
smaller units

maybe you are familiar with some debugging tool that i can attach to
process to see the crash source description ?

1000000 of thanks
EV
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 22 '05 #6
I would be very glad if I could help you point towards the cause of the error.

As you caught it quite right, it seems to be load related stuff. Let me ask
this...

1) Did you try using Perfmon logs? If not, do the following...

Create a Performance Monitor log file.
1. Expand "Performanc e Logs and Alerts"
2. Right Click on "Counter Logs"
3. Choose "New Log Settings..."
4. Enter a descriptive name
5. Note the log file location for later (or go to the "Log Files" tab and
change the location)
6. Click the "Add" button
7. Click the "All Counters" and "All Instances" radio buttons
8. Select the following from the "Performanc e Object" dropdown, being sure
to "Add" each one as you select it:
• Process
• Thread
• Processor
• Memory
• .NET CLR Data
• .NET CLR Exceptions
• .NET CLR Interop
• .NET CLR Jit
• .NET CLR Loading
• .NET CLR LocksAndThreads
• .NET CLR Memory
• .NET CLR Networking
• .NET CLR Remoting
• .NET CLR Security
• ASP.NET
• ASP.NET Applications
9. Click "Close"
10. Click "OK"

See how these logs behave... For Perfmon analysis, you can use the following
link...
http://msdn.microsoft.com/library/de...sForASPNET.asp

Do keep a tab on the PID of your worker process and see if that changes
whenever the error happens. If it does, then it is a crash and we can proceed
further accordingly. Let me know of the output and about PID stuff or if you
have any questions.

Hope that helps.

--
Thanks,
Rahul Soni

[A problem well stated is a problem half solved!!]


"SharpSmith " wrote:
hi Rahul
i'm very appriciate your help
agree that deploying in debug isn't good, but at that moment i'm ready
for everything that might help to find the origin of the problem

regarding reproducing the error : i cant catch it and it can take weeks
of work cause the app is realy huge

the error occures 2 or 3 times at night time and
can appear 4 times in a hour during pick hours when we have a thousand
of visitors, so may be it is related to site load

the app runs at dedicated app.pool and i can't separate that app for
smaller units

maybe you are familiar with some debugging tool that i can attach to
process to see the crash source description ?

1000000 of thanks
EV
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 22 '05 #7
Thanks Rahul
i'm out of office now, but i will test your suggestion first thing when
i'll back to work
regarding PID, i sure that it is changed after every new .Net Runtime
entry in event log
and we now seriously checking the option to reinstall Framework, even
that isn't simple for windows server 2003 and will cause down time for
the site
have to solve it

again, thanks a million for your help, i'll take care to update your if
i'll finally fix it

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 22 '05 #8
Sure!!

Also if you are sure that PID is getting changed each time, then it must be
a crash and you should be able to catch it using the following method.

1. Go to the link http://beta.microsoft.com.
2. Login in with your passport id.
3. Login using the guest ID "DebugDiag" (it’s case sensitive)
4. Click on the "IIS Debug Diagnostic Tool" link.

Configure DebugDiag
=============== ====
Configure DebugDiag to capture the memory dump when the ExitProcess command
is called. This will ensure that we capture the memory dump when the
faulting thread is terminating the process.

1. Open DebugDiag
2. On the Rules tab, click Add Rule
3. Select Crash and click Next
4. Select "All IIS Processes" and click Next
5. Under Advanced Settings, click Breakpoints
6. Click Add Breakpoint...
7. Select KERNEL32!ExitPr ocess and change Action Type to Full UserDump
8. Click OK
9. Click Save and Close
10. Click Next through the rest of the wizard

Now, let it run for a while and wait for the issue to happen. Once that
happens, most probably you should be having the dump files created in the
respective folders. Let me know if you get any files with .dmp extension
created in the C:\Program Files\IIS Resources\Debug Diag\Logs\<Name of Rule>
folder

--
Thanks,
Rahul Soni

[A problem well stated is a problem half solved!!]


"SharpSmith " wrote:
Thanks Rahul
i'm out of office now, but i will test your suggestion first thing when
i'll back to work
regarding PID, i sure that it is changed after every new .Net Runtime
entry in event log
and we now seriously checking the option to reinstall Framework, even
that isn't simple for windows server 2003 and will cause down time for
the site
have to solve it

again, thanks a million for your help, i'll take care to update your if
i'll finally fix it

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 22 '05 #9
Hey Rahul,

My name is Aviad, im replacing EV for taking care of the issue as he has
to get back into writing code :)

First let me thank you for all the references so far, i appriciate it
alot.

And now down and dirty with business, we have a dump file generated by
DebugDiag, it is huge (around 500mb), but the content in that file
doesnt seem clear to me as it all looks like core function calls...

What do we do from here?

Thanks again,

Aviad

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 25 '05 #10

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

Similar topics

8
2281
by: Tahir Hashmi | last post by:
Consider this piece of code: #include <iostream> using namespace std; class y { public: void draw()
2
2514
by: Trevor Hughes | last post by:
Hello All Our organisation has recently upgraded its operating system to Windows 2000. Prior to this I was running Access 2000 databases on NT machines using the Access 2000 Runtime with no problems. Since the upgrade I am experiencing runtime errors which are making parts of the database unusable. The database will crash when I run a report. One of the problems relates to formating problems surrounding reference libraries. I have...
0
1295
by: Rick Collard | last post by:
I can consistently crash Access 2002 SP2 using a /runtime switch on an mdb that has the Compact on Close property set after opening and closing a form that uses the References collection. Remove any one of the three variables in this equation and there is no problem. If anyone cares to attempt to duplication the problem, just create a single form with a text box (txtReferences) and a command button (cmdOK) with the following code behind...
3
2053
by: Antti Keskinen | last post by:
Hello ppl ! Since this newsgroup is a place where Microsoft MVPs or related visit somewhat often, could someone give me an advice with possible causes of this error. Note that it does not happen with the programs I write, but with Visual Studio .NET 2003 itself. It seems to appear only when I have the Visual Assist add-in installed. Removing the add-in fixes this error, but using VA is pretty much a necessity due to the bad functionality...
16
2937
by: Colmag | last post by:
I've written an application with vb.net 2003 (framework 1.1) which automates a 3rd party viewing/printing application (via an activex control). I've released several versions over the last year without problem, but since getting a new laptop, people can't run the program since I built it with the new machine. Even if I take the modified code and build it with my old machine, it still crashes. I thought maybe it was the code, but it...
13
8791
by: Schizoid Man | last post by:
Hi, I have defined a very simple class as follows. I initialize the CInventory object as: CInventory *itemInveotry; The program just performs two functions - it reads the total number of items and values of itemNumber, quantity and cost per item from the user, and it prints these values back. While printing these values, I get a _CrtIsValidHeapPointer(pUserData)
3
1882
by: Dave G | last post by:
I recently finished a system in Access 2003 for a client and loaded it onto their server. They use the A2003 runtime version. One of the main forms contains a TAB control. On moving away from one particular page to any other they received a run time error and the application closed. This behaviour did not occur when using the full version of Access. I managed to solve the problem by deleting and re-creating the affected page, but...
0
2320
by: =?Utf-8?B?VGhvbWFzIFR1dGtv?= | last post by:
An ASP.NET web project has recently began crashing WebDev.WebServer.exe with a System.Runtime.InteropServices.SEHException. The EventLog for the crash looks like this: Application ID: WebDev.WebServer.EXE Process ID: 1552 Exception: System.Runtime.InteropServices.SEHException
15
1679
by: chrisstankevitz | last post by:
Compile with: g++ crash.cpp -O2 Crashes on: g++ (Gentoo 4.3.2 p1.1) 4.3.2 g++ (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) g++ (ubuntu current stable) Steps to reproduce: 1. Make a file crash.cpp (contents below)
0
9485
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,...
0
10161
jinu1996
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...
0
8986
agi2029
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...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5390
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
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
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.