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

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.Page.LoadPageStateFromPersistenceMed ium()
at System.Web.UI.Page.LoadPageViewState()
at System.Web.UI.Page.ProcessRequestMain()

Nested Exception

Exception: System.Web.HttpException
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.LosFormatter.Deserialize(String input)
at System.Web.UI.Page.LoadPageStateFromPersistenceMed ium()

Nested Exception

Exception: System.Web.HttpException
Message: Unable to validate data.
Source: System.Web
at System.Web.Configuration.MachineKey.GetDecodedData (Byte[] buf, Byte[]
modifier, Int32 start, Int32 length, Int32& dataLength)
at System.Web.UI.LosFormatter.Deserialize(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.CurrentPrincipal and then does a Response.redirect 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 1347

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

Similar topics

0
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...
8
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
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...
2
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...
0
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...
3
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...
3
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...
4
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...
4
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...
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: 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
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
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...
0
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...
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...

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.