Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Could not connect to database specified in connectionString for SqlDataProviderCould not connect to database specified in connectionString for SqlDataProvider
Previous
 
Next
New Post
4/4/2016 6:51 AM
 

Good morning!
I'm trying to install a clean DDN Platform version 7.2.0 but I have this error:

ERROR: Could not connect to database specified in connectionString for SqlDataProvider

Mi conecction string is:

<connectionStrings>
    <!-- Connection String for SQL Server 2008/2012 Express
<add name="SiteSqlServer" connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;" providerName="System.Data.SqlClient" />
    -->

    <!-- Connection String for SQL Server 2008/2012 -->
         <add name="SiteSqlServer" connectionString="Server=OVTestPracticas;Database=mydb;uid=myuser;pwd=mypasswd;" providerName="System.Data.SqlClient" />
  </connectionStrings>

 
New Post
4/4/2016 7:00 AM
 
The message is clear enough. The server OVTestPracticas does not allow myuser/mypasswd to connect to the database mydb. Can you connect using say SqlServer management studio using those credentials?

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
4/4/2016 5:49 PM
 
make sure the server is configured for mixed authentication and allows remote connections.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
4/5/2016 3:20 AM
 
Errors never end :(

Now I have this:

The stored procedure 'testyecla.UpdateDatabaseVersionAndName' doesn't exist.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The stored procedure 'testyecla.UpdateDatabaseVersionAndName' doesn't exist.
 
New Post
4/5/2016 3:50 AM
 
please check your database and make sure, the procedure exists in schema 'testyecla'.
Please make sure, the schema is specified as "databaseOwner" in DNN web.config and your database user is permitted to use it.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Could not connect to database specified in connectionString for SqlDataProviderCould not connect to database specified in connectionString for SqlDataProvider


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out