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

Home Posts Topics Members FAQ

WebGarden and Viewstate

I have a asp.net 1.1 application that a client is running at a hosting
company. The hosting company has WebGarden = 1 on that machine's
machine.config, and we get the following error in the application:
System.Web.Http Exception: Invalid_Viewsta te.
The solutions I've seen by googling this suggest changing things in the
machine.config, but I don't have access to that. What could I change (if
anything) in the web.config to address this?
Thanks!

Matt
May 24 '06 #1
3 2957
Are you sure these two things are related, setting WebGarden = true just
controls how the ASP.net worker processes are distributed over the available
CPUs, i can't see how it could affect the ViewState.

More info
here:http://msdn.microsoft.com/library/de...delSection.asp

"MattB" wrote:
I have a asp.net 1.1 application that a client is running at a hosting
company. The hosting company has WebGarden = 1 on that machine's
machine.config, and we get the following error in the application:
System.Web.Http Exception: Invalid_Viewsta te.
The solutions I've seen by googling this suggest changing things in the
machine.config, but I don't have access to that. What could I change (if
anything) in the web.config to address this?
Thanks!

Matt

May 25 '06 #2
Well, no I guess I'm not sure.

I thought that a multi-cpu machine with WebGarden = true made a single
server behave sort of like a web farm. And from what I've read, when
running from a web farm, you need to take steps to synchronize your
encoding/decoding keys or you can get this error. So I was extrapolating
a little, but I thought this might be the cause of the errors.

Are you sure it wouldn't cause them? The application is deployed in
maybe a dozen different places and this is the only one reporting this
problem. I emailed the hosting company and they say it's not a web farm,
but it is a multi-cpu server with WebGarden = true.

Maybe I'm barking up the wrong tree, and if so do you have any
suggestions as to what might be the cause?

I _really_ appreciate the response. I'm a little under the gun to solve
this. Thanks!

Matt

clickon wrote:
Are you sure these two things are related, setting WebGarden = true just
controls how the ASP.net worker processes are distributed over the available
CPUs, i can't see how it could affect the ViewState.

More info
here:http://msdn.microsoft.com/library/de...delSection.asp

"MattB" wrote:

I have a asp.net 1.1 application that a client is running at a hosting
company. The hosting company has WebGarden = 1 on that machine's
machine.confi g, and we get the following error in the application:
System.Web.Ht tpException: Invalid_Viewsta te.
The solutions I've seen by googling this suggest changing things in the
machine.confi g, but I don't have access to that. What could I change (if
anything) in the web.config to address this?
Thanks!

Matt

May 25 '06 #3
These issues are likely not related. Your analogy is correct except that
machine keys are machine specific so that the effect would be applied to
everything running on the box.

For viewstate issues in 1.1, read this see if it helps:
http://support.microsoft.com/default...b;en-us;555353
--

_______________ _________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------

"MattB" <so********@yah oo.com> wrote in message
news:4d******** *****@individua l.net...
Well, no I guess I'm not sure.

I thought that a multi-cpu machine with WebGarden = true made a single
server behave sort of like a web farm. And from what I've read, when
running from a web farm, you need to take steps to synchronize your
encoding/decoding keys or you can get this error. So I was extrapolating a
little, but I thought this might be the cause of the errors.

Are you sure it wouldn't cause them? The application is deployed in maybe
a dozen different places and this is the only one reporting this problem.
I emailed the hosting company and they say it's not a web farm, but it is
a multi-cpu server with WebGarden = true.

Maybe I'm barking up the wrong tree, and if so do you have any suggestions
as to what might be the cause?

I _really_ appreciate the response. I'm a little under the gun to solve
this. Thanks!

Matt

clickon wrote:
Are you sure these two things are related, setting WebGarden = true just
controls how the ASP.net worker processes are distributed over the
available CPUs, i can't see how it could affect the ViewState. More info
here:http://msdn.microsoft.com/library/de...delSection.asp

"MattB" wrote:

I have a asp.net 1.1 application that a client is running at a hosting
company. The hosting company has WebGarden = 1 on that machine's
machine.conf ig, and we get the following error in the application:
System.Web.H ttpException: Invalid_Viewsta te.
The solutions I've seen by googling this suggest changing things in the
machine.conf ig, but I don't have access to that. What could I change (if
anything) in the web.config to address this?
Thanks!

Matt

May 25 '06 #4

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

Similar topics

9
21642
by: John Kirksey | last post by:
I have a page that uses an in-place editable DataGrid that supports sorting and paging. EnableViewState is turned ON. At the top of the page are several search fields that allow the user to filter the results in the grid. Say you filter the grid for records that have a certain condition set to "NO" (in this case a checkbox). In this scenario the search returns one result. If I then check the checkbox ("YES") and save it, I now get my message...
1
2339
by: Jenny | last post by:
Hi all, where can I find more good information on Webfarm and Webgarden? Thanks Jenny
0
1447
by: Jeremy | last post by:
Hello all, I've done a couple of hours searching for answers to this question, but couldn't find a definite answer. I'm hoping someone here can just give me a quick answer. I have a dual processor server. Currenty it is set with web-gardening turned off. I have set the threads in machine.config as per microsoft recommendations:
3
2624
by: DrBytes | last post by:
Hello, I have a question about webgardens. As I understand it, a webgarden is physically one box with multiple processors in it. In the MSDN documentation about webgardens they mention : "If webGarden is set to true, by default, all CPUs are enabled and ASP.NET starts one process for each CPU" Ok.. So this means that when I have a box with 2 processors it will actually create a worker process for every CPU. Does this mean that this box...
4
2377
by: cmay | last post by:
If you enable the webgarden setting on a server that has multiple processors, IIS will create multiple worker processes correct? Is it correct that when this happens, these processes can not share inproc session data?
0
1280
by: Phinneas | last post by:
Howdy, I have multiple apps running on a pair of dual-processor Win2k IIS servers, neither of which are domain controllers. My users are experiencing fairly frequent (10-20 / day) "Server Application Unavailable" errors. I'm using a custom "Server Application Unavailable" page to send me an email whenever this occurs. I also have a ProcessHistory page that leverages ProcessModelInfo.GetHistory() to show me what's going on at the...
6
2058
by: hitendra15 | last post by:
Hi I have created web user control which has Repeater control and Linkbutton in ItemTemplate of repeater control, following is the code for this control On first load it runs fine but when page gets post back it gives following error Failed to load viewstate. The control tree into which viewstate is
1
3765
by: SevDer | last post by:
Hi, I would like to know, if it is possible to maintain affinity by having a webgarden for our ASP.NET application in multi CPU server? And of course if possible without or minimal code change :) Thanks in advance, --
12
1919
by: Nick C | last post by:
Hi How can i reduce the viewstate for my asp.net application. It is getting very large now. What is a good solution? thanks N
0
8598
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
9152
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
9016
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
8887
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
8856
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
5858
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
4360
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...
2
2321
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1997
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.