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 ... DotNetNuke Upgrade Error DotNetNuke Upgrade Error
Previous
 
Next
New Post
2/17/2006 3:15 PM
 
Hi I hope you can help a novice get started. I have got dotnetnuke 4.0.2 working fine on my machine and so uploaded it to my host. I changed the conn strings and have been faced with the following error: 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) My conn strings are: Please help…..THIS IS DRIVING ME INSANE!
 
New Post
2/17/2006 4:02 PM
 
sorry! let me try that again:

Hi


 


I hope you can help a novice get started.


 


I have got dotnetnuke 4.0.2 working fine on my machine and so uploaded it to my host.


I changed the conn strings and have been faced with the following error:


 


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)


 


My conn strings are:


 


< connectionStrings >


<! -- Connection String for SQL Server 2005 Express -- >


< add name ="SiteSqlServer" connectionString ="Data Source=c:\*****\database\Database.mdb;Integrated Security=True;User Instance=True;AttachDBFilename=c:\*****\database\Database.mdb;" providerName ="System.Data.SqlClient" />


 


< appSettings >


<! -- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules -- >


< add key ="SiteSqlServer" value ="Data Source=c:\*****\database\Database.mdb;Integrated Security=True;User Instance=True;AttachDBFilename=c:\*****\database\Database.mdb;" />


 


 


Please help…..THIS IS DRIVING ME INSANE!

 
New Post
2/19/2006 3:40 PM
 
Could it be the connection string settings?
I am not sure they are set correctly.

Can anyone give a definitive explanation of what it should be (with sqlserver express)?

Should the App_Data directory, that is where the database is situated, be in the root directory or in a database directory on my host server?
 
New Post
3/11/2006 4:18 AM
 

Hi Chris

I currently have the same problem, not sure if u resolved yours but I will work on mine and if i run into issues I will keep u posted...

Regards

Paolo

 
New Post
3/7/2007 1:32 PM
 
Hi,
I had the same problem. It sorted itself out when I changed the server name in the connection string from '(local)' to the actual server name...
Original String -
connectionString="Server=(local);Database=DotNetNuke;uid=xxxxx;pwd=xxxxxxx;" providerName="System.Data.SqlClient" />
New String - Original String - connectionString="Server='SERVERNAME';Database=DotNetNuke;uid=xxxxx;pwd=xxxxxxx;" providerName="System.Data.SqlClient" />

It worked! So all you have to do is change the '(local); in your connection string to the actual server name.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ... DotNetNuke Upgrade Error DotNetNuke Upgrade Error


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