Spiga

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

2004-12-11 21:26 by 灵感之源, 11574 visits, 网摘, 收藏, 编辑
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用户,修改密码;


0
0
(请您对文章做出评价)
« 上一篇:DotNetNuke(DNN) 3.0.7 完全功能测试版
» 下一篇:推荐开源代码 2004/12/12(修正路径)
Add your comment

31 条回复

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

    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. #8楼 Richard2004-12-30 15:33
    现在的提示

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

    Section or group name 'membership' already defined.

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

      回复  引用  查看    
  17. #17楼 天寒      2005-04-03 16:10
    问题好像出在我机上装了FrameWork 2.0
      回复  引用  查看    
  18. #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. #19楼 hb2005-04-12 22:38
    请试一下如下方法:

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

    我的问题就是这样解决的。
      回复  引用    
  20. #20楼 探针2005-04-19 21:39
    请教一下各问大哥:
    为什么我在本地能访问dnn,而在远程无法访问呢?
      回复  引用    
  21. #21楼 后来者[未注册用户]2005-07-22 10:19
    我安装顺利完成,可以正常。
    可是把debug的值改回false后host和admin却登录不上去了。
    “ 登录失败,请注意密码区分大小写。 ”
    不知还有没有人帮我?
      回复  引用    
  22. #22楼 heaven[未注册用户]2005-07-30 02:21
    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. #23楼 开心[未注册用户]2005-08-08 16:01
    我现在能上去我的网页,可打不开自己要学习的课程!
      回复  引用    
  24. #24楼 diabo[未注册用户]2005-08-25 12:02
    請問, 我裝了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. #25楼 2668926z[未注册用户]2006-01-10 18:22
      回复  引用    
  26. #26楼 才特[未注册用户]2006-01-28 17:45
    热台
      回复  引用    
  27. #27楼 南宁[未注册用户]2006-02-14 11:26
    @asd
      回复  引用    
  28. #28楼 无敌战将[未注册用户]2006-03-17 13:31
    安装的程序
      回复  引用    
  29. #29楼 DNN newbie[未注册用户]2006-05-09 14:05
    http://www.codenote.com/post/a9d66475ad8ce40fbc0cf7fd2ad1134d
      回复  引用    
  30. #30楼 张建新[未注册用户]2006-06-13 15:08
    @Evernory
    看不懂,要有做好的直接可以使的
      回复  引用    
  31. #31楼 lbywyj[未注册用户]2006-12-15 11:01
    配置错误
    说明: 在处理向该请求提供服务所需的配置文件时出错。请检查下面的特定错误详细信息并适当地修改配置文件。

    分析器错误信息: 无法识别的属性“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
      回复  引用