Install DotNetNuke 4.4.0 on Windows XP

Steps:
  1. Precondition: Your box has been installed the VS 2005 and Sql Server 2005
  2. Download a copy of DotNetNuke 4.4.0 source pack from its government site.
  3. Config IIS
    1. Extract the the source pack:DotNetNuke_4.4.0_Source to C:\DotNetNuke\.
    2. Setup a Virtual directory with name DotNetNuke from IIS, which will point to c:\DotNetNuke\WebSite\
    3. Set the the DotNetNuke site: execute permissions-> Scripts and Exectutables, Asp.Net version at the ASP.NET Tab -> 2.0.50727
    4. Enable the Enable-Default-Document setting on the Documents tab and make sure the the Default.aspx is in the list.
  4. Configure Sql Server 2005
    1. Create a new data base named as DotNetNuke
    2. Create a new sql server login user: dnn
    3. Add the dnn user as the dbowner of DotNetNuke data base

  5. Configure Web.Config
    1. At the root of the site (C:\DotNetNuke\Website), rename the release.config as Web.config
    2. Modify the Connection string of web.config file as following:
      1. 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>
      2. 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;" />
  6. Set site root access permission
    1. First enable the Enable-Simple-File-Sharing setting of XP
    2. 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.
  7. Start to install
    1. Access the site url:http://www.dotnetnuke.com/
    2. You will see the installation successfully message after a few minutes.

Exceptions encountered during installation:
  1. Error (HTTP 403 Forbidden) :
    1. Detail:
      1. 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.
    2. Solution:
      1. 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.
  2. Access to the path 'C:\DotNetNuke\Website\web.config' is denied.
    1. Detail:
      1. 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.

    2. Solution:
      1. Please check the access permission of the root of the site.
      2. Especially the Asp.Net user should have full control of the root folder and all its sub folders and files.




posted @ 2007-03-12 11:01  Freedom  阅读(687)  评论(0编辑  收藏  举报