PDA

View Full Version : خطا هنگام ورود با کنترل پنل



alidotnet
پنج شنبه 07 تیر 1386, 11:58 صبح
سلام
من یک سایت درست کردم و داخل کامپیوترم درست جواب می ده و لی وقتی سایت را آپلود کردم سایت بالا می آید و لی بیشتر اوقات وارد کنترل پنل سایت می شوی یا اینکه وارد می شود ولی هنگام وارد کردن داده این پیغام را می دهد :
(هاست مورد نظر asp2 را پشتیبانی می کند)

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\Temp orary ASP.NET Files\root\cbfb9823\75a94faf\App_Web_kwws9bys.4.cs Line: 0

Stack Trace:

[CryptographicException: Padding is invalid and cannot be removed.]
System.Security.Cryptography.RijndaelManagedTransf orm.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) +1489868
System.Security.Cryptography.RijndaelManagedTransf orm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +306
System.Security.Cryptography.CryptoStream.FlushFin alBlock() +30
System.Web.Configuration.MachineKeySection.Encrypt OrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, Boolean useValidationSymAlgo) +154
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +152

[ViewStateException: Invalid viewstate.
Client IP: 217.219.183.68
Port: 60726
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
ViewState: GWphPeZe9ppVpUXDFLpgAEcgULfVTNf2fu+pGyVFoHiOnjm5WI MiyeqJ1W1ze+ZvxEf77SYqj+Cfalsxsd6P3JHdcFcXQQxVBZmL P09drpMK/lHTmJD9kZ+9nJ+GpFxJJNh+GqSQXG9NKfPGmisjzV4yHgH4KDH k40xfLWXLC36bR9FmxqkPwQveEtfTt+4fLm2gYTxpVYsVsVu/2lViMPbXHeksehVFAqU4u+Uz/em41RlwkcVxw1xW9BPHa+NFTVDFf8PouP71w/tDrSfr7d6ZR37Pn1IWXAW5tj251tz8ZJ/B5SlTus1Br3sehqZiIE4n54Y6nzf9pOJtwzgPAKdUaZoiJM/eUVg2G079dBSatR8IvsIkPKasRaxJ9YR7MRMdN9Fq0Q1tvJaH7 e4eqvC/+RzqCjWgLDRorEPcOCmlQSqMqK+CGBSE79LUe2pmrpTA+Hb4yJ Nemweza6rUuE1PVbfgMimPaRLO1RlaueWuTaecPx0TOJ47Hlt3 MprMGRHzq8mpUmAtc+jTZIUYkPqMmo+MIfoW6hkGdn66NJU=
Referer: http://www.partpishsaz.com/EditAc.aspx
Path: /EditAc.aspx]

[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(Except ion inner, String persistedState, String errorPageMessage, Boolean macValidationError) +116
System.Web.UI.ObjectStateFormatter.Deserialize(Str ing inputString) +251
System.Web.UI.ObjectStateFormatter.System.Web.UI.I StateFormatter.Deserialize(String serializedState) +4
System.Web.UI.Util.DeserializeWithAssert(IStateFor matter formatter, String serializedState) +37
System.Web.UI.HiddenFieldPageStatePersister.Load() +220
System.Web.UI.Page.LoadPageStateFromPersistenceMed ium() +83
System.Web.UI.Page.LoadAllState() +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6953
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +154
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(Http Context context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.editac_aspx.ProcessRequest(HttpContext context) in c:\windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\cbfb9823\75a94faf\App_Web_kwws9bys.4.cs :0
System.Web.CallHandlerExecutionStep.System.Web.Htt pApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +64


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
لطفا راهنمای کنید
متشکرم

ealireza
شنبه 09 تیر 1386, 01:25 صبح
به نظر میرسه که یک برنامه یا سرویس (INDEX SERVICE) داره فایلو میخونه و اجازه ی نوشتن در Temp رو نمیده
با مدیر سرور تماس بگیرید و بگید Index Service رو غیر فعال کنند

در ضمن از این به بد از بلاک CODE استفاده کن !

موفق باشید