主题:如何解决这个异常阿(在线等。。。)
请问这个异常是什么意思啊?
怎么才能解决?大家帮帮忙,先谢谢了!
具体怎么做啊?初学者迷茫中。。。。。。
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 System.Data.Common.DbDataAdapter.QuietOpen(IDConnection connection,ConnectionsState& originalState)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRectords, String srcTable,
IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords,String srcTable,IDbCommand
command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at 财务系统.frmKeMu.LoadData() in e:\vb.net事例\net事例\chap4\代码\frmKeMu.vb:line 314
怎么才能解决?大家帮帮忙,先谢谢了!
具体怎么做啊?初学者迷茫中。。。。。。
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 System.Data.Common.DbDataAdapter.QuietOpen(IDConnection connection,ConnectionsState& originalState)
at System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRectords, String srcTable,
IDbCommand command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords,String srcTable,IDbCommand
command, CommandBehavior behavior)
at System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
at 财务系统.frmKeMu.LoadData() in e:\vb.net事例\net事例\chap4\代码\frmKeMu.vb:line 314