PDA

View Full Version : خطاهای هنگام اجرا بر روی هاست لطفا کمک کنید <ضروری>



asi_hesam
یک شنبه 05 اسفند 1386, 03:30 صبح
من سایت رو گذاشتم رو سرور و حالا 2 تا ایراد داره یکیش اینه



Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

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.ArgumentException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


و اون یکی هم اینه



Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS0030: Cannot convert type 'ASP.login_aspx' to 'System.Web.UI.WebControls.Login'

Source Error:

Line 120: public login_aspx() {Line 121: string[] dependencies;Line 122: ((Login)(this)).AppRelativeVirtualPath = "~/Login.aspx";Line 123: if ((global::ASP.login_aspx.@__initialized == false)) {Line 124: global::ASP.login_aspx.@__stringResource = this.ReadStringResource();
Source File: c:\windows\Microsoft.NET\Framework\v2.0.50727\Temp orary ASP.NET Files\root\20e19835\62a3c0a3\App_Web_login.aspx.cd cab7d2.m8xtijzc.0.cs Line: 122


لطفا راهنمائیم کنید بد جور گیر کردم. توسایت سرچ کردم ولی نتونستم پیدا کنم ...
مرسی

merlin_vista
یک شنبه 05 اسفند 1386, 09:15 صبح
برای خطای اول Validation="False" بگزار . در اول صفحه !

E_Zabihi
یک شنبه 05 اسفند 1386, 09:21 صبح
به تگ page توی اولین سطر عبارت EnableEventValidation="true" رو اضافه کن
برای error دوم هم باید در (login)(this) بجای (this) شناسه (ID) همون login control ای رو که استفاده کردی بذاری مثلا اینجوی : (login)(login1)

asi_hesam
یک شنبه 05 اسفند 1386, 14:02 عصر
از هر دوی شما متشکرم اگه بازم موردی بود مزاحمتون میشم تا حدودی درست کار میکنه
بازم مرسی