Maxer 's Blog
态度决定一切,理想成就未来!

DasBlog 总的说是个很不错的开源项目,不论是项目的总体规划还是代码的编写都是很优秀的。

功能也非常强大,但速度却很快(没想到没有应用数据库系统而是采用XML存储数据就可以达到这么好的运行效率)。

在这里想谈一下安装过程中出现的一些问题。

1、到 Source Forge 下载最新的DasBlog 1.8版的Web版。(如果你只是想安装BLOG程序而不是参与开源开发完善的话,就下载这个版本,因为源代码版是不可以直接用户运行的,会提示出错:

Server Error in '/DasBlog' Application. Parser Error Message: Could not load type newtelligence.DasBlog.Web.Global'. 
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="newtelligence.DasBlog.Web.Global" %> 
Source File: /DasBlog/global.asax Line: 1  

具体原因我还没有找到,估计是Web代码不全。我第一次安装就是在这里卡住了。下载Web版后没有任何错误)

2、下载完后,首先解压缩文件夹,把DasBlogCe设置为虚拟目录,或者直接运行 CreateDasBlogVdir.vbs 前提是有管理员权限在本机运行。

3、直接运行,如果你设置的虚拟目录名不是dasBlog而又是按手动设置虚拟目录的方式安装的话还必须更改 Web.Config 的

      <forms name=".DASBLOGAUTH" protection="All" timeout="60" path="/"/>

把path="/"改为你所设置的虚拟目录名。

4、确保目录权限设置正确:

·    On IIS 5.0 (Windows 2000), the account used to execute web applications (IWAM_xxx) needs read/write permissions to the content, siteconfig, and logs subdirectories.

·    The ASP.NET worker process identity, usually “{machinename}\ASPNET” on IIS5.0 (Windows 2000 and Windows XP) or “NETWORK SERVICE” on IIS 6.0 (Windows Server 2003) also need read/write access to the content, siteconfig, and logs subdirectories.

·    Go to the siteConfig directory in (likely in c:\inetpub\wwwroot\{sitename}) and open the site.config file. In that file, change the settings (quite obvious when you look at them). The most important change is to set the <Root> value to the proper URL for your weblog.

·    Open the siteSecurity.config in the same directory and set up your own account with a proper password.



This weblog is Power by Maxer.CN(刘翔).
文章来源:http://www.maxer.cn/blog/PermaLink,guid,bb557a1d-56c7-40f5-85d8-f1e1d1da0639.aspx
posted on 2005-10-26 18:45  Maxer`s Blog  阅读(816)  评论(2编辑  收藏  举报