DotNetNuke04.3.7 升级到 4.6.0 时报错

升级到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:

posted on   m2land  阅读(508)  评论(0编辑  收藏  举报

编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· [AI/GPT/综述] AI Agent的设计模式综述

导航

统计

点击右上角即可分享
微信分享提示