CSDN的錯誤資訊

來源:互聯網
上載者:User
回複一篇文章的時候發現如下錯誤資訊,大家來挑挑刺

[SoapException: System.Web.Services.Protocols.SoapException: 伺服器無法處理請求。 ---> System.Data.SqlClient.SqlException: SQL Server 不存在或訪問被拒絕。
   at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction)
   at System.Data.SqlClient.SqlConnectionPoolManager.GetPooledConnection(SqlConnectionString options, Boolean& isInTransaction)
   at System.Data.SqlClient.SqlConnection.Open()
   at ASPHelper.SQLAccess.ExecuteScalar(String connectionString, CommandType commandType, String commandText, SqlParameter[] commandParameters)
   at CSDNWebService.User.Login(String UserName, String Password)
   --- 內部異常堆疊追蹤的結尾 ---]
   System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1489
   System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +217
   CSDN.Comment.Components.UserWS.Login(String UserName, String Password) +64
   CSDN.Comment.Components.PostComment.btnPost_Click(Object sender, EventArgs e) +79
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain() +1277

我能看到的是:
1. 頁面提交的會回複被提交到某個web service,這個ws實現了提交任務.原來繞了這麼大一個圈子,算不算WS濫用?
2. web.config沒配置好,調試資訊不該對外.

CSDN是在走下坡路還是忙於出版賺錢?好象首頁新聞很久都不更新,首頁文章檔次也慘不忍睹.
遺憾啊.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.