Getting error "Connection string 'CMSOMConnectionString' not specified." while applying hotfix

Shailesh Kumar asked on September 26, 2014 14:44

I tried to run an upgrade on my site through hotfix 7.0.99. But after following few steps to take backup of project and database. I get an error, "Connection string 'CMSOMConnectionString' not specified." and hotfix process fails.

Please guide appropriately if what has went wrong.

Thanks & Regards Shailesh

Recent Answers

Martin Danko answered on September 26, 2014 15:43

Hello Shailesh,

It seems like you had separated the contact management database before. This process automatically creates a new connection string "CMSOMConnectionString" in a web.config file pointing to the newly created DB.

However, it seems like the connection string is not specified properly. Could you please check if its value is set correctly, or if you have the <add name="CMSOMConnectionString" connectionString="..." /> key in your web.config file?

Please also check if accidentally configured the DB to use 2 DBs - the original one and the separated one in Site Manager -> Administration -> System -> DB separation? If the button displays message "Join contact management DB with main DB" as in the attached screenshot, please do so.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.