.text blog的配置问题,请教
我的操作步骤如下:
--------------------------------
Platform
--------------------------------
Windows XP Professional SP1
IIS 5.1
SQL Server 2000 Developer Edition Build 2600 SP1
--------------------------------
Installation Steps
--------------------------------
1. Download Binary Release 0.95.2004.102 from
http://www.gotdotnet.com/community/workspaces/viewuploads.aspx?id=e99fccb3-1a8c-
42b5-90ee-348f6b77c407
2. Create Directory D:\blogs
3. Unzip Dottext 0.95.2004.102.zip into D:\blogs
4. Create Virtual Directory named blog
Point to D:\Blogs\Dottext 0.95.2004.102\DottextWeb
Ensure anonymous access is enabled.
5. Create SQL Server database called blogs.
Accept all defaults. no problem.
6. Run D:\Blogs\Dottext 0.95.2004.102\Data\Dottext_095_FullDB.sql from Query Analyzer.
9. Copy D:\Blogs\Dottext 0.95.2004.102\Configs\Multiple2_Web.config to
D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Multiple2_Web.config
10. Delete D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Web.config
11. Rename D:\Blogs\Dottext 0.95.2004.102\Configs\Multiple2_Web.config to
D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Web.config
12. Edit D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Web.config
Delete the top comments.
Edit the connection string: Password=;Persist Security Info=True;User ID=sa;Initial Catalog=blogs;Data Source=localhost
Leave the appSettings as they are:
<add key="AggregateUrl" value = "http://localhost/blog" />
<add key="AggregateHost" value = "localhost" />
13. Configure Dottexthelper
Edit the D:\Blogs\Dottext 0.95.2004.102\DottextHelper\DottextHelper.config
change connection string to the same from above: Password=bapassword;Persist Security Info=True;User ID=blogadmin;Initial Catalog=blogs;Data Source=localhost
14. Create New Blog with Dottexthelper:
DottextHelper -add Annion 321 Annion@domain.com localhost Annion false
15. Edit the blog_Config table
Change the BlogGroup column to 1 for the new user.
16. Create folder for blog: D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Annion
17. Copy D:\Blogs\Dottext 0.95.2004.102\DottextWeb\default.aspx to
D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Annion\default.aspx
18. Edit D:\Blogs\Dottext 0.95.2004.102\DottextWeb\Annion\default.aspx:
delete all contents and save
19. Test Aggregate Site:
http://localhost/blog/default.aspx
Main screen produced.
20. Test Annion blog site:
http://localhost/blog/Annion/default.aspx
Err Description:
“/blog”应用程序中的服务器错误。
--------------------------------------------------------------------------------
A blog matching the location you requested was not found. Host = [localhost], Application = [annion]
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: Dottext.Framework.BlogDoesNotExistException: A blog matching the location you requested was not found. Host = [localhost], Application = [annion]
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[BlogDoesNotExistException: A blog matching the location you requested was not found. Host = [localhost], Application = [annion]]
Dottext.Framework.Configuration.Config.GetConfig(String hostname, String application) +90
Dottext.Common.Config.MultipleBlogConfig.GetConfig(HttpContext context) +352
Dottext.Framework.Configuration.Config.CurrentBlog(HttpContext context) +26
Dottext.Web.UI.Globals.Skin(HttpContext context) +9
Dottext.Web.UI.WebControls.MasterPage.get_TemplateFile() +25
Dottext.Web.UI.WebControls.MasterPage.BuildMasterPage() +20
Dottext.Web.UI.WebControls.MasterPage.OnInit(EventArgs e) +13
System.Web.UI.Control.InitRecursive(Control namingContainer) +241
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Control.InitRecursive(Control namingContainer) +179
System.Web.UI.Page.ProcessRequestMain() +174
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.573; ASP.NET 版本:1.1.4322.573