惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

D
Docker
U
Unit 42
Google DeepMind News
Google DeepMind News
B
Blog RSS Feed
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
雷峰网
雷峰网
Microsoft Security Blog
Microsoft Security Blog
爱范儿
爱范儿
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
罗磊的独立博客
GbyAI
GbyAI
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
宝玉的分享
宝玉的分享
L
LangChain Blog
Engineering at Meta
Engineering at Meta
量子位
有赞技术团队
有赞技术团队
博客园 - 【当耐特】
A
About on SuperTechFans
Y
Y Combinator Blog

博客园 - nicesnow

.net 3.0 12个.net 开发者值得去读的国外Blog 使用url与内部fileid绑定datalist中的图片 控制某个空间滚动效果的实现(scroll bar) update数据库表--存储过程 datagrid 模版列操作问题 今天犯的一个错误,学得到不少东西,哈哈 Commerce starter kit数据库分析 DNN修改登录次数限制 Ajax程序设计入门 软件工程之需求分析(二) 软件工程之需求分析(一) 关于民工。。。感人! 国外C#开源系统一览表 关于SharpWebMail配置调试 怎样将表中数据导出,形成insert into 表名 values(...)这样的语句? 怎样将表中数据导出,形成insert into 表名 values(...)这样的语句? 怎样才是一个真正的DBA? 微软提供的关于其它数据库迁移到SQL Server的技术指南
如何在DNN站点的虚拟目录下安装CS
nicesnow · 2007-01-09 · via 博客园 - nicesnow

如何在DNN站点的虚拟目录下安装CS(Community Server) 第一次尝试安装CS(Community Server) ,想把DNN和CS结合起来,所以就在DNN的站点下面建了虚拟目录CSS存放CS的文件,但是,一打开运行,就出现如下错误 Line 37: Line 38: Line 39: Line 40: Line 41: 一运行,还是同样错误,看来只能把哪几个DLL Copy到CS的bin目录下了, DNNSQLMembershipProvider.dll DNNSQLProfileProvider.dll DNNSQLRoleProvider.dll DotNetNuke.dll DotNetNuke.HttpModules.DNNMembership.dll DotNetNuke.HttpModules.Exception.dll DotNetNuke.HttpModules.Personlization.dll DotNetNuke.HttpModules.URLRewrite.dll DotNetNuke.HttpModules.UsersOnline.dll 再运行,终于,这个问题不再出现了,但是又有了新的问题 Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Annoymous_id_module_not_enabled: Country Source Error: [No relevant source lines] Source File: none Line: 0 在google上查找了一下,果然,出现这个问题的人还挺多的, 在外面找到的解决方案 In CS web.config I removed ( commented out ) following lines: _______________________________________________________________________________ _______________________________________________________________________________ Now CommunityServer takes over DNN's Setting which enables anonymous Identification per default. It should also work if you set this option in both DNN's and CS's web.config in the same way! 还要在CS的web.config中注释掉的有这一句 OK,CS总算能运行起来了,不知道还有没有别的问题 ps: 补充一点, 由于,DNN的Timezone属性定义是 integer" allowAnonymous="true" /> 而CS的是 System.Double" defaultValue="0" /> 所以要把CS的CommunityServerComponents\Componets\Profile.cs文件作相庆的更改,把int转为dobule publicdoubleTimezone { get { objectobj; try//CSstoresthisasandouble"timezone"(hoursoffGMT) { obj=GetObject("timezone"); returnobj==null?0:(double)obj; } catch//DNNstoresthisasanINT"TimeZone"(MinutesoffGMT) { obj=GetObject("TimeZone"); returnobj==null?0:(double)(Convert.ToDouble(obj)/60); } } set { try//CSstoresthisasandouble"timezone"(hoursoffGMT) { if(value<-12||value>12) Set("timezone",0); else Set("timezone",value); } catch//DNNstoresthisasanINT"TimeZone"(MinutesoffGMT) { if(value<-12||value>12) Set("TimeZone",0); else Set("TimeZone",Convert.ToInt32(value*60)); } } } posted @ 2005-09-20 12:30 无心之柳.NET 阅读(779) |
如何不继承主目录的Web.config 我把DNN装在了站点主目录,把CS安装在其下的一个虚拟目录下,但是CS 应用程序继承了DNN的WEB.Config,一运行就出现 Parser Error Message: 找不到文件或程序集名称“DotNetNuke.HttpModules.UrlRewrite”,或找不到它的一个依赖项。尝试过, 都没有效果如何解决, 急,放一下首页,解决就删除