Page 1 of 1

LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Mon 14 Oct 2013 13:54
by AKRRKA
With LinqConnect Professional Version version 4.2.338 (23-Sep-2013) and 4.2.327 (05-Sep-13) and 4.2.292 (18-Jul-13) - MS SQL Server don`t create Database.

Use code:

Code: Select all

contextForCreateDatabase.CreateDatabase(false, true)
Screenshot with code and DB Monitor window:
http://rghost.ru/49367377/image.png

With previous version (with version 4.2.292 18-Jul-13) all work good.

Please fix it.
Thanks.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Tue 15 Oct 2013 11:42
by MariiaI
This is an expected error due to the fact that you are performing the DatabaseExists method before creating a new database, which doesn't exists yet. When open the connection for the first time you get this error and it is handled by LinqConnect - if you continue debugging your application all tables will be created (please see the dbMonitor log) in the new database.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Wed 16 Oct 2013 06:13
by AKRRKA
Right. To me it need.
First, check to see whether there is created the database, and if it already exists then do not create it. Need some contexts be used to check and to create?
I do not understand why, do not have to work my code.
Despite the fact that it is working correctly with MySQL!!!

PS: Into MS SQL Server Database created without any table!

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Wed 16 Oct 2013 11:18
by MariiaI
We will investigate this issue in more details and inform you about the results as soon as possible.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Tue 29 Oct 2013 05:40
by AKRRKA
Is there any results?

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Tue 29 Oct 2013 06:10
by MariiaI
The bug related to the "Cannot open database..." error when calling CreateDatabase(false,true) after the DatabaseExists() method has been fixed. The fix will be included in the next build of LinqConnect. We will inform you when it is available for download.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Wed 30 Oct 2013 15:02
by AKRRKA
When will the next version?
For me it is a very important issue.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Thu 31 Oct 2013 06:55
by MariiaI
We are going to release the new build of LinqConnect today or tomorrow. We will post here when it is available for download.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Thu 31 Oct 2013 09:12
by AKRRKA
Thanks for the reply.
I'll be waiting.

Re: LinqConnect Professional Version 4.2.338 (23-Sep-2013) - MS SQL Server don`t create Database.

Posted: Fri 01 Nov 2013 06:15
by MariiaI
New build of LinqConnect 4.4.364 is available for download now!
It can be downloaded from http://www.devart.com/linqconnect/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=31&t=28242.