Lastest release is causing me problems. HELP!!
Posted: Tue 08 Mar 2005 07:53
Hi,
I have a real problem here. 2 weeks ago I upgraded to the latest version of the components (v2.70.3.0) and now I get the following problems but ONLY for projects that I originally built and compiled with the PREVIOUS version of the components (new ASP.NET and Windows forms projects work ok):-
1. I drop a MySqlDataAdaptor onto an ASP.NET page and select 'Configure Data Adaptor' from the properties page. In the properties window that appears I type in any SQL into the select command, hit OK and hit 'No' at the prompt asking if I want to regenerate the parameters. On hitting 'No' I get a message box telling that there are 'no suitable connections on form to use' even though there are!
2. I click on an existing MySqlDataAdaptor (one that I put on an asp.net page before the upgrade) and go to its properties window and expand the SelectCommand properties click on the elipsis button for the SelectCommand's parameters. When I click on the elipsis I get error 'Specified cast is not valid'.
3. When I compile the project after adding and removing data adaptors (trying to figure out the problem) a new task appears in the VS task list but the compilation still completes OK :-
Code generation for property 'Parameters' failed. Error was: ''MySqlParameterConverter' is unable to convert 'CoreLab.MySql.MySqlParameter' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.'
I only noticed these problems yesterday because I've done no development for a few weeks.
I'm using VS 2003 and these problems occur on both of my development PCs. I've even loaded a backup of my project and it has the same problems. This is all a serious problem for me because have a big ASP.NET project that needs to rolled out in beta form this week! Any help would be greatly appreciated.
Many Thanks
rob
I have a real problem here. 2 weeks ago I upgraded to the latest version of the components (v2.70.3.0) and now I get the following problems but ONLY for projects that I originally built and compiled with the PREVIOUS version of the components (new ASP.NET and Windows forms projects work ok):-
1. I drop a MySqlDataAdaptor onto an ASP.NET page and select 'Configure Data Adaptor' from the properties page. In the properties window that appears I type in any SQL into the select command, hit OK and hit 'No' at the prompt asking if I want to regenerate the parameters. On hitting 'No' I get a message box telling that there are 'no suitable connections on form to use' even though there are!
2. I click on an existing MySqlDataAdaptor (one that I put on an asp.net page before the upgrade) and go to its properties window and expand the SelectCommand properties click on the elipsis button for the SelectCommand's parameters. When I click on the elipsis I get error 'Specified cast is not valid'.
3. When I compile the project after adding and removing data adaptors (trying to figure out the problem) a new task appears in the VS task list but the compilation still completes OK :-
Code generation for property 'Parameters' failed. Error was: ''MySqlParameterConverter' is unable to convert 'CoreLab.MySql.MySqlParameter' to 'System.ComponentModel.Design.Serialization.InstanceDescriptor'.'
I only noticed these problems yesterday because I've done no development for a few weeks.
I'm using VS 2003 and these problems occur on both of my development PCs. I've even loaded a backup of my project and it has the same problems. This is all a serious problem for me because have a big ASP.NET project that needs to rolled out in beta form this week! Any help would be greatly appreciated.
Many Thanks
rob