Views: 8.2K
Replies: 4
Archived
|
ConnectionString is not initializedHi,
I can't load the Patterns in Action 4.5 (whatever the project : WebForm, MVC, WinForms) I use professionnal VS 2012. I always have this following error message. Thank you for your help. Sandra Buysse, Apr 18, 2015
|
|
Reply 1Hello,
Everything is ok now. As a member said, we need to replace the number 1 by "Action" everywhere in the connectionString if not, nothing runs correctly. Sandra Buysse, Apr 22, 2015
|
|
Reply 2Hello Sandra:
I see that your error refers to MySQL. I am not sure how you get that there, but MySQL is not supported. (it might work, but not without adjustments). Only SQL Server and LocalDb are supported. Please know that you do have access to LocalDb because it comes with Visual Studio. Hope this helps. Jack Jack Poorte, Apr 20, 2015
|
|
Reply 3Hello Jack,
Thank you for your response. I resolved my first pb but I still cannot upload the Patterns in Action projects because I have a new error message. Otherwise, I can upload Spark projects. Thanks very much for your help because it become very frustated for me. Sandra Buysse, Apr 20, 2015
|
|
Reply 4Sandra,
All applications in the .NET Design Pattern Framework run 'out of the box'. Those that require a database have an LocalDb database. The default connectionstring (in web.config) points to this database. VS 2012 Pro is supported, so that is not a problem. Your error seems to indicate that the connectionstring is not initialized (or invalid?). The connectionstring resides in web.config, so this error can only happen when that is changed or removed. It this possible? Was anything changed? Anyhow, I hope this points you in the right direction. Jack Jack Poorte, Apr 19, 2015
|