回复一篇文章的时候发现如下错误信息,大家来挑挑刺 :)

[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是在走下坡路还是忙于出版赚钱?好象首页新闻很久都不更新,首页文章档次也惨不忍睹.
遗憾啊.

相关文章:

  • 2021-05-13
  • 2022-01-14
  • 2021-04-06
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-05
  • 2021-07-13
猜你喜欢
  • 2021-09-08
  • 2022-03-07
  • 2022-02-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案