.text blog的配置问题,请教

jhlcss 2004-08-11 07:05:33
我的操作步骤如下:
--------------------------------
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
...全文
71 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
BlueDestiny 2004-08-12
  • 打赏
  • 举报
回复
顶~
jhlcss 2004-08-12
  • 打赏
  • 举报
回复
to ceocio:
虚拟目录我肯定是创建了的,Multiple2_Web.config是适用于虚拟目录模式,
ceocio 2004-08-11
  • 打赏
  • 举报
回复
这是由于未将应用程序作为站点或者虚拟目录造成的,也有可能是你对.Text的web.config没有配置正确,我记得.Text带有两个可选择的web.config,其中一个用于http://username.xxx.net形式,一个用于http://blog.xxx.net/username形式,一定要选正确才行。
woyingjie 2004-08-11
  • 打赏
  • 举报
回复
汗...

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧