Something wrong with items copy/paste?

Topics: Developer Forum
Feb 10, 2009 at 9:52 PM
When I've tryed to do Items copy/past the system had falled down with error:
(Of course i've given another name to Item)

Server Error in '/' Application.

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.

Source Error:

[No relevant source lines]

Source File: c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bcab3d2c\24259990\App_Web_1rxkdmaj.5.cs    Line: 0

Stack Trace:

[HttpException (0x80004005): Unable to validate data.]
   System.Web.Configuration.MachineKeySection.GetDecodedData(Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Int32& dataLength) +294
   System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +203

[ViewStateException: Invalid viewstate. 
	Client IP: 127.0.0.1
	Port: 
	User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6
	ViewState: /wEPDwUKMTA2MTM4OTQzNg9kFgJmD2QWAgIDEGRkFgYCAQ9kFgICAw8PFgIeC05hdmlnYXRlVXJsBTcvQWRkb25zL1ByZXR0eU5ld3MvVUkvUHJldHR5TmV3c0xpc3RWaWV3ZXIuYXNweD9wYWdlPTQ4ZGQCBQ8WAh4JaW5uZXJodG1sBWvQmtC+0L/QuNGA0L7QstCw0YLRjCAi0L7Rh9C10YDQtdC00L3QvtC1IDI5LdC1INC30LDRgdC10LTQsNC90LjQtSIg0LIgItCd0L7RgNC80LDQu9GM0L3Ri9C1INC90L7QstC+0YHRgtC4ImQCBw9kFggCAQ8PFgIeDEVycm9yTWVzc2FnZQVt0K3Qu9C10LzQtdC90YIg0YEg0L3QsNC30LLQsNC90LjQtdC8ICJyYW1uLXphc2VkYW5pZS0yOSIg0YPQttC1INC/0YDQuNGB0YPRgtGB0YLQstGD0LXRgiDQv9C+0LQgIm5vcm1hbC1uZXdzImRkAgUPDxYCHgdWaXNpYmxlZ2RkAgkPDxYCHgRUZXh0BSovbWFpbi9ub3JtYWwtbmV3cy88Yj5yYW1uLXphc2VkYW5pZS0yOTwvYj5kZAINDw8WAh8EBSovbWFpbi9ub3JtYWwtbmV3cy88Yj5yYW1uLXphc2VkYW5pZS0yOTwvYj5kZGRC3Kd9C2pQBujL5AQhvmCgqzs3qA==
	Referer: http://localhost:1315/edit/paste.aspx?selected=%2Fmain%2Fnormal-news%2F&memory=%2Fmain%2Fnormal-news%2Framn-zasedanie-29%2F&action=copy
	Path: /edit...]

[HttpException (0x80004005): 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.]
   System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +267
   System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +282
   System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
   System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
   System.Web.UI.HiddenFieldPageStatePersister.Load() +198
   System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +83
   System.Web.UI.Page.LoadAllState() +35
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +7350
   System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +213
   System.Web.UI.Page.ProcessRequest() +86
   System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
   System.Web.UI.Page.ProcessRequest(HttpContext context) +49
   ASP.edit_paste_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\bcab3d2c\24259990\App_Web_1rxkdmaj.5.cs:0
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433