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 ...Problem during getting DNN to run (assembly does not match...)Problem during getting DNN to run (assembly does not match...)
Previous
 
Next
New Post
9/17/2006 2:05 PM
 
Hallo, I've installed DNN today the first time. While entering "http://localhost/DotNetNuke/" in the browser, I get the
error message:

DotNetNuke Upgrade Error

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

ERROR: Could not connect to database.

How can I solve this problem?

Best regards
Gerardo
 
New Post
9/17/2006 5:46 PM
 

Hello Gerado

Re-check your database connection setting in your web.config, file make sure that they correspond with your database, also look for typing errors etc.. 

Which version DNN are you using? The earlier DNN versions have one database connection setting, the latest DNN versions have two connections strings.

Lynn


www.seemalta.net
 
New Post
9/23/2006 4:44 PM
 
Hello Lynn, thank you for your answer.
I get crazy with the installation; now I get the error:
############################################################
Error Installing DotNetNuke
Current Assembly Version: 04.03.05
ERROR: Could not connect to database specified in connectionString for SqlDataProvider
#####################################################

I use the latest version of DNN (I think 4.3.5) with SQL Server 2000 (I do not use sql server 2005 Express).

My web.config looks like this (where <1> is the user id and <2> the pwd how I signon to my PC (the sql server
is installed with "windows authentification):








name="SiteSqlServer"
connectionString="Server=(local);Database=DotNetNuke;uid=<1>;pwd=<2>;"
providerName="System.Data.SqlClient" />






















###########################
Hope you can help me; because I have no idea!

Thank you very much
Gerardo
 
New Post
9/23/2006 7:02 PM
 

This probably IS a problem with your connection string.  The easiest way i know to validate your connection string is going to work is to use the information from it to see if you can login to your SQL Server using Query Analyzer.  I would create a SEPARATE login and password to use with your application, relying on SQl Server Auth, be sure to assign it dbo privileges to the DNN database and use THAT in your connection string.

Cheers,
Scott


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
9/23/2006 11:34 PM
 

Hello Gerdo

I am using 4.3.5 and I have mssql 2000 not SQLExpress

This is what my web config file looks like:

You need to delete or comment out the 2 connections for sql Express which you do not need and put your database details in the other 2 connections strings.

<connectionStrings>

<!-- <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=*******;Database=********;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=*******;Database=******;uid=*******;pwd=*******;" />

 

Lynn


www.seemalta.net
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem during getting DNN to run (assembly does not match...)Problem during getting DNN to run (assembly does not match...)


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