研究Community Server1.1(一)

安装:
        今天装了半天,用cs1.1提供的web安装和自己手动安装都错误(1)web方式最后报错,就进行不下去(2)手动安装了数据库就死活找不到localhost/cs站点。
        现在终于弄出来了。(1)是sql脚本cs_Procedures.sql中建立的存储过程“@StickyDate = 'Dec  9 1979 12:38:01:820PM'”这个错误,中文区的SQL不支持这中日期格式,修改成‘1979-12-9’以及后面的@StickyDate = 'Jan  1 1753 12:00:00:000AM' 改了,在用web方式就ok了。
        (2)手动安装一直没有搞出来,表结构没搞懂。关于站点的表cs_SiteMappings,cs_Sites ,cs_SiteSettings,添加了相关站点的信息都还是不错,真是糊涂,还要仔细研究研究。


错误(1)

Errors Occurred
Errors occured during the execution of this wizard.

Module Message
CreateCommunity 将数据类型 varchar 转换为 datetime 时出错。无法将 NULL 值插入列 'PostID',表 'cs_cn1.0.dbo.cs_PostAttachments';该列不允许空值。INSERT 失败。向 WriteText 函数传递了 NULL textptr(text、ntext 或 image 指针)。无法将 NULL 值插入列 'PostID',表 'cs_cn1.0.dbo.cs_Posts_InCategories';该列不允许空值。INSERT 失败。将数据类型 varchar 转换为 datetime 时出错。 Created New Application dev(134F980F-43C1-4533-9C50-00EF04F1232E) Created new SettingsID 1000 SettingsID and ApplicationID Mapped Creating moderation actions... Creating a default list of censored words... Disallowed usernames... Creating the default smilies... Created Admin ForumGroup Created Reporting Forum Created Deleted Forum Created Deleted Forum Created default roles... Create Admin User Create Anonymous User Created Admin User 语句已终止。语句已终止。


错误(2)(待解决)

Critical Error: Unknown Community Site

The Community Server site  "localhost/cs" was not found.
Community Server supports multiple communities within a single database and each community must be setup and configured separately. 

If you have not configured any communities, you can do so using the 'New Community Server Site Wizard'. Please see the readme.txt file for more details.


For more information you can also visit www.communityserver.org the home of the Community Server team.
原文地址:https://www.cnblogs.com/melonlee/p/183400.html