Re: connection to an existing legacy database

2021-07-21 Thread Gabriel Araya Garcia
Get the  [ODBC Driver in other site, perhaps your odbc driver are corrupted.

Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos




El lun, 19 jul 2021 a las 19:58, sum abiut () escribió:

> I am trying to connect Django to an existing legacy database but I got
> this error message. I only get the message why I try to migrate. I follow
> the guide from the Django documentation
> .
> error message:
> django.db.utils.ProgrammingError: ('42S01', "[42S01] [Microsoft][ODBC
> Driver 17 for SQL Server][SQL Server]There is already an object named
> 'Department' in the database. (2714) (SQLExecDirectW)")
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPCf-y68HNmO3yzkgLhhoY18Tav7U6KE-YxXRvcPOXVc1__6FA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKVvSDCHNksKKOuhv4NpB0KVRxXRTcVD6Umrf%2BQCG%2BN0YwKBqA%40mail.gmail.com.


Re: connection to an existing legacy database

2021-07-20 Thread sum abiut
It was simplet fix. department was set to managed =True, i set that to
False  and it fixed the problem.

Cheers

On Wed, Jul 21, 2021 at 1:43 AM Divyesh Khamele  wrote:

>
> If you have any doubt I’ll provide you all the solutions (Dm for paid work)
> On Tue, 20 Jul 2021 at 5:29 AM, sum abiut  wrote:
>
>> I am trying to connect Django to an existing legacy database but I got
>> this error message. I only get the message why I try to migrate. I follow
>> the guide from the Django documentation
>> .
>> error message:
>> django.db.utils.ProgrammingError: ('42S01', "[42S01] [Microsoft][ODBC
>> Driver 17 for SQL Server][SQL Server]There is already an object named
>> 'Department' in the database. (2714) (SQLExecDirectW)")
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPCf-y68HNmO3yzkgLhhoY18Tav7U6KE-YxXRvcPOXVc1__6FA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOcoDQX0Bio_2wcQ%2BCCvZZwfuX3h8bhjOc%2BGXqNN292bG_K9dw%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPCf-y5aY7yfe%3DZXmmOywAqftb7s46EMo-qyeD9%3D8MmzBj6pyg%40mail.gmail.com.


Re: connection to an existing legacy database

2021-07-20 Thread Divyesh Khamele
If you have any doubt I’ll provide you all the solutions (Dm for paid work)
On Tue, 20 Jul 2021 at 5:29 AM, sum abiut  wrote:

> I am trying to connect Django to an existing legacy database but I got
> this error message. I only get the message why I try to migrate. I follow
> the guide from the Django documentation
> .
> error message:
> django.db.utils.ProgrammingError: ('42S01', "[42S01] [Microsoft][ODBC
> Driver 17 for SQL Server][SQL Server]There is already an object named
> 'Department' in the database. (2714) (SQLExecDirectW)")
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPCf-y68HNmO3yzkgLhhoY18Tav7U6KE-YxXRvcPOXVc1__6FA%40mail.gmail.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOcoDQX0Bio_2wcQ%2BCCvZZwfuX3h8bhjOc%2BGXqNN292bG_K9dw%40mail.gmail.com.


connection to an existing legacy database

2021-07-19 Thread sum abiut
I am trying to connect Django to an existing legacy database but I got this
error message. I only get the message why I try to migrate. I follow the
guide from the Django documentation
.
error message:
django.db.utils.ProgrammingError: ('42S01', "[42S01] [Microsoft][ODBC
Driver 17 for SQL Server][SQL Server]There is already an object named
'Department' in the database. (2714) (SQLExecDirectW)")

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPCf-y68HNmO3yzkgLhhoY18Tav7U6KE-YxXRvcPOXVc1__6FA%40mail.gmail.com.