السلام عليكم ورحمه الله وبركاته
اختي طبعا لو اشتغل تمام على جهازك بيشتغل اونلاين!! طيب ممكن ترفقي رسالة الخطأ؟!!
.:: Wish to become better and better ::.
السلام عليكم ورحمه الله وبركاته
اختي طبعا لو اشتغل تمام على جهازك بيشتغل اونلاين!! طيب ممكن ترفقي رسالة الخطأ؟!!
.:: Wish to become better and better ::.
VB Helper كتب:السلام عليكم ورحمه الله وبركاته
اختي طبعا لو اشتغل تمام على جهازك بيشتغل اونلاين!! طيب ممكن ترفقي رسالة الخطأ؟!!
رسالة خطأ جديدة
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:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
1. Add a "Debug=true" directive at the top of the file that generated the error. Example:
<%@ Page Language="C#" Debug="true" %>
or:
2) Add the following section to the configuration file of your application:
<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>
Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
Stack Trace:
[ViewStateException: Invalid viewstate.
Client IP: 195.229.237.43
Port: 63436
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.91 Safari/534.30
ViewState: /wEPDwUKMTU0NTcxNjkwNg9kFgICAw8WAh4HZW5jdHlwZQUTbXVsdGlwYXJ0L2Zvcm0tZGF0YWRk5AdslP45jjJtJSNwbuyFjak9uwQ=
Referer: http://www.abdmoh.somee.com/
Path: /default.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(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106
System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14
System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +237
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() +207
System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
System.Web.UI.Page.LoadAllState() +43
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
System.Web.UI.Page.ProcessRequest() +80
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.default_aspx.ProcessRequest(HttpContext context) +37
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
السلام عليكم ورحمه الله وبركاته
اختي كما توقعت قومي بوضع الكود التالي في ملف ال Web.Config
<pages enableEventValidation="false" viewStateEncryptionMode="Never">
ويمكنك الاستفاده من الرابط التالي
.:: Wish to become better and better ::.
شكراً اخي الكريم
VB Helper
زبطت اخيراً هين جربت ارفع ملفات كتير وما خربت معي عملية الرفع ولا مرة شكراً االك
بس انا اضفت بالويب كونفج <machineKey validationKey="13D75B0006FA431E7D3B4D3250A962C96F79828DE133EE14CA68B12E726F96EA84454A18BD3C2AC169D0CBD376C79B25F3DB5C8D3A072B27D7CDB44ECD0A2C4A" decryptionKey="2304BFFC46C2B8704A43D949FCB6E70B4521AEB5893516467E28E3986ADEFFB8" validation="SHA1" decryption="AES" />
زي ما موجود بالرابط اللي اعطيتني اياه شكراً على الرابط
شكراً اخي الكريم
ويا رب ما يخرب معي مرة تانية
الله يستر
:blush:بس اخي ممكن تحكيلي شو هاد لانه هو اساس البلا
:unsure: :unsure: :unsure: :unsure: :unsure: :unsure:
<machineKey validationKey="13D75B0006FA431E7D3B4D3250A962C96F79828DE133EE14CA68B12E726F96EA84454A18BD3C2AC169D0CBD376C79B25F3DB5C8D3A072B27D7CDB44ECD0A2C4A" decryptionKey="2304BFFC46C2B8704A43D949FCB6E70B4521AEB5893516467E28E3986ADEFFB8" validation="SHA1" decryption="AES" />
السلام عليكم ورحمه الله وبركاته
لاشكر على واجب اختي .. كانت المشكله في المفتاح وهذا ما هو الا مفتاح تستخدمه ال ASP.NET للتحقق من ال ViewState
بالتوفيق ..
.:: Wish to become better and better ::.
المتواجدون خلال آخر دقيقتين · يتحدّث كل ٣٠ ثانية
جارٍ التحقق من المتواجدين…