I have created a new silverlight business application. I have added mysql.data, mysql.web, mysql.data.entity dll’s of version 6.5.4 mysql/net connector. I built the solution. Then I got the blue icon, where i can configure connector to mysql db for role providers and connection string. but thats not happening. When I clicked the icon, I am getting error saying “Object reference not set to instance of object” What could be the problem? KIndly help me with workaround
MY ENVIRONMENT
VS2010, Silverlight4, silverlight toolkit APR2010, mysql server installed, mysql connector 6.5.4, Windows 7 64bit.
thanks
EDIT 1:: all the connectors are added to silverlight host web application, but not to silverlight application directly.
All the connector dll’s are added to the host application to consume in web services.
Uff…. some relief.
I made a mistake. We should click the blue icon of net/mysql connector in the solution explorer, after selecting the web hosting project but not the actual silverlight project.
This is working only with few of my solutions though.
Edit::
Working fine. I completely messed up web.config of both silverlight application and web hosting project. Cleaned the code, removed the references, added them again. Now, the mysql connector wizard works like a charm.