我用SQLCONNECTION组件连接数据库,在连接测试时正常。
但我浏览时报错。
报错信息如下:
用户 'sa' 登录失败。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败。Source Error:
Line 32: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 33: '在此处放置初始化页的用户代码
Line 34: obj.Open()
Line 35: Response.Write("seccuss")
Line 36:
但同样的做法,在同事那里一切正常。
不知道问题出在那里,是.NET有问题,还是SQL2000有问题!
但我浏览时报错。
报错信息如下:
用户 'sa' 登录失败。
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: 用户 'sa' 登录失败。Source Error:
Line 32: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Line 33: '在此处放置初始化页的用户代码
Line 34: obj.Open()
Line 35: Response.Write("seccuss")
Line 36:
但同样的做法,在同事那里一切正常。
不知道问题出在那里,是.NET有问题,还是SQL2000有问题!
解决方案 »
- 网上看到的一段话,HTTPContect.Items缓存,什么意思,怎么用
- .一个实现星级评分的小页面
- treeview 打开文件
- 关于 asp.net 的iis “ 若要访问本地IIS网站,必须在管理员的上下文运行Visual Studio ?”
- 本人的vs.net2005,只有debug选项,不能发布,为什么?
- 如何设置自定义的404错误!!,不要让我用程序写~~~~~!!!!!!!
- asp.net 网站管理工具怎么提示打开不了数据库啊
- 向高手请教页面安全问题!谢谢!
- 如何用.NET实现聊天室功能???动态(激发)刷新页面??大家讨论一下。--谢谢--分数多多
- ASP.NET 截取页面,保存为一张图片
- 如何用一个button调用子函数?急...再弄不出来,工作就没了,大家帮帮忙
- 菜鸟请教 如何显示.SWF文件?
看看你的sql数据库sa是不是有密码但你没有写上?
看看你的sql数据库sa是不是有密码但你没有写上?
这是在那里设呢?是设.NET的配置文件里,还是是SQL2000里的。
try
这是在那里设呢?是设.NET的配置文件里,还是是SQL2000里的。
-------------------------------------------------------------------------------------〉
SQL里企业管理器