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
|
Hey Everyone,
I downloaded the Lightspeed demo and cant figure out why it doesnt work in VS2010. When i go to add a new Diagram all i get is XML diplayed on the screen. It works ok in VS2008. I have uninstalled several times and made sure VS2010 is selected. Any ideas? |
|
|
Hi, Can you try both points listed in the "Troubleshooting LightSpeed" thread (second question exactly matches your issue!) http://www.mindscapehq.com/forums/Thread.aspx?ThreadID=2438 Let me know how you get on. John-Daniel |
|
|
ok..been struggling with this for the past 2 days and really want to test the product but keep running into problems. Here is the latest.
Could not load file or assembly 'MySql.Data, Version=6.2.3.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
I loaded the latest driver(6.3.6) from MySQL because lower versions wouldn't allow MySQL to show as a choice when making a data connection.
Help!
|
|
|
I'm assuming this is happening at run time (i.e. when you run a query) rather than design time (i.e. when you drag a table onto the designer) -- is that right? If so, this occurs because LightSpeed is built against version 6.2.3 of the MySQL driver. We periodically update the version we build against, but we have not yet switched over to 6.3.6. So what you need to do is tell .NET that when LightSpeed asks for 6.2.3, it should load 6.3.6 instead. To do this, use an assembly binding redirect in your app.config / web.config. For info and examples of binding redirection, see: http://msdn.microsoft.com/en-us/library/433ysdt1.aspx http://msdn.microsoft.com/en-us/library/twy1dw1e.aspx If you need specific info on adapting this to MySQL, or if you still see problems, let us know.
|
|
|
Thats whats weird is because I have this in the web.config but still get the error.
<!-- Redirect MySQL Connector --> <assemblyIdentity name="MySql.Data" publicKeyToken="c5687fc88969c44d"/> <bindingRedirect oldVersion="6.2.3.0" newVersion="6.3.6.0"/>
|
|
|
I have tested this (albeit using 6.3.5 rather than 6.3.6) and it is working fine for me. Is it possible you left in an appliesTo attribute on the assemblyBinding element? Here is my app.config which is working: <configuration> |
|
|
Ivan,
Looks like 'appliesto' was the cupltrit! Thanks for the help.
Todd |
|