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
|
I'm trying to use LightSpeed with a DB I created in VS 2012 (SQL CE 4). I've added the reference Mindscape.LightSpeed.Providers.SqlServerCe4.dll to the project and when I try to drag the table from the Server Explorer to the LightSpeed window it gives me this exception: Exception while processing Server Explorer drag: Incompatible Database Version. If this was a compatible file, run repair. For other cases refer to documentation. [ Db version = 4000000,Requested version = 3505053,File name = \?\D:\Programming\Projects VS\Demo\DB\DB.sdf ] Also while I have this .dll on my references when I build my demo I get a warning: No way to resolve conflict between "System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" and "System.Data.SqlServerCe, Version=3.5.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91". Choosing "System.Data.SqlServerCe, Version=4.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" arbitrarily. Consider app.config remapping of assembly "System.Data.SqlServerCe, Culture=neutral, PublicKeyToken=89845dcd8080cc91" from Version "3.5.0.0" [C:\Windows\assembly\GACMSIL\System.Data.SqlServerCe\3.5.0.0_89845dcd8080cc91\System.Data.SqlServerCe.dll] to Version "4.0.0.0" [C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v4.0\Desktop\System.Data.SqlServerCe.dll] to solve conflict and get rid of warning. What am I doing wrong here? |
|
|
You are not doing anything wrong - this is a bug where we are incorrectly detecting that you are using SQL CE 3.5 rather than 4. I have reproduced this here and have added a fix for this. This will be updated in the next nightly build. Thanks for reporting this!
|
|
|
I believe this issue still persists. I downloaded a version last week and installed. but i have this error now //Halby |
|
|
Can you confirm what version of LightSpeed you have installed? Check the version number of Mindscape.LightSpeed.dll to check this.
|
|
|
I have VS 2012 and SQL server 2012 express edition (CE 4.0) and nHibernate version 3.3.1.4000. not Lightspeed //Halby |
|
|
Are you using NHibernate Designer?
|
|
|
Yes |
|
|
Ive added in a fix for this and this will be available in the next nightly build for you.
|
|