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 ...The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
Previous
 
Next
New Post
2/16/2006 9:22 AM
 

hii  Everyone,

My current erroe is:


DotNetNuke Upgrade Error

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

ERROR: Could not connect to database.

An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


I read in other posts that this is due to a faulty connection string, but I believe mine are right. 

My  server:  Windows2003 ,SQL Server 2005

my Connection String in web.config


Server=(local);Database=DatabaseName;uid=LoginName;pwd=LoginPassword;        


the  LoginPassword , DatabaseName , LoginName and (local) are replaced with my details

I've been trying to get DNN installed for 4days now.  Any help is greatly appriciated.

I am NOT upgrading at all

10Q

 

 
New Post
2/17/2006 2:44 PM
 
Hi,
I am getting the same error. Did you find the solution?

 
New Post
10/26/2006 10:03 AM
 

Same here.  I’ve tried connecting to both SQL Server 2000 and 2005 with no luck.  Not doing anything fancy/special other than connecting to our SQL Server rather than localhost.

 
New Post
10/26/2006 2:04 PM
 

How did you solve this error?  I am getting the same error.

My connection string is :

<add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;Trusted_Connection=True;" providerName="System.Data.SqlClient"/>

I am not upgrading. I have installed 4.3.5

Thanks,
RSB

 

 
New Post
10/26/2006 3:13 PM
 

Ok, I think I have what many of you have been looking for.  It at least worked for me.

This will work for those who are running a full version of SQL Server instead of SQLExpress.

Basically, what you need to do is uncomment the two sections of code for SQL and comment out SQLExpress.  The easiest way to do this is to replace the section of code between <connectionStrings> and <add key="InstallTemplate" value="DotNetNuke.install.config" /> with the following section of code replacing your servername, DBName, UserID, and Password with the generic names in the code.

 

    <!-- 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=servername;Database=DBName;uid=UserID;pwd=Password;" 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=servername;Database=DBName;uid=UserID;pwd=Password;" />

 

It’s a really simple thing, I know, but this had us scratching our heads for quite awhile.  Hopefully this is the answer to your problem.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )


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