中易网

MSSQL问题。

答案:1  悬赏:40  
解决时间 2021-04-28 18:38
打开数据库软件查询信息提示以下错误:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Data.SqlClient.SqlException: 无法打开登录 'lysoft' 中请求的数据库。登录失败。
用户 'sa' 登录失败。
   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 Notepad.Object.Clinic.ClinicCharge.Select(String SearchType, String SendMed, String BeginDate, String EndDate, String Num, String CardID, String KAunit, String DoctorID, String Name, String OfficeID, String Square, String Manager, String Cancellation, String Collect, String Datetime)
   at Notepad.Winform.Clinic.frmChargeSearch.SearchData()
   at Notepad.Winform.Clinic.frmChargeSearch.toolBar1_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
   at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
   at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
   at System.Windows.Forms.ToolBar.WndProc(Message& m)
   at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
----------------------------------------
医院管理信息系统
    Assembly Version: 1.0.3351.17294
    Win32 Version: 1.0.3351.17294
    CodeBase: file:///E:/重庆耀福科技有限公司/HIS/Debug/医院管理信息系统.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 1.0.5000.0
    Win32 Version: 1.1.4322.573
    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
最佳答案

System.Data.SqlClient.SqlException: 无法打开登录 'lysoft' 中请求的数据库。登录失败。
用户 'sa' 登录失败。


说明帐号密码不对,再仔细对下,还有设置到windows与sql模式登录

我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
睡前吃玉米喝酸奶会瘦不?
为什么灰太狼那么可爱?
一个圆锥的体积是30cm³,高是18cm,底面积是
化物语的播放时间?
武汉哪有做帆布音响套子的?
痘痘留下的坑能弄平吗?谢谢。
斐斯贝尔艺术蛋糕地址有知道的么?有点事想过
为什么拨打交行借记卡客服95559是空号?
这3个字(“地”“得”“的”)前面分别加的是
南京市玄武湖公园怎么样?好玩不?
哈尔滨那有练习普拉提的地方
QQ宠物猪猪问题
数控车刀架润滑用什么油,进给箱用什么有。怎
田忌赛马的经济学解读
怎样关闭 微信收到新消息时单独弹出的小提示
推荐资讯
二十三岁了怎样能长高?
高压电工超高级难度的试题 看看你能的积分
阿凡达全集在哪看?不要预告片
怎么关闭自动准备
烟台鑫涛铸钢有限公司地址在什么地方,想过去
在那里可以找到最好的淘宝代理商
空间开通了图标不亮怎么弄啊是电脑图标
请问湖南籍的第二代身份在石岩有办事处吗..
喜欢有几种?
把这些符号给我弄出来
办理结婚证必须双方在场么?若一方去世呢是否
为什么bb8830打开数据服务就没有信号了
手机登qq时,显示手机磁盘不足,清理后重新登
刺客的套装怎么选啊?