我正在尝试使用django mssql将我的django数据库迁移到mssqlserver10.50.2500。当我试图运行python manage.py migrate
时,我得到了这个错误:
django.db.utils.OperationalError: (com_error(-2147352567, 'Exception occurred.', (0, 'ADODB.Connection', 'Provider canno
t be found. It may not be properly installed.', 'C:\\Windows\\HELP\\ADO270.CHM', 1240655, -2146824582), None), 'Error op
ening connection: DATA SOURCE=10.1.4.100;Initial Catalog=(REMOVED);UID=(REMOVED);PWD=******;PROVIDER=sqlncli10;DataT
ypeCompatibility=80;MARS Connection=True')
django mssql的文档中说首先安装sqlservermanagementstudio,我已经完成了(2012版)。我错过了什么?考虑到服务器的版本,我应该使用2008版的SSMS吗?我需要单独安装sqlncli10吗?在
在设置.py,我也尝试过输入字母数字服务器名,仅输入IP地址,以及IP地址和端口,但都没有用。在
谢谢你的帮助
错误日志显示连接到10.1.4.100时出错。这可能意味着你的mssql服务器没有运行,或者你没有访问它的权限。在
您已经提到您已经安装了SQLServerManagementStudio,但没有提到是否启动了SQLServer实例。如果还没有,可以使用SQLServerConfigurationManager for Windows来完成。^来自Microsoft Technet的{a1}将指导您启动实例。在
相关问题 更多 >
编程相关推荐