 |
|
ช่วยแก้ไข error : The type or namespace name 'AForge' could not be found |
|
 |
|
|
 |
 |
|
ไปหา DLL Component มาทำการ Add Reference ครับ หรือไม่ก็ Copy ไว้ในโฟเดอร์ Bin ครับ
|
 |
 |
 |
 |
Date :
2012-06-08 21:46:35 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ทำแล้วครับ...ผมแอดมันเข้าไปด้วยครับ...แต่ก็ไม่ได้ผลครับ..
|
 |
 |
 |
 |
Date :
2012-06-08 21:48:53 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คุณเขียนบน Visual Studio หรือเปล่าครับ
|
 |
 |
 |
 |
Date :
2012-06-08 22:39:20 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ครับ..ใช่แล้วครับ...ผมใช้ Visual Studio 2008 ในเครื่องผมนะครับ...ไม่ใช่เครื่องเซิร์ฟ
|
 |
 |
 |
 |
Date :
2012-06-08 22:59:16 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ทำไมคุณถึง Imports แบบนั้นครับ ทำไมไม่เขียนแบบ ASP.NET Code-Behind ครับ
Go to : ASP.NET Code-Behind Style
|
 |
 |
 |
 |
Date :
2012-06-08 23:02:22 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมต้องแก้ทุกไฟล์หรือเฉพราะหน้าที่ error ครับ
|
 |
 |
 |
 |
Date :
2012-06-08 23:22:11 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มีปัญหาเรื่อง Version ของ Framework หรือเปล่าครับ
|
 |
 |
 |
 |
Date :
2012-06-09 08:14:02 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใครเครื่อง server มี Framework มี 4.0 ครับ
ส่วนในเครื่องผม มีทั้ง 3.5 และ 4.0 เตรื่องผมเป็นแบบ 32 bit เครื่อง server เป็นแบบ 64 bit จะเกี่ยวกันไหมครับ
|
 |
 |
 |
 |
Date :
2012-06-09 09:59:36 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตั้งแต่ 3.5 ครับ
|
 |
 |
 |
 |
Date :
2012-06-09 11:16:09 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ถ้าเครื่องเราเป็น os 32 bit แต่ server เป็น 64 bit จะมีปัญหาไหมครับ
|
 |
 |
 |
 |
Date :
2012-06-09 11:27:32 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใน localhost ในเครื่องขึ้นแบบนี้ครับ
Code
Server Error in '/' Application.
--------------------------------------------------------------------------------
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.
Stack Trace:
[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.]
System.Web.UI.ClientScriptManager.ValidateEvent(String uniqueId, String argument) +8644665
System.Web.UI.Control.ValidateEvent(String uniqueID, String eventArgument) +69
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +35
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.5456; ASP.NET Version:2.0.50727.5456
|
 |
 |
 |
 |
Date :
2012-06-09 12:14:00 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มันมากับ vs 2008 ครับ
|
 |
 |
 |
 |
Date :
2012-06-09 13:38:55 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ตอนคุณเขียนคุณต้องเลือกซิครับว่าจะพัฒนาบน framework ตัวไหน บน server ใช้ 4.0 เครื่องคุณก็ต้องพัฒนาจาก 4.0 อ่ะคับ
|
 |
 |
 |
 |
Date :
2012-06-09 16:25:56 |
By :
xcom |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ใช่ครับ มันมี Version ให้เลือก อยู่บนขวาครับ

|
 |
 |
 |
 |
Date :
2012-06-09 16:37:09 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมก็เลือกเป็น 3.5 ครับ อันนี้มันเลือกได้สูงสุดแค่นี้ครับ vs 2008 32bit

|
 |
 |
 |
 |
Date :
2012-06-09 17:00:39 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ส่วนอันนี้คือ IIS บน windows server ครับ

|
 |
 |
 |
 |
Date :
2012-06-09 17:12:44 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ลอง Create new Project ง่าย ๆ ดูใหม่แล้ว Add Reference แล้ว Import เข้ามาครับ
|
 |
 |
 |
 |
Date :
2012-06-09 20:30:55 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ไม่ได้ครับ...ถ้าเป็นเว็บปกติใช้งานได้ครับ..แต่ถ้ามีการ Reference จะเรียกใช้งานไม่ได้เลยครับ
|
 |
 |
 |
 |
Date :
2012-06-09 20:52:02 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ส่ง dll มาให้ผมหน่อยครับ ขอลองดูหน่อยครับ thaicreate at hotmail....
|
 |
 |
 |
 |
Date :
2012-06-09 20:59:10 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ครับ...ส่งไป หัวข้อว่า ไฟล์ dll ครับ...รบกวนหน่อยนะครับ...ผมอยากจะสอบจบแล้วครับ..ติดตัวนี้มานานแล้วครับ
|
 |
 |
 |
 |
Date :
2012-06-09 21:21:21 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
ผมก็ Add Reference AForge ได้ปกติน่ะครับ

ผมใช้ Visual Studio 2008 (.NET 3.5)
|
 |
 |
 |
 |
Date :
2012-06-09 21:54:51 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
คับ...แต่พอเอาขึ้น windows server 2008 r2 อ่ะครับ...เพราะต้องรันผ่านตัวนี้ครับ
host http://202.29.52.58/s51042000269/Default.aspx
|
 |
 |
 |
 |
Date :
2012-06-09 22:01:06 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|

|
 |
 |
 |
 |
Date :
2012-06-09 22:11:26 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
พอจะแนะนำได้บ้างไหมครับ คือที่ขึ้นแบบนั้นเพราะผม publish ไปไว้ที่ server ตัวที่บอกไปอ่ะครับ
|
 |
 |
 |
 |
Date :
2012-06-09 22:13:44 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
มันยัง Error อะไรอยู่ครับ
|
 |
 |
 |
 |
Date :
2012-06-09 22:33:29 |
By :
mr.win |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
 |
|
|
 |
 |
|
http://202.29.52.58/s51042000269/Default.aspx
ลองเข้าตามนี้นะครับ ชื่อผู้ใช้ admin รหัสผ่าน admin หน้าแรกคลิกที่รายละเอียด
แล้วก็้เลือกจัดการเฉลย แก้ไขเฉลย ครับ ผมอธิบายไม่ถูกครับ
|
 |
 |
 |
 |
Date :
2012-06-09 22:43:31 |
By :
gigclubbeer |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|