2010-05-05 108 views
0

我使用asp.net(.NET框架2.0) 我收到以下錯誤我的AJAX彈出擴展請幫我解決我的Ajax錯誤

錯誤:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. 

Details: Error parsing near 'The server rejected '. 

實際上不是給我在本地主機上的錯誤,我已經上傳到另一臺服務器上的其他2臺服務器上它的工作正常,但在其他服務器上它給了我上面的錯誤。 (在工作正常的服務器上已經得到了Windows 2000,並在其錯誤的MS Windows 2003)。這是鏈接,它給我的錯誤:highschoolers其「加入新的免費」按鈕..

回答

2

我檢查了Ajax響應,並發現了可能是真正的錯誤:

The server rejected the sender address. The server response was: 501 Your domain does not seem to be valid. Could not find MX record for your domain.

看看您使用電子郵件發送的代碼。

+0

請告訴我如何解決此錯誤。 – 2010-05-05 07:16:34

+0

查看將電子郵件發送到提供的地址的代碼。這聽起來像SMTP服務器拒絕你的From:地址。 – Matt 2010-05-05 07:19:26

+0

我正在使用SmtpMail.Send(myEmail)發送郵件 – 2010-05-05 07:19:57