LLBLGen Pro 2.5 and SQL2012

Posts   
 
    
nash3k
User
Posts: 3
Joined: 22-Dec-2014
# Posted on: 22-Dec-2014 18:34:10   

Hi, Is it possible to obtain the driver for SQL2012 for version 2.5?

Thanks!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 23-Dec-2014 02:39:33   

There is no built-in support for SQLServer 2012 compatibility mode on LLBLGen v2.x versions. However you can still use tbe 2005 compatibility mode and it works against a 2012 db. See:[http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=22192](http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=22192)

On v4.x there is a specific 2012 compatibility mode.

David Elizondo | LLBLGen Support Team
nash3k
User
Posts: 3
Joined: 22-Dec-2014
# Posted on: 23-Dec-2014 11:37:43   

Well I keep getting exception when I try to refresh catalog. I supposed it was due to the fact we use sql srv 2012.

This is an error (.NET exception info)

ExecuteReader: CommandText property has not been initialized

Stack trace:

-----[Core exception]-------------------- at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) at System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) at System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) at SD.LLBLGen.Pro.DBDrivers.SqlServer.SqlServerCatalogRetriever.RetrieveSchemas(String connectionString, IDBCatalog catalogToRetrieve, SchemaFetchFlags fetchFlags) at SD.LLBLGen.Pro.DBDrivers.SqlServer.SqlServerDBDriver.PopulateSelectedCatalogs(Hashtable callBacks, Hashtable connectionElements, SchemaFetchFlags fetchFlags, Hashtable properties) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.RefreshCatalogs(Boolean unattended, Hashtable catalogsToRefresh) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Source:

System Data

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 23-Dec-2014 21:48:29   

Please upgrade to v.2.6 (free) And use the driver attached in the following thread: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=21348&StartAtMessage=0&#120516

nash3k
User
Posts: 3
Joined: 22-Dec-2014
# Posted on: 24-Dec-2014 14:59:17   

thanks this helped