473,405 Members | 2,379 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,405 software developers and data experts.

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 IndexOutOfRangeException. 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: 455397a4eb014ebe806b633e87b7e670
Event sequence: 799
Event occurrence: 389
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1401838085/
Root-1-128232843961175348
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\NETWORK SERVICE

Exception information:
Exception type: IndexOutOfRangeException
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\NETWORK SERVICE

Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Collections.ArrayList.Add(Object value)
at DesktopDefault..ctor() in C:\build\src
\DesktopDefault.aspx.vb:line 0
at ASP.desktopdefault_aspx..ctor()
at
__ASP.FastObjectFactory_app_web_weim_8ax.Create_AS P_desktopdefault_aspx()
at System.Web.Compilation.BuildResultCompiledType.Cre ateInstance()
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplication.IExecutionStep.Execute ()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
-----------------------------------------------------------------------------------------------------------

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

thanx in advance
CHris

May 11 '07 #1
2 3253
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******@googlemail.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 IndexOutOfRangeException. 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: 455397a4eb014ebe806b633e87b7e670
Event sequence: 799
Event occurrence: 389
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/1401838085/
Root-1-128232843961175348
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\NETWORK SERVICE

Exception information:
Exception type: IndexOutOfRangeException
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\NETWORK SERVICE

Thread information:
Thread ID: 7
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at System.Collections.ArrayList.Add(Object value)
at DesktopDefault..ctor() in C:\build\src
\DesktopDefault.aspx.vb:line 0
at ASP.desktopdefault_aspx..ctor()
at
__ASP.FastObjectFactory_app_web_weim_8ax.Create_AS P_desktopdefault_aspx()
at System.Web.Compilation.BuildResultCompiledType.Cre ateInstance()
at
System.Web.Compilation.BuildManager.CreateInstance FromVirtualPath(VirtualPath
virtualPath, Type requiredBaseType, HttpContext context, Boolean
allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper( HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at
System.Web.UI.PageHandlerFactory.System.Web.IHttpH andlerFactory2.GetHandler(HttpContext
context, String requestType, VirtualPath virtualPath, String
physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpCont ext context,
String requestType, VirtualPath path, String pathTranslated, Boolean
useAppConfig)
at
System.Web.HttpApplication.MapHandlerExecutionStep .System.Web.HttpApplication.IExecutionStep.Execute ()
at System.Web.HttpApplication.ExecuteStep(IExecutionS tep step,
Boolean& completedSynchronously)
-----------------------------------------------------------------------------------------------------------

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.page 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
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...
1
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...
6
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...
1
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...
2
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? ...
1
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...
3
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...
0
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. ...
6
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
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...
0
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,...

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.