Home > Database > Mysql Tutorial > body text

sql server 2005时发生18452错误解决方法

WBOY
Release: 2016-06-07 16:23:14
Original
1906 people have browsed it

ODBC 测试sql server 2005时发生18452错误解决方法 用.net开发的网站连接数据库里发生错误,当访问静态页面里显示正常。 1.首先想到的是测试ODBC数据源,当用sql用户和密码登录时出现如下图错误: 2.因为是在客户服务器上安装,所以未设置sa的密码,由于安装

  ODBC 测试sql server 2005时发生18452错误解决方法

  用.net开发的网站连接数据库里发生错误,当访问静态页面里显示正常。

  1.首先想到的是测试ODBC数据源,,当用sql用户和密码登录时出现如下图错误:

sql server 2005时发生18452错误解决方法  三联

  2.因为是在客户服务器上安装,所以未设置sa的密码,由于安装时未勾选择了“windows身份验证”,所以当你测试sql server 2005的用户时出现此错误。

  3.打开"SQL Server Management Studio"双击数据库所在的实例,打开如下图“服务器属性窗口”-->“安全性”选项卡--->服务器身份验证:sql server和windows身份验证模式-->单击“应用”保存所做设置。

sql server 2005时发生18452错误解决方法

  4.重新启动 “sql server服务”问题得到解决。

  附:当测试内部员工论坛时又出现如下图80040e24 错误:

sql server 2005时发生18452错误解决方法

  1.找到文件报错位置,是一串连接ACCESS的代码;想到登录到论坛要写入内容,故给连接的页面和论坛数据库写入权限,问题解决。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!