2011-07-31 115 views
1

首先,我是ASP.net的新手,對我來說這是一個新領域。ASP.net - 從服務器返回的狀態碼是:500

我在一個VB.net項目上使用Telerik控件。我將下面的錯誤作爲表單上每個動作的javascript錯誤。更改任何值,無論是telerik滑塊,單選按鈕,asp:按鈕,提交按鈕,telerik評分。

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while 
processing the request on the server. The status code returned from the server was: 500 

據我瞭解,500錯誤是當服務器沒有任何更多的細節引發的錯誤,但我希望有人可能有類似的情況,可以點我朝着正確的方向,因爲我有一個好感覺它與Telerik控件有關。

我能夠使用JavaScript提交表單然而,我得到以下錯誤,我不知道他們是否相關。

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. 
+0

檢查你的web.config文件。 –

+0

我是ASP.net的新手,我在找什麼?我搜索了一段時間後添加了下列內容,但它沒有做任何事情: Patcouch22

+1

禁用「友好的錯誤消息」:http:// classicasp .aspfaq.com/general/why-do-i-get -a-500-internal-server-error-for-all-asp-errors.html –

回答

0

我有此異常與Telerik控制了幾次。嘗試使用的應用程序一樣提琴手

http://www.fiddler2.com/fiddler2/

當你的應用程序獲取到異常的點,它會給你更多的細節。

相關問題