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, I'm new to Lightspeed and have scanned the documentation for the following, but can't find anything relevant, please help. I'm using Postgres8 with VS2008 & have implemented a DevArt/DotConnect Postgres connection. The PGSQL DB tables are listed and available in Server Explorer, but when I drag them onto the Lightspeed Design Surface nothing happens. It works fine for a local SQLCE database however so I can only assume I have not done something correct wrt Postgres. I have specified the DB Connection string in the model properties but still no luck. How do I go about doing this? Is there any documentation specific to Postgres/Lightspeed available? Many thanks Leon
|
|
|
FYI just noticed the following output from lightspeed when I drag a Postgresql table onto the design surface, any ideas as to why this is happening? Tx Leon Exception while processing Server Explorer drag: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified. File name: 'Mono.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' at Npgsql.NpgsqlConnection..ctor(String ConnectionString) at Mindscape.LightSpeed.Generator.Extraction.PostgreSql8.OpenConnection() at Mindscape.LightSpeed.Generator.Extraction.Provider`1.ExtractModel(Boolean pluralise, IList`1 tablesToFullyPopulate) at Mindscape.LightSpeed.Generator.Integration.EntityExtractor.PopulateTypeModel(ProviderType providerType, String connectionString, IList`1 tableNames, Boolean pluralisedInDatabase) at Mindscape.LightSpeed.Generator.Integration.EntityExtractor.PopulateTypeModel(IDbConnection connection, IList`1 tableNames, Boolean pluralisedInDatabase) at Mindscape.LightSpeed.Generator.Integration.EntityBuilder.AddTablesToModel(Model model, IDbConnection connection, IEnumerable`1 tableNames, IGenerationLog log) at Mindscape.LightSpeed.Generator.Integration.LightSpeedModelDiagram.<>c__DisplayClass4.<OnDragDrop>b__3(DragObject dragObject, IGenerationLog log) at Mindscape.LightSpeed.Generator.Integration.ServerExplorer.IfIsServerExplorerDrag(DragEventArgs e, DragAction action) |
|
|
Hi Leon, Thanks for reporting this. It looks like something has gone wrong in the installer. We should have a fix for this in the next nightly build, but in the meantime, you can work around it by copying Mono.Security.dll, which you can find in the LightSpeed installation directory Providers / MySQL5, to the global assembly cache. (You can do this either using the gacutil command line tool or by opening an Explorer window to c:\windows\assembly and dragging the file across from the MySQL5 directory.) (I needed to restart Visual Studio after doing this.) We apologise for the error and the inconvenience. |
|