Trying to understand what is this Error


I'm getting this error on my web site a bit  to often , and I have no idea why and what it is ,

On my local computer it has never happen ,

Can any one please explain what it is and where is the problem?

And how I can fix it

This is the Error :

Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

 

thanks

Assaf


http:///www.saleradar.co.il
0
assafg2
2/25/2009 1:02:37 PM
asp.net.getting-started 91979 articles. 3 followers. Follow

2 Replies
257 Views

Similar Articles

[PageSpeed] 42

Hi assafg2,

It looks like you are dynamically creating controls, is this the case?

 When creating controls dynamically, you must recreate the control on each postback in order for the viewstate to be accurate and avoid this message.  Controls should be added before the Page_Load event in order to maintain a valid viewstate.

 Hope this helps.


Happy Coding,

SyntaxC4

*** REMINDER ***
If you find this post useful, Please click the 'Mark as Answer' Button.

*** DISCLAIMER ***
All Code is provided AS IS.

** Want Some Useful Sites **

http://www.delicious.com/SyntaxC4
0
SyntaxC4
2/25/2009 1:18:59 PM
0
jithin76
2/26/2009 9:26:50 AM
Reply:

Similar Artilces:

trying to get started and i am getting this error
when i go to http://www.porkchopsplayground.com, i get: DotNetNuke Upgrade Error The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ) ERROR: Could not connect to database. Could not find file 'd:\hosting\nmoran26\Providers\DataProviders\AccessDataProvider\DotNetNuke.mdb'. Any suggestions will be appreciated. Thanks, Nicole Do you have a username and password set on your database? Make sure you follow the steps mentionned in the Readme.txt located in the documentation folder. In any case make sure your credentials for yo...

Getting "Problem in Mapping Fragment starting at line ..." error when trying to create table mappings for table associations in ADO.NET Entity Framework
 Table A: COUNTRY_LOOKUP COUNTRY_ID   smallintclustered, unique, primary key located on PRIMARY    COUNTRY_ID TABLE B: COUNTRY_MODE_RULES CARRIER_ID    intMODE_RULE_TYPE_ID    intORIG_COUNTRY_ID    smallintDEST_COUNTRY_ID    smallint clustered, unique, primary key located on PRIMARY    CARRIER_ID, MODE_RULE_TYPE_ID, ORIG_COUNTRY_ID, DEST_COUNTRY_IDThere is a foreign key relationship from COUNTRY_MODE_RULES to COUNTRY_LOOKUPORIG_COUNTRY_IDREFERENCES .COUNTRY_LOOKUP (COUNTRY_ID)DEST_CO...

trying to run a .net app and getting error. Anyone know why? Thanks!
c:\windows\system32\inetsrv> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows...

getting a socket.c:2884 error when trying to start DNS server
In starting a secondary DNS server, NAMED.RUN shows: general: main: error: socket.c:2884: unexpected error: general: main: error: bind: No buffer space available general: main: error: bind: No buffer space available general: server: error: could not get query source dispatcher unexpected error general: server: debug 1: load_configuration: unexpected error general: server: critical: loading configuration: unexpected error general: server: critical: exiting (due to fatal error) An IN-ADDR object had been moved in the tree prior to this while the secondary DNS server was up. The DNS...

I'm getting a script error message sometimes when trying to start firefox
Name: Venessa Product: Firefox Release Candidate Summary: I'm getting a script error message sometimes when trying to start firefox Comments: This is the message I get: A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: file:///C:/Program%20Files/Mozilla%20Firefox%203.5%20Beta%204/components/nsAddonRepository.js:338 It happens when firefox is trying to bring up the add-on updater before actually starting. If you click "continue" it seems normal, a...

Getting password error when trying to get mail.
Hi, my problem is that when I logon to Thunderbird & it immediately logons to the relevant POP3 server it throws back an alert that 'Sending the password did not succeed. Mail server MAIL1.eircom.net responded: invalid ray o'sullivan'. I have contacted the support people for the eircom server mentioned above and confirmed that the password I was using was/is correct. I have been using Thunderbird for 2 to 3 years with no issues even when I went to broadband. Any clues to a resolution would certainly be appreciated as I am a daily user. Thanks, Ray. ...

Getting error in Net::SFTP with get function
------=_Part_7028_3315294.1193837808284 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, I have the following code as part of my program; print "---=========> $file, $localFile\n"; $sftp -> get( $file, $localFile ) || warn("errrrr0rrrrr _---> $!".$sftp->status."\n");^M Even though it has downloaded the file properly, it is giving the following message: ---=========> /trading/tiscrdenhlist10310000.txt.old, /export/home/crdadm/rajeev/tiscrdenhlist103...

Getting path denied error when trying to run copied .NET 1.1 project to new server
I am having a problem getting a project started on one server transferred to another.  USS folder does not exist. Entire Solution and Project Files were copied onto server. Know I am missing something here. Thanks.   Server Error in '/USS' Application. Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\uss\7cb89631\ffe5ea77" is denied. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the cod...

Trying to create .net assembly
I'm just migrated a pfc based application from 10.5 to 12.1. The main reason for the migration was to reuse code in a .net application. To that end I've attempted to create a .net assembly. After adding the .net assembly target using the existing app I then tried to deply it but get the following error: Error when compiling generated C# code: a_madcst(4,16): error CS0101: The namespace '<global namespace>' already contains a definition for 'c__a_madcst' Any help you can give me would be much appreciated. Thank You , Mike Mike, Please cla...

VS.NET 2005 is ignoring in web.config strict="true". I get no error when I try this: Dim x As Integer = "string"
Hello,I have this in my VS.NET 2005 web.config <compilation debug="true" strict="true" explicit="true">When I do this in my vb code:Dim x As Integer = "string"I get no error. When I hit compilation I also get no error. What am I doing wrong?Thanks for helping!Regards,J. Bauer It's a bug of some sort See this response by Scott Guthriehttp://lab.msdn.microsoft.com/productfeedback/viewfeedback.aspx?feedbackid=3c1c9898-8076-4f69-a5e2-e99573d03c6e Unfortunately we don’t have a GUI based way to configure this. L It is something we will make sure gets added back in, though, with the next...

Trying to transfer a Web Service made in .NET aspx on my "localhost", to online and getting BC30002: Type 'localhost.Convert' is not defined. error
I think I get the general idea of this error.  The webservice works on my computer as Visual Web Developer somehow makes a temporary server out of my computer.  But when I try to FTP my full ASP page I get an error that localhost is not defined.  This makes sense as I am sure the web server for GoDaddy is not called localhost for me.  Now in my App_WebReferences folder in my program I have a local host folder that holds 3 automatically generated files which are somehow "calls" to a webservice that I built.  So I have the original files for the webservi...

I can't get no cache, I can't get no cache. 'Cause I try and I try and I try and, I can't get no, I can't get no cache.
I have fiddled out for days tinkering with the setting in about:config trying to get FireFox 12 to use the disk cache. I have NOT found the trick. This One Trick Pony ain't doing it like it used to up until recently. Pray tell anyone, What information can I share that will point a knowledgeable person to aid me in getting FF to disk.cache? I have also tried restarting FF with add-ons disabled, (There were NOT too many to do this to, so it was quick and easy) Here is my stab at trying to convey the information that MIGHT govern matters Using about:cache Informatio...

Re: I can't get no cache, I can't get no cache. ' Cause I try and I try and I try and, I can't get no, I can't get no cache.
<div>please com e see me about htis<br /> <br /> ------- Original Message f= rom the Global Relay Archive -------<br /> From: Hp &lt;ferd@farkel.net&gt;= <br /> To: "support-firefox@lists.mozilla.org" &lt;support-firefox@lists.mo= zilla.org&gt;<br /> Sent: Sun, 27 May 2012 18:30:18 -0700<br /> Subject: I = can't get no cache, I can't get no cache. 'Cause I try and I try and I try = and, I can't get no, I can't get no cache.<br /> <br /></div> <pre class=3D"gr-maex-body-pre&qu...

everytime I try to get on espn.com, I get an error and browser closes
Name: Shaun Email: shaunshaikhathotmaildotcom Product: Firefox Summary: everytime I try to get on espn.com, I get an error and browser closes Comments: Summary is sufficient Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9b4) Gecko/2008030714 Firefox/3.0b4 ...

Getting an error while trying to get the list directories present in FTP server
Please anyone help me out with this problem; Actually when i trying to get list of directories from ftp server m getting error as "The remote server returned an error: (550) File unavailable (e.g., file not found, no access). " Here is my code: Am calling this method from page load;public void GetDirectories(string strProduct) {  StringBuilder strBuilder = new StringBuilder();  #region"FTP - List Directories" try {string ftpServerIP = "ftpserverurl" or Ip address FtpWebRequest ftpReq;ftpReq = (FtpWebRequest)FtpWebRequest.Create(ne...

Web resources about - Trying to understand what is this Error - asp.net.getting-started

Resonate Social For Facebook Helps Advertisers Understand Users’ Motivations
Why do Facebook users make the decisions they make? Resonate wants to help advertisers find out, so the digital marketing outfit launched Resonate ...

Facebook PMD Gigya releases Consumer Insights to better understand user identities
... allows marketers to easily query Gigya’s Identity Storage database and tie identity information with key performance indicators to understand ...

Genius — Search and understand the meaning of song lyrics, poetry, literature, and news on the App Store ...
Get Genius — Search and understand the meaning of song lyrics, poetry, literature, and news on the App Store. See screenshots and ratings, and ...

All sizes - Most people do not listen with the intent to understand; they listen with the intent to reply ...
Flickr is almost certainly the best online photo management and sharing application in the world. Show off your favorite photos and videos to ...

"Understands" - YouTube
If Mitt Romney wins, the middle class loses. (Priorities USA Action is responsible for the content of this advertising)

Scientists continue search to understand Mers
The Mers coronavirus continues to confound scientists. To better understand the disease and determine where it comes from, a new project set ...

Explainer Video of the Day: Author John Green Helps You Understand Boko Haram
... in the news, but the situation in Nigeria with the Islamist terrorist group Boko Haram often gets overlooked and can be difficult to understand. ...



Businesses don't understand FTAs, so how will they deal with the TPP?
The government is keen to negotiate free trade agreements to bolster economic activity, but new research shows it has its work cut out to educate ...

Resources last updated: 11/26/2015 9:55:08 AM