到底怎样安装/初始化/个性化DotNetNuke(DNN)?

DotNetNuke中国官方网站DNNChina上有《DotNetNuke 3.0.4 安装指南》一文,我在这里以3.0.7为蓝本稍做详细点的说明,2.x雷同:

1、下载:首先下载最新版本的DotNetNuke3.0.7- http://prdownloads.sourceforge.net/dnn/DotNetNuke_3.0.7.zip?download

2、创建数据库:在MS SQL Server中创建一新数据库,如DotNetNuke307;

3、配置你的DNN:打开web.config文件,
  1)搜索“SiteSqlServer”,Database为DotNetNuke307(就是上面新建的数据库),uid为MS SQL Server是登录用户,pwd为登录密码;
      2)搜索“debug”,把debug的值改为true,则为“<compilation debug="true" />”,这样是允许运行时调试;
      3)搜索“globalization”,可根据实际情况,把requestEncoding/responseEncoding/fileEncoding改为你想要的编码,如“GB2312”(简体中文);

4、安全访问性:
  1)NTFS:把你的DotNetNuke目录的安全属性中添加上NETWORK SERVICE用户,并将该用户的权限设为允许读取、写入、修改。
  2)非NTFS:如果你的DotNetNuke所在硬盘分区的文件系统不是NTFS,则不需要做任何操作;

5、虚拟目录:在IIS中添加DotNetNuke的虚拟目录,如DotNetNuke(其它也可,如DotNetNuke307),物理路径指向DotNetNuke所在目录,这样就能做到所有版本的DNN都不冲突,包括数据库与虚拟目录;

6、运行:在浏览器中打开http://localhost/dotnetnuke,稍等一会,DotNetNuke会自动初始化数据库等信息,便可体验DotNetNuke最新版本。

7、个性化:
  1)汉化:在DotNetNuke中国官方网站DNNChina上有下载DNN3.0.4汉化版
  2)密码:admin的密码比较容易改,不少网友反馈host的密码不知道怎样改,在3.0.x中,用户可以点击portal-》superuser accounts,编辑host用户,修改密码;


posted @ 2004-12-11 21:26 灵感之源 阅读(10807) 评论(31)  编辑 收藏 所属分类: 3.开源项目

  回复  引用  查看    
#1楼 2004-12-11 21:10 | 中国Rainbow      
谢谢!
  回复  引用    
#2楼 2004-12-12 10:28 | 做人要厚道 [未注册用户]
评论时间居然比发贴时间还要早.应该是采集的客户端时间.
  回复  引用  查看    
#3楼 [楼主]2004-12-12 11:00 | unruledboy(灵感之源)      
那是因为我更新了发布时间。
  回复  引用  查看    
#4楼 2004-12-23 22:38 | Evernory      
请问怎么安装数据库啊,难道就建一个空的数据库就行了吗
  回复  引用  查看    
#5楼 [楼主]2004-12-23 23:52 | 灵感之源:PSP团队Guru      
to:Evernory
不是说得很清楚了吗? “6、运行:在浏览器中打开http://localhost/dotnetnuke,稍等一会,DotNetNuke会自动初始化数据库等信息,便可体验DotNetNuke最新版本。 ”,注意了,是自动初始化数据库
  回复  引用  查看    
#6楼 2004-12-24 08:56 | Evernory      
哦~~,原来是这样的啊,谢谢了
  回复  引用    
#7楼 2004-12-30 15:29 | Richard [未注册用户]
您好,按照说明我进行了安装,提示错误如下

DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database specified in connectionString for SqlDataProvider


数据库连接我肯定没有错误
  回复  引用    
#8楼 2004-12-30 15:33 | Richard [未注册用户]
现在的提示

Server Error in '/DotNetNuke' Application.
--------------------------------------------------------------------------------

?
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: ?

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'xmauf0dr.dll' could not be loaded.


=== Pre-bind state information ===
LOG: Where-ref bind. Location = C:\WINNT\TEMP\xmauf0dr.dll
LOG: Appbase = file:///D:/DotNetNuke
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Attempting download of new URL file:///C:/WINNT/TEMP/xmauf0dr.dll.



Stack Trace:


[FileNotFoundException: ?]
System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Boolean isStringized, Evidence assemblySecurity, Boolean throwOnFileNotFound, Assembly locationHint, StackCrawlMark& stackMark) +0
System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Boolean stringized, Evidence assemblySecurity, StackCrawlMark& stackMark) +307
System.Reflection.Assembly.Load(AssemblyName assemblyRef, Evidence assemblySecurity) +21
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +67
System.CodeDom.Compiler.CompilerResults.get_CompiledAssembly() +0
System.Xml.Serialization.Compiler.Compile() +409
System.Xml.Serialization.TempAssembly..ctor(XmlMapping[] xmlMappings) +1271
System.Xml.Serialization.XmlSerializer..ctor(Type type, String defaultNamespace) +312
System.Xml.Serialization.XmlSerializer..ctor(Type type) +27
DotNetNuke.HttpModules.Config.RewriterConfiguration.GetConfig()
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e)
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET Version:1.1.4322.2032
  回复  引用  查看    
#9楼 2004-12-30 17:26 | 快可天地      
讲的很详细,谢谢
  回复  引用  查看    
#10楼 2004-12-30 17:40 | 快可天地      
有没有C#版的DotNetNuke3.0.7
  回复  引用    
#11楼 2005-01-07 16:30 | small_heart [未注册用户]
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: 无法识别的属性“validateRequest”。

Source Error:


Line 77: <!--<globalization culture="en-US" uiCulture="en" fileEncoding="iso-8859-1" requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/>-->
Line 78: <!-- page level options -->
Line 79: <pages validateRequest="false" enableViewStateMac="true" />
Line 80: <!-- membership config:
Line 81: Attributes:



我装得是DotNetNuke_3.0.8能汉化吗?


  回复  引用    
#12楼 2005-01-13 16:22 | Daniel [未注册用户]
我想问一个问题!
DotNetNuke中的NewsFeeds(RSS)
和XML/XSL模块都有什么用处呀?
我现在有一个DotText的Blog和一个DotNetNuke。
我是否能够通过上面两种模块在DotNetNuke的主页上面显示DotText的RSS呢?
谢谢。
  回复  引用    
#13楼 2005-01-13 16:34 | Daniel [未注册用户]
我想问一个问题!
DotNetNuke中的NewsFeeds(RSS)
和XML/XSL模块都有什么用处呀?
我现在有一个DotText的Blog和一个DotNetNuke。
我是否能够通过上面两种模块在DotNetNuke的主页上面显示DotText的RSS呢?
谢谢。
  回复  引用    
#14楼 2005-02-21 10:38 | Jack [未注册用户]
能否在虚拟主机上安装,如果可以对主机有什么要求?谢谢
  回复  引用  查看    
#15楼 [楼主]2005-02-21 10:52 | 灵感之源:PSP团队Guru      
应该可以,没有。
  回复  引用  查看    
#16楼 2005-04-03 15:40 | 天寒      
配置错误,显示

Section or group name 'membership' already defined.

注释了之后就来了很多错误。。。
是不是 307这个版本有问题的


  回复  引用  查看    
#17楼 2005-04-03 16:10 | 天寒      
问题好像出在我机上装了FrameWork 2.0
  回复  引用    
#18楼 2005-04-12 14:33 | 西风独自凉 [未注册用户]
安装的时候出现这个错误:


DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database.

存储过程“dbo.GetPortalAliasByPortalID”不存在。

  回复  引用    
#19楼 2005-04-12 22:38 | hb [未注册用户]
请试一下如下方法:

将WEB根目录的web.config文件删除。

我的问题就是这样解决的。
  回复  引用    
#20楼 2005-04-19 21:39 | 探针 [未注册用户]
请教一下各问大哥:
为什么我在本地能访问dnn,而在远程无法访问呢?
  回复  引用    
#21楼 2005-07-22 10:19 | 后来者 [未注册用户]
我安装顺利完成,可以正常。
可是把debug的值改回false后host和admin却登录不上去了。
“ 登录失败,请注意密码区分大小写。 ”
不知还有没有人帮我?

  回复  引用    
#22楼 2005-07-30 02:21 | heaven [未注册用户]
Server Error in '/' Application.
--------------------------------------------------------------------------------

The stored procedure 'dbo.GetTabByName' doesn't exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: The stored procedure 'dbo.GetTabByName' doesn't exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[InvalidOperationException: The stored procedure 'dbo.GetTabByName' doesn't exist.]
System.Data.SqlClient.SqlCommand.DeriveParameters() +1268
System.Data.SqlClient.SqlCommandBuilder.DeriveParameters(SqlCommand command) +41
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.DiscoverSpParameterSet(SqlConnection connection, String spName, Boolean includeReturnValueParameter, Object[] parameterValues)
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSetInternal(SqlConnection connection, String spName, Boolean includeReturnValueParameter)
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName, Boolean includeReturnValueParameter)
Microsoft.ApplicationBlocks.Data.SqlHelperParameterCache.GetSpParameterSet(String connectionString, String spName)
Microsoft.ApplicationBlocks.Data.SqlHelper.ExecuteReader(String connectionString, String spName, Object[] parameterValues)
DotNetNuke.Data.SqlDataProvider.GetTabByName(String TabName, Int32 PortalId) +128
DotNetNuke.Entities.Tabs.TabController.GetTabByName(String TabName, Int32 PortalId, Int32 ParentId) +23
DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication() +65
DotNetNuke.Services.Upgrade.Upgrade.UpgradeDNN(String strProviderPath, String strDatabaseVersion) +1337
DotNetNuke.Services.Upgrade.Upgrade.InstallDNN(String strProviderPath) +1026
DotNetNuke.Framework.Install.InstallApplication() +1003
DotNetNuke.Framework.Install.Page_Load(Object sender, EventArgs e) +220
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750



  回复  引用    
#23楼 2005-08-08 16:01 | 开心 [未注册用户]
我现在能上去我的网页,可打不开自己要学习的课程!
  回复  引用    
#24楼 2005-08-25 12:02 | diabo [未注册用户]
請問, 我裝了MSDE後, 是否只要用下osql -E連到資料庫後, 再下CREATE DATABASE dotnetnuke(資料庫名稱)
要進去http://localhost/dotnetnuke/後就發生以下的錯誤
DotNetNuke Upgrade Error
The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] )

ERROR: Could not connect to database specified in connectionString for SqlDataProvider



  回复  引用    
#25楼 2006-01-10 18:22 | 2668926z [未注册用户]

  回复  引用    
#26楼 2006-01-28 17:45 | 才特 [未注册用户]
热台
  回复  引用    
#27楼 2006-02-14 11:26 | 南宁 [未注册用户]
@asd

  回复  引用    
#28楼 2006-03-17 13:31 | 无敌战将 [未注册用户]
安装的程序
  回复  引用    
#30楼 2006-06-13 15:08 | 张建新 [未注册用户]
@Evernory
看不懂,要有做好的直接可以使的
  回复  引用    
#31楼 2006-12-15 11:01 | lbywyj [未注册用户]
配置错误
说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

分析器错误信息: 无法识别的属性“requirePermission”。

源错误:


行 4: <sectionGroup name="dotnetnuke">
行 5: <!-- the requirePermission attribute will cause a syntax warning - please ignore - it is required for Medium Trust support-->
行 6: <section name="data" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
行 7: <section name="logging" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>
行 8: <section name="scheduling" requirePermission="false" type="DotNetNuke.Framework.Providers.ProviderConfigurationHandler, DotNetNuke"/>


源文件: D:\DotNetNuke\web.config 行: 6


标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2005-01-31 23:22 编辑过
"五向定位"职业成长路线公开课(上海、南京、大连)
Google站内搜索


相关链接: