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 4.0.2 SOURCE install issuesDotNetNuke 4.0.2 SOURCE install issues
Previous
 
Next
New Post
1/20/2006 11:11 AM
 

Hello Everyone,

My current issue: DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
ERROR: Could not connect to database. The stored procedure 'dbo.dnn_GetPortalAliasByPortalID' doesn't exist.

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

My Specs:  WindowsXP Pro SP2, VS 2005, SQL Server 2005 Express

  • At this point I have:
  • Unzipped the 4.0.2 Source zip to C:\dotnetnuke
  • Added C:\dotnetnuke as a virt dir in IIS
  • Set ASPNET to have full control on the C:\dotnetnuke
  • Copied SitesUrl.config from the Website\Config folder to Website\
  • Opened VS 2005 and created a DB called DotNetNuke through the server explorer
  • Downloaded DotNetNuke_template.mdf from http://www.johnczimmerman.com (this file is missing from the 4.0.2 source zip) and put it in the Website\Providers\DataProviders\SqlDataProvider dir
  • Changed customErrors mode to "off"
  • Opened //localhost/dotnetnuke
  • Recieved the above error

My connection strings:

 <connectionStrings>
    <!-- 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=(local);Database=DotNetNuke;uid=;pwd=;"
      providerName="System.Data.SqlClient" />
   -->
  </connectionStrings>

and in the app settings section:

  <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;"/>

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

Cheers,

Christopher


 
New Post
1/20/2006 11:52 AM
 

After going into App_Data folder and deleting the Database.mdf there, I restarted iis and browsed to the site again.  Got an error (i dont have the exact text) but it basically said there was no db there.  Looking at the app_data folder i saw that database.mdf was created again.  I refreshed the page and to my surprise saw the link to install dotnetnuke! yay! I have no idea why this worked.

 
New Post
6/19/2006 8:11 PM
 

I'd love if I could find some magic solution like that.  I have been struggling for a few days myself.  Everything leads me to my connection string, but I know that bad boy is correct.

Is there an other debugging that I can be doing beyond the Admin/LogFile.aspx? 

 
New Post
6/20/2006 12:23 PM
 
thefnjester wrote

Hello Everyone,

My current issue: DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )
ERROR: Could not connect to database. The stored procedure 'dbo.dnn_GetPortalAliasByPortalID' doesn't exist.

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

My Specs:  WindowsXP Pro SP2, VS 2005, SQL Server 2005 Express

  • At this point I have:
  • Unzipped the 4.0.2 Source zip to C:\dotnetnuke
  • Added C:\dotnetnuke as a virt dir in IIS
  • Set ASPNET to have full control on the C:\dotnetnuke
  • Copied SitesUrl.config from the Website\Config folder to Website\
  • Opened VS 2005 and created a DB called DotNetNuke through the server explorer
  • Downloaded DotNetNuke_template.mdf from http://www.johnczimmerman.com (this file is missing from the 4.0.2 source zip) and put it in the Website\Providers\DataProviders\SqlDataProvider dir
  • Changed customErrors mode to "off"
  • Opened //localhost/dotnetnuke
  • Recieved the above error

My connection strings:


          name="SiteSqlServer"
      connectionString="Data Source=.\SQLExpress;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Database.mdf;"
      providerName="System.Data.SqlClient" />
   

I've highlited your mistake.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DotNetNuke 4.0.2 SOURCE install issuesDotNetNuke 4.0.2 SOURCE install issues


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