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
1/15/2006 1:49 PM
 
Hi, All:

I spent whole week try to solve the installation problem, but there is no luck. I got the following error when I tried to make a fresh install of DNN v4.02 on my desktop.

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

ERROR: Failed to load templetes.DotNetNuke



My configuration is:

1. Windows Server 2003 ( I am using built-in Administrator account )
2. VS.Net 2005 Standard Edition
3. SQL Server 2005 Standard Edition. ( Without SQL Express 2005 installed )

What I did is:

1. Create a DNN4 database and setup a login with dbo permission, granted this login as a user to DNN4 database, I also setup Network Service user for DNN4 database. ( I droped database and recreate it everytime I made some changes during installation)

2. Setup a Virture Folder in IIS, and add Network Service with full accesses to this fold.

3. Change two connection strings in web.config to SQL 2005 connection string as follows:

<add name="SiteSqlServer" connectionString="Server=MYCOMPUTERNAME; Database=DNN4;uid=XXX;pwd=XXXXXX;" providerName="System.Data.SqlClient" />


4.  Build the source code.

5. Hit Ctl+F5.

But I always got the errors above. I have been searching online for almost one week, still no solution. What can I do now? Dose anyone has same problem? Please help me out.

Thank you very much in advance!

Gary
 
New Post
1/16/2006 12:53 PM
 

Maybe you can copy the .mdf to another folder and give rights to the MSSQL$user..., aspnet (or the equivalent on 2k3).  Put that hard coded path in your web.confg.

I know I do not have the exact same setup (I have express), but that worked for me.

 
New Post
1/16/2006 11:25 PM
 

I too struggled for a while. My setup is Win2k03, SQL 2k. My problem was I an using a named instance of SQL Server so I had to include that into ny connection string.

If you arent using the default instance you'll have to include the instance in the string.

e.g.

<add
      name="SiteSqlServer"
    connectionString="Server=SERVERNAME\SQL_INSTANCENAME;Database=DNN;uid=dnnXXX;pwd=password;"
      providerName="System.Data.SqlClient" />

<add key="SiteSqlServer" value=="Server=SERVERNAME\SQL_INSTANCENAME;Database=DNN;uid=dnnXXX;pwd=password;"/>

 

I hope that helps.

 
New Post
1/17/2006 1:43 AM
 

check the

-->

<add key="InstallTemplate" value="DotNetNuke.install.config"/>

<!-- Alternative Install Templates (included in package)

<add key="InstallTemplate" value="Club.install.config"/>

<add key="InstallTemplate" value="Personal.install.config"/>

<add key="InstallTemplate" value="SmallBusiness.install.config"/>

 

make sure you have just one template uncommented

 
New Post
1/19/2006 1:56 AM
 
Shaunpcrepair:

Thank you very much! I soloved the problem by using "DotNetNuke.install.config" as "InstallTemplate". The comments here is misleading. I used "SmallBusiness.install.config" as Alternative Install Templates ( I commented out all others.

But I always got the error messages above. Now I changed it back to default setting, then the installation is completely successful.

Thanks again!

Gary
 
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