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
8/7/2006 2:44 AM
 

DotNetNuke Upgrade Error

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

ERROR: Could not connect to database.

The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception.

This is killing me. I've tried to install DNN 4.34 repeatedly on my main weserver and I keep getting this error. I've also been through all the help I can find. The biggest unusaul thing on this machine is that it is a domain controler, I know thats its not a good idea but thats where I am. It looks like a security issue but I can nail it down. I have tried debuging to no avail. From my App Event log here's what I see:

Event code: 4010

Event message: An unhandled security exception has occurred.

Event time: 8/7/2006 1:20:04 AM

Event time (UTC): 8/7/2006 6:20:04 AM

Event ID: f63126ff3b7c47f6a774181206c33a29

Event sequence: 6

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/701625/Root-4-127994051894142074

Trust level: Full

Application Virtual Path: /

Application Path: D:\Inetpub\users\DNN\

Machine name: XXX

Process information:

Process ID: 6108

Process name: w3wp.exe

Account name: NT AUTHORITY\NETWORK SERVICE

Request information:

Request URL: http://localhost:8080/ErrorPage.aspx

Request path: /ErrorPage.aspx

User host address: 127.0.0.1

User:

Is authenticated: False

Authentication Type:

Thread account name: NT AUTHORITY\NETWORK SERVICE

Any help advice, ideas, pointers, things to check would greatly be apreciated.

 
New Post
8/7/2006 10:29 AM
 
I ran into the same problem but have not figured it out yet either. Upgrading from 3.2.2 not on a domain controller.
 
New Post
8/13/2006 5:01 AM
 

bump..

No answers on this? Anyone else have DNN working, not woking on a domain controler?

 
New Post
8/13/2006 10:55 PM
 
check the version of SQL and DNN again - it sounds like they aren't compatible
 
New Post
8/15/2006 7:50 AM
 

I was getting exactly the same error message, then also an error that the connection string was incorrect.

It took me a while to realise what my problem was.

In the web.confing file I used the following to get it working

<add key="SiteSqlServer" value="Server=servername.domainname.co.uk;Database=dnn;uid=sa;pwd=password;" />

<add name="SiteSqlServer" connectionString="Server=servername.domainname.co.uk;Database=dnn;uid=sa;pwd=password;" providerName="System.Data.SqlClient" />

The problem was that I replaced Server=(local) with Server=(servername).  So when I removed the brackets and specific the hostname it worked!  A silly simple error, but one which I think could be added to the comments of the web.config file. 

It should work fine with just the hostname instead of the fully qualified domain name, and don't use the sa, I used that whilst trying to work out what was going wrong.  I also tried deleting and recreating the database too.

I hope this helps other people.

 

 
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