473,387 Members | 1,742 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,387 software developers and data experts.

ASP.net woes

2 issues we have run into during heavy volumes. Wondering
if anyone else has seen these or knows of fixes/known
issues, etc

Item #1
We have run into an issue where by the aspnet_wp is
stopping. In the event log we see things
like "aspnet_wp.exe (PID: 2400) stopped unexpectedly."
Interestingly enough this event is always followed by "The
data buffer created for the "MSMQ" service in
the "C:\WINNT\system32\MQPERF.DLL" library is not aligned
on an 8-byte boundary." The problem is that it looks like
it takes 2 seconds to restart the service. During peak
periods this is eternity!

Item #2
We have code in application_error event to capture
anything that our exception handling may miss. The code
basically logs the exception, Redirects to a prettied
up "Sorry, this shouldnt have happened" page. This has
worked wonderfully until recently. Every once in a while,
the end user gets a stack trace back. Below is a sample
typed in from a screen shot.
[NullReferenceException]
System.Web.UnsafeNativeMethods.GetShortPathName
System.Web.FilePathParse.GetShortPathName
System.Web.FilePathParse..ctor
System.Web.FileChangesMonitor
System.Web.Caching.CacheDependency.Init
System.Web.Caching.CacheDependency..ctor
System.Web.Configuration.HttpConfigurationSystem.G etCacheDe
pendecies
System.Web.Configuration.HttpConfigurationSystem.C omposeCon
fig
System.Web.HttpContext.GetCompleteConfigRecord
System.Web.HttpContext.GetCompleteConfig
System.Web.HttpContext.GetConfig
System.Web.CustomErrors.GetSettings
System.Web.HttpResponse.ReportRunTimeError
System.Web.HttpRunTime.FinishRequest

Anyone have any ideas?
Nov 18 '05 #1
2 1185
Hi Bob
Item #1


http://support.microsoft.com/support.../q288/0/77.asp

There is one small workaround that you can try.

Hope that helps
Have a great day :)
R. Pooran Prasad
Itreya Technologies Pvt Ltd.,
Mail: po***********@itreya.com.REMOVETHIS
Phone(Off) : +91 80 5200179 Extn: 42
Mobile: +91 98860 29578


Nov 18 '05 #2
That's strange indeed.

Have you considered that the code in the application_error event may be
failing? That could be one symptom. I'd suggest you make this modification
to the web.config

<customErrors
mode="RemoteOnly"

/>

so that a stack trace doesn't pop up on the user's screen. It's not a fix,
it's a bandaid. In addition, you will want to set a default error page in
the web config file to point to your generic error page. Also, right before
you redirect to your error page in the application_error event handler, do a
context.clear() to stifle the exception bubble. See if that helps any.
Finally, on every error page, you should be mapping to a page error handler
to catch errors before the make it up to the global level.

page.error += error handler goes here in the initializecomponent section

Do this for every aspx page as a second line of defense always.

--
Regards,
Alvin Bruney
Got DotNet? Get it here...
http://www.networkip.net/dotnet/tidbits/default.htm
"Bob D" <do********@yahoo.com> wrote in message
news:0c****************************@phx.gbl...
2 issues we have run into during heavy volumes. Wondering
if anyone else has seen these or knows of fixes/known
issues, etc

Item #1
We have run into an issue where by the aspnet_wp is
stopping. In the event log we see things
like "aspnet_wp.exe (PID: 2400) stopped unexpectedly."
Interestingly enough this event is always followed by "The
data buffer created for the "MSMQ" service in
the "C:\WINNT\system32\MQPERF.DLL" library is not aligned
on an 8-byte boundary." The problem is that it looks like
it takes 2 seconds to restart the service. During peak
periods this is eternity!

Item #2
We have code in application_error event to capture
anything that our exception handling may miss. The code
basically logs the exception, Redirects to a prettied
up "Sorry, this shouldnt have happened" page. This has
worked wonderfully until recently. Every once in a while,
the end user gets a stack trace back. Below is a sample
typed in from a screen shot.
[NullReferenceException]
System.Web.UnsafeNativeMethods.GetShortPathName
System.Web.FilePathParse.GetShortPathName
System.Web.FilePathParse..ctor
System.Web.FileChangesMonitor
System.Web.Caching.CacheDependency.Init
System.Web.Caching.CacheDependency..ctor
System.Web.Configuration.HttpConfigurationSystem.G etCacheDe
pendecies
System.Web.Configuration.HttpConfigurationSystem.C omposeCon
fig
System.Web.HttpContext.GetCompleteConfigRecord
System.Web.HttpContext.GetCompleteConfig
System.Web.HttpContext.GetConfig
System.Web.CustomErrors.GetSettings
System.Web.HttpResponse.ReportRunTimeError
System.Web.HttpRunTime.FinishRequest

Anyone have any ideas?

Nov 18 '05 #3

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

Similar topics

2
by: Martin the Mac Addict | last post by:
Good evening to the skilled Ladies and Gentlemen of the PHP world. I am fairly new to all of this but learning quickly. I have run in to a need to remove blank lines from a form submission after...
7
by: Mark | last post by:
O, woe is me, to have seen what I have seen, see what I see! (That's Shakespeare for those who were wondering what I'm on about) I am "having fun" with cookies. And I wonder if I have...
0
by: Cedric | last post by:
This is a 3 weeks old problem, but having found a solution (and having looked for one here, finding only this message), I'm replying now. From: Jive (someone@microsoft.com) Subject: Upgrade...
3
by: Angel Cat | last post by:
Trying to get my jobs to send mail when job fails. Should be easy but it's giving me headache Had a whole slew of issues. Outlook is installed with a n outlook mail profile set up that can...
2
by: Andrew Thompson | last post by:
- NN 4.78 rendering woes, links at far left - I am trying to rework an old site, make it valid html and css, improving the x-browser and 'older browser' compatibility. My efforts so far, have...
0
by: Arun Bhalla | last post by:
I'm having some inconsistency problems with my deployment project ("Setup") and its custom actions ("Installer"). I'm using Visual Studio .NET 2003 (.NET 1.1, no service pack) on Windows XPSP1. ...
9
by: Mark Rae | last post by:
Hi, This time, I'm looking for a regular expression which says "the string must contain exactly seven or exactly eight digits" e.g. 123456 fails 1234567 passes 12345678 passes 123456789...
1
by: hdogg | last post by:
Scope Woes - IF statement nested in WHILE statement -PHP I have an array $actuals_sum. <?php while(conditions) { if($i == '24) {
4
by: =?Utf-8?B?VkIgSm9ubmll?= | last post by:
I am at my witless end here, please help! I have an ASP.Net aspx web page, hosted on Windows Server 2003, that receives a query string with the path to an autocad drawing file selected from a...
1
by: Mike Howarth | last post by:
I've been having a few problems with connecting to SQL Server, initially I was using dblib however found some problems with returning text fields whereby all text fields were ignored and it bawked...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
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...

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.