Back to list
Views:   8.2K
Replies:  4

ConnectionString is not initialized

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 1
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 2
Hello 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 Poorte, Apr 20, 2015
Reply 3
Hello 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 4

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 Poorte, Apr 19, 2015
Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Cookies       Do Not Sell       Licensing      
Made with    in Austin, Texas.  - vsn 44.0.0
© Data & Object Factory, LLC.