Connection String

Oct 28, 2009 at 10:57 AM


I try to build and install this project on the real PROD website. I decided to use separate DB and Urls table in it. I found that Shorten.mdf is specified in at least 4 files:

1) app.config

2) Shorten.dbml

3) Settings.settings

4) Settings.Designer.cs

maybe it's better to make it specified in one place?


Oct 28, 2009 at 7:31 PM
Edited Oct 28, 2009 at 7:54 PM

Shorten.dbml connection string is the same as in Settings.Settings.

And Settings.designer.cs is the designer file for Settings.settings

I haven't look at app.config, but when we release a new release so should we clean app.config.

Edit --

When I looked at all the files so it appears that the app.config for any reason, save that which exists in settings.settings and what is in settings.designer.cs is contained in settings.settings

Oct 29, 2009 at 12:50 PM


It's really I had to change Connection Strings in 2 files: app.config and web.config. All other changes were made by VS.


Thanks again.




Dec 8, 2009 at 5:36 PM

Is it possible to use MySQL?

Jan 10, 2010 at 11:53 PM

No, it not possible to use MySQL. Right now we don't work on a new Shorten version.