This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi, for the production and the development environment I use two separate MS SQL server instances. Dragging tables from the production server instance into the LS modeling tool works fine, but dragging tables from a local SQLEXPRESS database instance an exception will be raised (see below). Both DB instances differ mainly in the connection string that's being used Data Source=.\SQLEXPRESS;AttachDbFilename="F:\Microsoft SQL Server\Database.mdf";Integrated Security=True;Connect Timeout=30;User Instance=True Data Source=server.intern;Initial Catalog=Database;Integrated Security=True;Encrypt=True;Network Library=dbmssocn How can I fix this problem? Thx remo
Exception while processing Server Explorer drag: System.NullReferenceException: Object reference not set to an instance of an object. at Mindscape.LightSpeed.Generator.Extraction.SqlServer2005.<GetColumns>d__9.MoveNext() |
|
|
For now, you will need to attach the database to the SQL Server instance, so that you can reference it using the Initial Catalog key instead of AttachDbFilename. I have committed a fix for this, and beginning with the 25 July nightly build, you should be able to use MDF files directly using the AttachDbFilename key. |
|