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

推荐订阅源

S
Secure Thoughts
Security Latest
Security Latest
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
GbyAI
GbyAI
L
LINUX DO - 最新话题
A
Arctic Wolf
T
Tor Project blog
G
GRAHAM CLULEY
I
InfoQ
博客园_首页
IT之家
IT之家
The Register - Security
The Register - Security
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
Blog — PlanetScale
Blog — PlanetScale
N
Netflix TechBlog - Medium
K
Kaspersky official blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
U
Unit 42
PCI Perspectives
PCI Perspectives
量子位
P
Palo Alto Networks Blog
S
Securelist
T
Troy Hunt's Blog
博客园 - 【当耐特】
Recorded Future
Recorded Future
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
S
Security Affairs
Engineering at Meta
Engineering at Meta
T
The Blog of Author Tim Ferriss
博客园 - 聂微东
罗磊的独立博客
N
News and Events Feed by Topic
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
NISL@THU
NISL@THU
C
Cisco Blogs
T
Threatpost
有赞技术团队
有赞技术团队
Forbes - Security
Forbes - Security
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
T
The Exploit Database - CXSecurity.com
Cloudbric
Cloudbric
Cyberwarzone
Cyberwarzone
Google DeepMind News
Google DeepMind News
C
Cyber Attacks, Cyber Crime and Cyber Security

博客园 - HQT

类似 MSN 的提示窗口 asp.net 1.1 部分按钮不能提交 - canNOT submit issue .NET 2.0 和1.1 共用时,出现"服务器应用程序不可用"的错误. - HQT 检索 COM 类工厂中 CLSID 为 {00024500-0000-0000-C000-000000000046} 的组件时失败,原因是出现以下错误: 80070005 Oracle 数字转换为英文的函数 取中英文数字混合的长度 ( C# + ORACLE ) - HQT 找不到可安装的 ISAM -- ConnectionString 问题.... .net 使用 ACCESS 库一个小问题 C# 中转换 vb.net 换行符等Ascii 字符 SQLServer 安装过程出错 安装程序配置服务器失败 (解决篇) Web 横向打印 Excel 小写金额转大写 可随文本变化而出现不同选择项的文本框+下拉列表选择 获取Excel合并单元格数据-通用方法 关于 Excel 的结束进程的方法讨论 如何判断Excel单元格是否为合并单元格 DNN-HttpModule.UrlRewrite( url重写 ) Xceed Components together2.0 for vs.net2003 下载
DNN 4.0 安装
HQT · 2005-11-10 · via 博客园 - HQT

Posted on 2005-11-10 00:56  HQT  阅读(1431)  评论()    收藏  举报

和 3.X 有点小不一样,毕竟是 ASP2.0 的嘛. 但也不是很复杂,且看下面步骤:

1.建库,这步同 3.X . 偶用的是 SQL 2000 的. 建了个名为 DNN4的数据库,并在安全性里添加了个用户 DNN4
2.将 DNN 4.0 Source 目录下的 \Website\ Release.config 文件 改为  Web.config ( 和 3.X 一样的文件名)
3. 修改 Web.config 文件中关于连接字符串的部分,有两处: Connection String 和 appSettings

  <connectionStrings>
    
<!-- Connection String for SQL Server 2005 Express -->
    
<add name="DotNetNuke" connectionString="Data Source=.\SQLExpress;Database=DotNetNuke_4;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Website.mdf;" providerName="System.Data.SqlClient" />
    
<!-- Connection String for SQL Server 2000/2005
    <add
      name="DotNetNuke"
      connectionString="Server=(local);Database=DNN4;uid=DNN4;pwd=DNN4;"
      providerName="System.Data.SqlClient" />
   
-->
  
</connectionStrings>
  
<appSettings>
    
<!-- Connection String for SQL Server 2005 Express - kept for backwards compatability - legacy modules   -->
    
<add key="DotNetNuke" value="Data Source=.\SQLExpress;Database=DotNetNuke_4;Integrated Security=True;User Instance=True;AttachDBFilename=|DataDirectory|Website.mdf;" />
    
<!-- Connection String for SQL Server 2000/2005 - kept for backwards compatability - legacy modules
    <add key="DotNetNuke" value="Server=(local);Database=DNN4;uid=DNN4;pwd=DNN4;"/>
    
-->
.

  修改完毕,保存.

4. 修改 Website 的安全,  2003 下是 NetWorkService , 2000 下是 asp_net , 给它完全控制权限

5. 照 DNN3 的步骤,可能会在IIS中新建个虚拟目录,指向DNN的 WEBSITE 目录. 但你会发现建完的虚拟目录无法正常显示,会出现一个错误.
   在 DNN4 中, 可以直接打开 DotNetNuke.sln , 然后它会提示:

---------------------------
Microsoft Visual Studio
---------------------------
The site 'http://localhost/DotNetNuke_2' is currently configured for use with ASP.NET 1.1.4322.2300. Microsoft Visual Studio has been designed for use with ASP.NET 2.0; if not configured some features may make incorrect assumptions, and pages designed with the tool may not render correctly.

Would you like the site to be configured for use with ASP.NET 2.0?

选择 "是", 它就会自动帮你建好虚拟目录,默认的是 DotNetNuke_2 , 你可以直接用记事本修改 DotNetNuke.sln 文件中前2-3行的 DotNetNuke_2 为你想改的虚拟目录名:  
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "http://localhost/DotNetNuke_2/", "http://localhost/DotNetNuke_2", "{79D3BA0F-F76F-4A84-AE7F-C6A01EC247F9}" 

6. 按 F5,运行,即可出现一个安装页面,默认情况下,系统会提示未安装,点击安装链接,即可像 DNN3 那样开始正常安装了....

WELL...
有问题,请大家再讨论~~