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 ...Version: 04.03.04 ERROR: Could not connect to database specified in connectionString for SqlDataProvVersion: 04.03.04 ERROR: Could not connect to database specified in connectionString for SqlDataProv
Previous
 
Next
New Post
10/22/2006 11:57 AM
 

As imagemaker stated that your SQL2000/2005 Connection string is commented out.  I had to figure this one out the hard way.  If you do not understand take a look at my post for clarification.
The comment starts with the <!--- and ends with the -->.

http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/107/threadid/78613/scope/posts/Default.aspx

I hope this helps!!
Neadom


Neadom Tucker New to the wide world of .NET... I could care less about PHP
 
New Post
10/22/2006 3:43 PM
 

Yikes, it took me 3 hours to realize the comment was in the wrong place - ouch.

I've gotten past my first mistake can someone help me with the next error I'm being thrown, please.

DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

Login failed for user ''. The user is not associated with a trusted SQL Server connection.

------------------ And, here is my connection string; my SQL server is using Windows Auth. so I presume not to use a userid and password - I'm I incorrect in that? ----------

  <connectionStrings>
    <!-- Connection String for SQL Server 2005 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 2000/2005 -->
    <add
      name="SiteSqlServer"
      connectionString="Server=10.1.1.127;Database=sap;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
  </connectionStrings>
  <appSettings>
    <!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules
    <add key="SiteSqlServer" value="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"/>
    -->
    <!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules   -->
    <add key="SiteSqlServer" value="Server=10.1.1.127;Database=sap;uid=;pwd=;"/>

 
New Post
10/22/2006 7:16 PM
 
cstatham wrote

DotNetNuke Upgrade Error

The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

Login failed for user ''. The user is not associated with a trusted SQL Server connection.

The Error tells you what the problem is.  The Username is invalid for the database connection.  Make sure that the username is specified as the dbo for the database.  Also make sure you have the proper password too. This should correct your issue.
HTH

Neadom


Neadom Tucker New to the wide world of .NET... I could care less about PHP
 
New Post
10/22/2006 7:28 PM
 

Thank you, I have it working with the username and pwd.  I thought I read that using strictly Windows Authentication one could exclude this information from the web.config?

Thanks again.

 
New Post
10/22/2006 7:31 PM
 

I don't think so.  Using Windows Auth only allows the information to be managed through the Administrative Controls.

I am new to all of this and I am still readingDotNetNuike 4 from Wrox press.  I have programmed many a ASP sites but never anything with .NET.

HTH

Neadom


Neadom Tucker New to the wide world of .NET... I could care less about PHP
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Version: 04.03.04 ERROR: Could not connect to database specified in connectionString for SqlDataProvVersion: 04.03.04 ERROR: Could not connect to database specified in connectionString for SqlDataProv


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