473,606 Members | 2,453 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

strange error during stress test (asp.net compilation-problem???)

hi everyone,

currently we are testing the performance our application (asp.net
based CMS) ... for that reason we wrote a "spider" that starts
webrequests for all relevant pages which results in filling the
pageoutputcache on server side.

so far so good. if we start one spider at once our application works
fine, but if we run more than one spider tool at the same time the
asp.net process works for a few minutes returning correct http output.
but suddenly (about 2-4 minutes after the spiders are started) stops
working correctly as only server errors are returned.
to bring the application back to a correct state we have to restart
the whole asp.net application.

the exception that is thrown is an IndexOutOfRange Exception. but it
doesnot seem to happen within our code, but before: during the page
compilation (see the stacktrace below from the eventlog-entry)

our script is called desktopdefault. aspx.

Eventlog-entry of the error:
-----------------------------------------------------------------------------------------------------------
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 10.05.2007
Time: 17:29:51
User: N/A
Computer: QS2
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10.05.2007 17:29:51
Event time (UTC): 10.05.2007 15:29:51
Event ID: 455397a4eb014eb e806b633e87b7e6 70
Event sequence: 799
Event occurrence: 389
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1401838085/
Root-1-128232843961175 348
Trust level: Full
Application Virtual Path: /
Application Path: D:\codebase\
Machine name: QS2

Process information:
Process ID: 2836
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWO RK SERVICE

Exception information:
Exception type: IndexOutOfRange Exception
Exception message: Der Index war außerhalb des Arraybereichs.

Request information:
Request URL: http://192.168.10.13/desktopdefault.aspx
Request path: /desktopdefault. aspx
User host address: 192.168.10.42
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWO RK SERVICE

Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWO RK SERVICE
Is impersonating: False
Stack trace: at System.Collecti ons.ArrayList.A dd(Object value)
at DesktopDefault. .ctor() in C:\build\src
\DesktopDefault .aspx.vb:line 0
at ASP.desktopdefa ult_aspx..ctor( )
at
__ASP.FastObjec tFactory_app_we b_weim_8ax.Crea te_ASP_desktopd efault_aspx()
at System.Web.Comp ilation.BuildRe sultCompiledTyp e.CreateInstanc e()
at
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa th
virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at System.Web.Http Application.Map HttpHandler(Htt pContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati on.IExecutionSt ep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean& completedSynchr onously)
-----------------------------------------------------------------------------------------------------------

any ideas what goes wrong and what we could do to avoid this error ???

thanx in advance
CHris

May 11 '07 #1
2 3270
the error is in the constructor of the page. asp.net is trying to create
an instance of the page, and the class constructor is thowing an error.

-- bruce (sqlwork.com)

f0******@google mail.com wrote:
hi everyone,

currently we are testing the performance our application (asp.net
based CMS) ... for that reason we wrote a "spider" that starts
webrequests for all relevant pages which results in filling the
pageoutputcache on server side.

so far so good. if we start one spider at once our application works
fine, but if we run more than one spider tool at the same time the
asp.net process works for a few minutes returning correct http output.
but suddenly (about 2-4 minutes after the spiders are started) stops
working correctly as only server errors are returned.
to bring the application back to a correct state we have to restart
the whole asp.net application.

the exception that is thrown is an IndexOutOfRange Exception. but it
doesnot seem to happen within our code, but before: during the page
compilation (see the stacktrace below from the eventlog-entry)

our script is called desktopdefault. aspx.

Eventlog-entry of the error:
-----------------------------------------------------------------------------------------------------------
Event Type: Warning
Event Source: ASP.NET 2.0.50727.0
Event Category: Web Event
Event ID: 1309
Date: 10.05.2007
Time: 17:29:51
User: N/A
Computer: QS2
Description:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 10.05.2007 17:29:51
Event time (UTC): 10.05.2007 15:29:51
Event ID: 455397a4eb014eb e806b633e87b7e6 70
Event sequence: 799
Event occurrence: 389
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1401838085/
Root-1-128232843961175 348
Trust level: Full
Application Virtual Path: /
Application Path: D:\codebase\
Machine name: QS2

Process information:
Process ID: 2836
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWO RK SERVICE

Exception information:
Exception type: IndexOutOfRange Exception
Exception message: Der Index war außerhalb des Arraybereichs.

Request information:
Request URL: http://192.168.10.13/desktopdefault.aspx
Request path: /desktopdefault. aspx
User host address: 192.168.10.42
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWO RK SERVICE

Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWO RK SERVICE
Is impersonating: False
Stack trace: at System.Collecti ons.ArrayList.A dd(Object value)
at DesktopDefault. .ctor() in C:\build\src
\DesktopDefault .aspx.vb:line 0
at ASP.desktopdefa ult_aspx..ctor( )
at
__ASP.FastObjec tFactory_app_we b_weim_8ax.Crea te_ASP_desktopd efault_aspx()
at System.Web.Comp ilation.BuildRe sultCompiledTyp e.CreateInstanc e()
at
System.Web.Comp ilation.BuildMa nager.CreateIns tanceFromVirtua lPath(VirtualPa th
virtualPath, Type requiredBaseTyp e, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.P ageHandlerFacto ry.GetHandlerHe lper(HttpContex t
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.P ageHandlerFacto ry.System.Web.I HttpHandlerFact ory2.GetHandler (HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at System.Web.Http Application.Map HttpHandler(Htt pContext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.Http Application.Map HandlerExecutio nStep.System.We b.HttpApplicati on.IExecutionSt ep.Execute()
at System.Web.Http Application.Exe cuteStep(IExecu tionStep step,
Boolean& completedSynchr onously)
-----------------------------------------------------------------------------------------------------------

any ideas what goes wrong and what we could do to avoid this error ???

thanx in advance
CHris
May 11 '07 #2
On 11 Mai, 17:35, bruce barker <nos...@nospam. comwrote:
the error is in the constructor of the page. asp.net is trying to create
an instance of the page, and the class constructor is thowing an error.
the thing is: the script desktopdefault. aspx or the codebehind is
inherited from system.web.ui.p age and no implicit constructor is
implemented by us. therefore i am unable to dig into the cause of the
error which persists after the first occurance ...

any other ideas ?

May 11 '07 #3

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

Similar topics

1
3398
by: Bart Nessux | last post by:
A bit off topic, but here goes: Does this look like a reasonable hard drive stress-test? I run it repeatedly for a few days on our new PowerMac G5's (they come with Python 2.3 installed!!!) which we've had drive problems with. Two 80GB SATA Maxtor drives replaced already. Only been in use for a few days. Apple is replacing them with Seagate drives, not that that matters. Here's the script: def dd_test(): import os import time
1
304
by: CLEAR-RCIC | last post by:
I have an ASP.Net web page that calls a .dll that writes information to a SQL Server database on a different machine. When I run it on our production server I can see on the SQL Server that the call is executed by the anonymous account that is specified in IIS. This makes sense. When I move this application to our test enviroment, I get an error because the account that appears to be making the call to the database is...
6
1783
by: WindAndWaves | last post by:
Hi Gurus The page below has a strange error. It seems to be working very well, just when you enter 8 or 9 for day, month or year then you get an error. I really have no idea where that is coming from. Can you help? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD>
1
1312
by: msnews.microsoft.com | last post by:
Hi, I'm stress testing ASP.Net application, running on quad 3.1GHz Xeon with 2GB RAM server, using ACT. The problem is that I can't get more the ~40 RPS. The server CPU usage is 10-15% and the request queue is always 0. I keep on reading people getting 150 - 250 RPS. First I thought it is the limitation of the client running ACT, so I have started it from 2 clients. The result was that each one was getting ~20 RPS.
2
1193
by: Mardy | last post by:
I need to stress test an asp.net application but I don't have the Microsoft Application Center Test tool. Does anybody know of a good FREE tool that I can use to stress test my application? Thanks
1
1794
by: MSG Servicos de Informatica | last post by:
Hi! I'm having a problem with web stress test. I'm using an tool made by Microsoft called 'Microsoft Application Web Stress Tool'. My aplication was made in ASP .NET with C# in Visual Studio 2005. When I run a test with 5 users during 5 minutes, I see that almost all HTTP Headers are truncated and the posts return erros in my application. When I run it with only one user, i don't have any problem!
3
1358
by: Sheldon | last post by:
Good day, I came across this error during compilation of my program: ******************************************* cc -g -I/local_disk/opt/HLHDF/0_49/include -I/usr/include -c msgpps_functions.c In file included from /usr/include/stdio.h:34, from msgpps_functions.c:10: /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.3.2/include/stddef.h:213: error: syntax error before "typedef"
0
1309
by: Picard | last post by:
Hello, I would like to ask if there was any DB2 stress test, such as Oracle's hammerora or swingbench. The software would ideally be free, but commercial alternatives are also an option. Thanks
6
2786
by: tvnaidu | last post by:
Hi: Any stress test html script to test web page contains few radio buttons and apply. I have web page contains 8 radio buttons, just select on / off using radio button, then at the bottom, click on "apply", I need some script to do this overnight to stress the system, please let me know if any script availbale, appreciated. TV.
0
8024
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, 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...
0
8449
Oralloy
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...
0
8432
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...
1
8105
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6781
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...
1
5968
isladogs
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...
0
5466
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
3987
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2451
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

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.