473,795 Members | 3,428 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Errors while stress testing a load balanced application

(Type your message here)

Hi All,

One of our ASP.Net application was stress tested recently andunfortunatel y it is throwing up intermittent errors. Theapplication has been setup in a load balancing environment. Theaspx pages thorwing the errors work normally under stress freeconditions.

The 2 distinct errors being thrown are:

1) Specified Cast is not valid
System.InvalidC astException: Specified Cast is not valid

Stack Trace:
[InvalidCastExce ption:Specified Cast is not valid.]
System.Web.UI.P age.LoadPageVie wState() +28
System.Web.UI.P age.ProcessRequ estMain() +439

2) Object reference not set to an instance of an object
System.NullRefe renceException: Object reference not set to aninstance of an object

Stack Trace:
[NullReferenceEx ception: Object reference not set to an instanceof an object.]
MyApplication.V iew.ShowDetails .Page_Load(obj sender, EventArgs e)+1329
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive +29
System.Web.UI.P age.ProcessRequ estMain +742

Any clues?? Thanks in advance guys.
--------------------------------
From: Ravi Chand

-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)

<Id>K1/E1EBhw0KHEpR+ID 8PWw==</Id>
Nov 19 '05 #1
0 1297

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

Similar topics

6
3259
by: Shabam | last post by:
A web application of mine developed using C# + MS SQL runs fine normally. However when I stress test it with a load testing software (using about 60 simultaneous users) some instances start erroring out. I see two different errors. One is a "Object reference not set to an instance of an object." error, which appears to always contain the same information, and the other is a "There is no row at position X.", where X is a number. Is this...
2
1979
by: Shabam | last post by:
I'm getting the following 2 errors randomly when doing a load test on a web application's search engine. As far as I know, there isn't writing to the DB involved when doing searches, so I'm at a loss of why this occurs under load. I'm not the programmer, but this doesn't seem right. Can someone help me figure out what is causing this, and what should be done to solve it? ERROR 1: Server Error in '/' Application.
12
2554
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the new XP machine I get a permission error when the service tries to open a text file on the Windows...
2
2051
by: billym | last post by:
Does anyone know if C# (or .NET applications in general) can be load balanced on the middle tier simply by deploying them to multiple servers in a clustered environtment? If so, would this be something supported by the Framework, MSCS, or a third party solution such as Local Director? Also, if it can be done are their coding caveats that must be adhered to?
0
1539
by: Chuck | last post by:
Sorry for the advertisement but I think this is something that people could actually use. I am creating a new product called Simple Load Testing and I thought I would see if anyone would be interested in giving it a try in it's beta stage. Keep in mind that it is still in the beta stages so there will be bugs - but so far it seems to be stable in the testing that I have done. There are no licenses or limitations in the beta version so...
3
1185
by: Garrek | last post by:
I have a web application that currently runs on a single server and need to move to a load-balanced environment. The system receives content uploaded by users which will have to be shared among all of the servers; how can I do this? The OS is Windows 2003 Web Server Edition and upgrading to another version of the OS is not an option (unfortunately). The application is written in ASP.Net.
0
1027
by: Gustavo Barbosa | last post by:
I´m having this problem: I'm stress testing a ASP.NET web application using ACT and comparing results with a previous version of the website (developed in ColdFusion 4.5). When using 300 simultaneous users (about 25-30 rps), everything works fine, although Cold Fusion seems to be a little faster than ASP.NET. When using 2000 simultaneous users (about 50-60 rps), Cold Fusion works really fine but the application in ASP.NET starts to have...
1
1515
by: Gustavo Barbosa | last post by:
I´m having this problem: I'm stress testing a ASP.NET web application using ACT and comparing results with a previous version of the website (developed in ColdFusion 4.5). When using 300 simultaneous users (about 25-30 rps), everything works fine, although Cold Fusion seems to be a little faster than ASP.NET. When using 2000 simultaneous users (about 50-60 rps), Cold Fusion works really fine but the application in ASP.NET starts to have...
1
1421
by: ESmith | last post by:
I need to stress test an application I've developed - are there any libraries/classes that can do things such as limit RAM available, Disk Space, etc. to help determine the system limits? Since I'm developing on a higher end system, I hope that there are either commerical or free utilities / libraries that can assist in "breaking" the application. TIA
0
9519
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
10437
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
10001
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 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...
0
9042
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
7538
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
6780
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
5437
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...
1
4113
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
3
2920
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.