Microsoft OLE DB Provider for SQL Server 错误 '80040e4d' 无效的授权说明

xuguorong 2013-11-15 11:56:55
原本网站是链接acess,现在改为:
dim strconn
set conn_db=server.CreateObject("ADODB.Connection")
strconn="Provider=SQLOLEDB;driver={sql server};server=localhost;datebase=dataSQL;uid=sa;pwd=123;"
conn_db.connectionstring=strconn
conn_db.open

访问时出现:

...全文
726 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
  • 打赏
  • 举报
回复
检查你那个页面的62行代码
xuguorong 2013-11-15
  • 打赏
  • 举报
回复
代码是: rs.open "select * from [authority] where name='"&name&"' and password='"&password_MD&"'",conn,1 acess是没问题的,很多页面只要调用rs.open都会报报那个问题。

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧