Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1165009
  • 博文数量: 1310
  • 博客积分: 3980
  • 博客等级: 中校
  • 技术积分: 8005
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-09 22:05
文章分类

全部博文(1310)

文章存档

2011年(1)

2008年(1309)

我的朋友

分类:

2008-07-06 13:25:56

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 .
  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>
            

            

            
        <add name="SiteSqlServer" connectionString="Server=(local);Database=DotNetNuke;uid=dnn;pwd=dnn;" providerName="System.Data.SqlClient" />
          
        connectionStrings>
      2. In appsettings section:

          
            

            
        <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:
    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.






[新闻]56被关一月 危机的是整个视频业
阅读(290) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~