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 have run into this problem where the designer fails to Update From Source with the message "Couldn't connect to the database. Check that the connection information is correct". I checked the connection string and it looks correct. I'm able to view the database in the Server Explorer. The only way I can update my entities is to remove them and add them in again. I have tried to delete the database model and create a new one. It does work with one of my other projects though. The database is MySQL5. Also, any ideas when the next version of Lightspeed (4.0?) is going to be released? Thanks. |
|
|
The only things I can think of are that the connection string has a subtle typo or that the Data Provider is not set correctly. Try deleting the connection string and dragging entities from Server Explorer. This will reinitialise the connection string and data provider. Also, try opening the Output window before doing the update. Sometimes additional error information may be logged to the Output window, but it doesn't always pop up to display that information. You could also do a file compare of the non-working file vs. the working file from one of your other projects, using a diff tool. The .lsmodel file is just XML so a diff should draw your attention to any differences in the connection string or provider info. Re LightSpeed 4.0, we are hoping to get this released in the next couple of weeks. |
|
|
Hi Ivan: Thanks for the response. I tried what you suggested to no avail. However your file compare suggestion gave me an idea. I created a new project and a database model from the same database and tables as the one that doesn't work. I compared the two and found the error. Somehow the database name was incorrect. I believe I changed the name somewhere along the way but the model file didn't get updated. Even when deleting all the entities and adding them back in didn't force a change. Anyways, it's all working now. Thanks for the help. I just want to say that I am really enjoying using your product! Been using it for about a year now. I'm going to be spending some time in the next couple of month looking at Windows Phone 7 development. I'm certainly going to give your controls a try!
Scott |
|