DotNetNuke04.3.7 升级到 4.6.0 时报错

本文记录了在将DotNetNuke从4.3.7版本升级到4.6.0版本过程中遇到的错误及解决方案。主要问题是由于权限设置不当导致无法访问web.config文件。文章提供了针对不同Windows系统的具体解决步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

升级到DotNetNuke 4.6.0 时出现报错,主要是这一条: DotNetNuke_4.3.7_Install"web.config' is denied.
原因是权限设置有问题,找到DotNetNuke所在目录,为NETWORK SERVICE帐户添加完全控制权限。

注:
  • 在Windows 2000/IIS5 Window XP Pro里面是 {Server}"ASPNET 帐户
  • 在Windows 2003/IIS6 里面是 NT AUTHORITY"NETWORK SERVICE帐户
以下是完整的报错信息:

Upgrading DotNetNuke

Current Assembly Version: 04.06.00

Current Database Version: 04.03.07



Upgrade Status Report

00:00:00.109 - Upgrading to Version: 4.6.0
00:00:00.203 -   Executing Script: 04.04.00.SqlDataProvider  Error! (see 04.04.00.log for more information)
00:00:01.765 -   Executing Script: 04.04.01.SqlDataProvider  Success
00:00:01.890 -   Executing Script: 04.05.00.SqlDataProvider  Success
00:00:03.406 -   Executing Script: 04.05.01.SqlDataProvider  Error! (see 04.05.01.log for more information)
00:00:03.953 -   Executing Script: 04.05.02.SqlDataProvider  Success
00:00:05.046 -   Executing Script: 04.05.03.SqlDataProvider  Success
00:00:05.328 -   Executing Script: 04.05.04.SqlDataProvider  Success
00:00:05.390 -   Executing Script: 04.05.05.SqlDataProvider  Success
00:00:05.406 -   Executing Script: 04.06.00.SqlDataProvider  Error! (see 04.06.00.log for more information)
00:00:06.531 - Performing General Upgrades
00:00:07.203 - Installing Module File Adsense_01.00.01_Install:   Success
00:00:08.078 - Installing Module File HTML_04.06.00_Install:   Error!
00:00:08.218 - Installing Module File Links_03.03.07_Install:   Error!
00:00:08.296 - Installing Package File LiveID_01.00.00_Install:   Success
00:00:08.828 - Installing Package File OpenID_01.00.00_Install:   Success

Upgrade Complete



Click Here To Access Your Portal




Server Error in '/' Application.

Access to the path 'E:"Development"DotNetNuke" DotNetNuke_4.3.7_Install"web.config' is denied.

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.UnauthorizedAccessException: Access to the path 'E:"Development""DotNetNuke"
"复件 DotNetNuke_4.3.7_Install"web.config' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}"ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

转载于:https://www.cnblogs.com/DotNetNuke/archive/2007/09/29/899954.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值