Dotnetnuke4.x installation experience (follow the "most complete dnn 4.x Installation Guide (applicable to 3.x)" below to check if the installation fails.

Source: Internet
Author: User
Tags dnn

Installation environment: WINXP pro SP2 sql2005 vs2005
Follow the most complete dnn 4.x Installation Guide
The following are the problems and solutions I encountered during installation:
1. Install dotnetnuke4.x for the first time. After the installation is complete, run default. aspx to see cocould not found dotnetnuke_template.mdf?
Solution: download the file from my blog, decompress the file, and put it in the corresponding directory "... \ Website \ providers \ dataproviders \ sqldataprovider"
:/Files/carlwave/dotnetnuke_template.rar
Related: http://forums.asp.net/1114393/ShowPost.aspx

2. After installation, go to the my website homepage and find that the module cannot be displayed?
Solution: this may be a firewall problem. Close the firewall and try again, or open Vs and run default. aspx.

3. Web. config settings
Refer to the installation guide to configure web. config. It is better to directly use vs to open web. config. The comments in it are very detailed. You can find out how to configure the database connection.
This is the configuration I used in this environment
<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_2; uid = sa; Pwd = sa;" providername = "system. Data. sqlclient"/>
</Connectionstrings>
<Deleetask>
<! -- 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 = (local); database = dotnetnuke_2; uid = sa; Pwd = sa;"/>
<Add key = "installtemplate" value = "dotnetnuke. Install. config"/>
<! -- Alternative install templates (embedded in package)
<Add key = "installtemplate" value = "club. Install. config"/>
<Add key = "installtemplate" value = "Personal. Install. config"/>
<Add key = "installtemplate" value = "smallbusiness. Install. config"/>
-->
<Add key = "autoupgrade" value = "true"/>
<Add key = "installmemberrole" value = "true"/>
<Add key = "showmissingkeys" value = "false"/>
<Add key = "enablewebfarmsupport" value = "false"/>
<Add key = "enablecachepersistence" value = "false"/>
<Add key = "installationdate" value = "3/8/2006"/>
</Appsettings>

4. Opening a project with vs may cause a lot of warnings or error messages, so you don't have to worry about it,ProgramIt can run normally.

I have just learned dnn. I hope to have some comments from my friends who like dnn. Please leave a message.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.