Install DotNetNuke 4.4.0 on Windows XP
2007-03-12 11:01
633 查看
Steps:
Precondition: Your box has been installed the VS 2005 and Sql Server 2005
Download a copy of DotNetNuke 4.4.0 source pack from its government site.
Config IIS
Extract the the source pack:DotNetNuke_4.4.0_Source to C:\DotNetNuke\.
Setup a Virtual directory with name DotNetNuke from IIS, which will point to c:\DotNetNuke\WebSite\
Set
the the DotNetNuke site: execute permissions-> Scripts and
Exectutables, Asp.Net version at the ASP.NET Tab -> 2.0.50727
Enable the Enable-Default-Document setting on the Documents tab and make sure the the Default.aspx is in the list.
Configure Sql Server 2005
Create a new data base named as DotNetNuke
Create a new sql server login user: dnn
Add the dnn user as the dbowner of DotNetNuke data base
Configure Web.Config
At the root of the site (C:\DotNetNuke\Website), rename the release.config as Web.config
Modify the Connection string of web.config file as following:
In connectionstring section:
<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=dnn;pwd=dnn;" providerName="System.Data.SqlClient" />
</connectionStrings>
In appsettings section:
<!-- 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;uid=dnn;pwd=dnn;" />
Set site root access permission
First enable the Enable-Simple-File-Sharing setting of XP
Add the full control permission of ASP.NET user on the site root folder:C:\DotNetNuke\Website and inherit the setting to all its child files and folders.
Start to install
Access the site url:http://www.dotnetnuke.com/
You will see the installation successfully message after a few minutes.
Exceptions encountered during installation:
Error (HTTP 403 Forbidden) :
Detail:
This
error (HTTP 403 Forbidden) means that Internet Explorer was able to
connect to the website, but it does not have permission to view the
webpage.
For more information about HTTP errors, see Help.
Solution:
Make
sure the Enable-Default-Document setting is enabled on the Documents
tab of IIS web site property page and the the Default.aspx is in the
document list.
Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
Detail:
DotNetNuke Configuration Error
Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
DotNetNuke
has extensive file upload capabilities for content, modules, and skins.
These features require custom security settings so that the application
is able to create and remove files in your website.
Using
Windows Explorer, browse to the root folder of the website (
C:\DotNetNuke by default ). Right-click the folder and select Sharing
and Security from the popup menu ( please note that if you are using
Windows XP you may need to Enable Simple File Sharing before these
options are displayed ). Select the Security tab. Add the appropriate
User Account and set the Permissions.
If using Windows 2000 - IIS5
the {Server}\ASPNET User Account must have Read, Write, and Change Control of the virtual root of your website.
If using Windows 2003 - IIS6
the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website.
Solution:
Please check the access permission of the root of the site.
Especially the Asp.Net user should have full control of the root folder and all its sub folders and files.
Precondition: Your box has been installed the VS 2005 and Sql Server 2005
Download a copy of DotNetNuke 4.4.0 source pack from its government site.
Config IIS
Extract the the source pack:DotNetNuke_4.4.0_Source to C:\DotNetNuke\.
Setup a Virtual directory with name DotNetNuke from IIS, which will point to c:\DotNetNuke\WebSite\
Set
the the DotNetNuke site: execute permissions-> Scripts and
Exectutables, Asp.Net version at the ASP.NET Tab -> 2.0.50727
Enable the Enable-Default-Document setting on the Documents tab and make sure the the Default.aspx is in the list.
Configure Sql Server 2005
Create a new data base named as DotNetNuke
Create a new sql server login user: dnn
Add the dnn user as the dbowner of DotNetNuke data base
Configure Web.Config
At the root of the site (C:\DotNetNuke\Website), rename the release.config as Web.config
Modify the Connection string of web.config file as following:
In connectionstring section:
<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=dnn;pwd=dnn;" providerName="System.Data.SqlClient" />
</connectionStrings>
In appsettings section:
<!-- 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;uid=dnn;pwd=dnn;" />
Set site root access permission
First enable the Enable-Simple-File-Sharing setting of XP
Add the full control permission of ASP.NET user on the site root folder:C:\DotNetNuke\Website and inherit the setting to all its child files and folders.
Start to install
Access the site url:http://www.dotnetnuke.com/
You will see the installation successfully message after a few minutes.
Exceptions encountered during installation:
Error (HTTP 403 Forbidden) :
Detail:
This
error (HTTP 403 Forbidden) means that Internet Explorer was able to
connect to the website, but it does not have permission to view the
webpage.
For more information about HTTP errors, see Help.
Solution:
Make
sure the Enable-Default-Document setting is enabled on the Documents
tab of IIS web site property page and the the Default.aspx is in the
document list.
Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
Detail:
DotNetNuke Configuration Error
Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
DotNetNuke
has extensive file upload capabilities for content, modules, and skins.
These features require custom security settings so that the application
is able to create and remove files in your website.
Using
Windows Explorer, browse to the root folder of the website (
C:\DotNetNuke by default ). Right-click the folder and select Sharing
and Security from the popup menu ( please note that if you are using
Windows XP you may need to Enable Simple File Sharing before these
options are displayed ). Select the Security tab. Add the appropriate
User Account and set the Permissions.
If using Windows 2000 - IIS5
the {Server}\ASPNET User Account must have Read, Write, and Change Control of the virtual root of your website.
If using Windows 2003 - IIS6
the NT AUTHORITY\NETWORK SERVICE User Account must have Read, Write, and Change Control of the virtual root of your website.
Solution:
Please check the access permission of the root of the site.
Especially the Asp.Net user should have full control of the root folder and all its sub folders and files.
相关文章推荐
- (转)Creating a DotNetNuke® Module Using CodeSmith Tools(For DotNetNuke Version 4.4.0 or higher)
- DNN安装模板(DotNetNuke.install)
- DNN安装模板(DotNetNuke.install)
- Howto Install Windows XP / Vista on Xen
- How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008
- C#版 DotNetNuke(DNN) 4.4.0
- Install and config Apache, PHP, MySql on windows XP
- DotNetNuke安装大全-如何安装DNN StartKit、Install、Source包。(转载)
- Command line on DotNetNuke
- DotNet Core CLI Samples on Windows
- How to Install PHP 5 for Iis 6 on Windows Xp and 2003 - wikiHow
- How to install ASP.NET 1.1 with IIS7 on Vista and Windows 2008
- How to install Ruby on rails in Windows 2003/xp 如何安装ROR
- setup crash when install Project 2010 on Windows XP
- Imagenet tools install on windows
- Install mxnet on windows
- Windows Forms XP style on VS.NET
- Install QT+Mingw+Eclipse in windows XP
- DotNetNuke的C#版本
- Hands-on Labs for Windows® Workflow Foundation in C# and VB.NET