I am trying to migrate my django database to MS SQL Server 10.50.2500 using django-mssql. When I try to run python manage.py migrate
I get this error:
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')
The documentation for django-mssql says to install SQL Server Management Studio first, which I have done (version 2012). What am I missing? Should I be using SSMS version 2008, given that's the version of the server? Do I need to separately install sqlncli10?
In settings.py, I have also tried entering the alphanumeric server name, the IP address alone, and the IP address and the port, all to no avail.
Thanks for the help
Your error log shows there is an error connecting to 10.1.4.100. It can mean that your mssql server isn't running or you do not have access to it.
You have mentioned that you have installed SQL Server management studio but haven't mentioned whether you have started an instance of SQL server. If you haven't yet, you can do that using SQL server configuration manager for Windows. This topic from Microsoft Technet will guide you through starting an instance.