473,698 Members | 2,754 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Issues with ASP.NET app and hyperthreading when stress testing?

HI,
I created an ASP.NET application which runs on win 2003 server and IIS6 with
hyperthreading enabled.
I keep getting the following error:

Path: /Login.aspx.
Source: System.Web
at System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium()
at System.Web.UI.P age.LoadPageVie wState()
at System.Web.UI.P age.ProcessRequ estMain()

Nested Exception

Exception: System.Web.Http Exception
Message: Authentication of viewstate failed. 1) If this is a cluster, edit
<machineKey> configuration so all servers use the same validationKey and
validation algorithm. AutoGenerate cannot be used in a cluster. 2)
Viewstate can only be posted back to the same page. 3) The viewstate for
this page might be corrupted.
Source: System.Web
at System.Web.UI.L osFormatter.Des erialize(String input)
at System.Web.UI.P age.LoadPageSta teFromPersisten ceMedium()

Nested Exception

Exception: System.Web.Http Exception
Message: Unable to validate data.
Source: System.Web
at System.Web.Conf iguration.Machi neKey.GetDecode dData(Byte[] buf, Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.L osFormatter.Des erialize(String input)

I am not running it on a cluster, but just in case I change the machinekey
section in machine.config to a hardcoded key. Upon login in the app creates
a Thread.CurrentP rincipal and then does a Response.redire ct to another aspx,
it seems like it's never actually being redirected.
I enabled webfarm in the Application Pool in IIS (I assume that if I have 2
processors which are hyperthreaded resulting in 4 processors I should set the
# worker process to 4).

After doing the above, I still get this problem. It should be noted that I
can only reproduce this on that hyperthreaded server (I have no other
hyperthreaded server and disabling hyperthreading is not a solution), when I
try it on another server that does not use hyperthreading everything is fine.
Also this can only be reproduced when I run stress test on the server (I use
ACT). When I manually login I do not get errors.

Has anyone else experienced this? Or something remotely simlar ;) ?

TIA,
George
Nov 11 '05 #1
0 1374

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

Similar topics

0
347
by: octaviansen | last post by:
Hi, I am experiencing some weird problems with an ASP.NET web application that is making use of System.Data.DataSet and System.Data.DataRow classes. On a machine with single CPU, the application is running fine. On a machine with Hyperthreading CPU, after a couple of seconds of running OK, the
8
1660
by: Andrew Maclean | last post by:
Does VC7.1 support hyperthreading? I looked in the documentation but I could find no reference at all.
0
1537
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...
2
2546
by: Kevin Jackson | last post by:
We are stress testing our application. We see 100 SPIDS connected to the ASPSTATE and then the pages request per unit time slow down to barely nothing. It appears that somehow the ASP.NET session stuff is not returning connections to the pool and that these SPIDS are being orphaned just like when you don't call conn.Dispose() Sooner or later the aspnet_wp.exe process will recycle because it's deadlocked.
0
335
by: GeorgeB | last post by:
HI, I created an ASP.NET application which runs on win 2003 server and IIS6 with hyperthreading enabled. I keep getting the following error: Path: /Login.aspx. Source: System.Web at System.Web.UI.Page.LoadPageStateFromPersistenceMedium() at System.Web.UI.Page.LoadPageViewState() at System.Web.UI.Page.ProcessRequestMain()
3
1474
by: javed74 | last post by:
Hi Guys, We just deployed our asp.net application on Xeon dual processor with Hyperthreading turned on. OS Windows 2003 (Web Edition) .NET Framework 1.1 While stress testing with 1 wp, we get better throughput/RPS then with enabling webGarden - 4 wps. Multiple worker processors with Hyperthreading turned on gives approx. half the performance compared to 1 wp. As per my understanding results should be vice-versa.
3
2118
by: Darkstar 3D | last post by:
If you want to stress test your Apache/PHP server just have a small little typo like this: $errCodes=range(910000,9100005); in your code instead of $errCodes=range(910000,910005); Some serious crunching will go on! Off course don't do this on a
4
11824
by: mrjaxon | last post by:
I have a C# web application which leverages MSXML that I am trying to migrate to a 64 bit environment. Currently the application is built on the .NET 2.0 Framework and using MSXML 6 (though I had the same issues using version 4). The OS I am running the app on is Windows Server 2003 x64. I am using the x64 version of MSXML 6 on the server. My dev environment is Windows XP 32 bit SP2. I have tried to compile the projects for "anycpu"...
4
3958
by: FFMG | last post by:
Hi, I want to stress test my dev box to see where the bottle necks in my script might be. I don't really need to test MySQL or Apache, (I have no doubt they are working fine), but rather want to test what scripts might be slow under stress. I am developing on a windows machine but will be running the site on a
0
8683
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
8609
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
9170
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
9031
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
8901
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
7739
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
6528
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
4622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
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.