DotNetNuke04.3.7 升级到 4.6.0 时报错

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

目录
相关文章
|
8天前
|
云安全 监控 安全
|
13天前
|
机器学习/深度学习 人工智能 自然语言处理
Z-Image:冲击体验上限的下一代图像生成模型
通义实验室推出全新文生图模型Z-Image,以6B参数实现“快、稳、轻、准”突破。Turbo版本仅需8步亚秒级生成,支持16GB显存设备,中英双语理解与文字渲染尤为出色,真实感和美学表现媲美国际顶尖模型,被誉为“最值得关注的开源生图模型之一”。
1369 8
|
6天前
|
人工智能 安全 前端开发
AgentScope Java v1.0 发布,让 Java 开发者轻松构建企业级 Agentic 应用
AgentScope 重磅发布 Java 版本,拥抱企业开发主流技术栈。
443 12
|
18天前
|
人工智能 Java API
Java 正式进入 Agentic AI 时代:Spring AI Alibaba 1.1 发布背后的技术演进
Spring AI Alibaba 1.1 正式发布,提供极简方式构建企业级AI智能体。基于ReactAgent核心,支持多智能体协作、上下文工程与生产级管控,助力开发者快速打造可靠、可扩展的智能应用。
1242 43
|
18天前
|
人工智能 前端开发 算法
大厂CIO独家分享:AI如何重塑开发者未来十年
在 AI 时代,若你还在紧盯代码量、执着于全栈工程师的招聘,或者仅凭技术贡献率来评判价值,执着于业务提效的比例而忽略产研价值,你很可能已经被所谓的“常识”困住了脚步。
1100 86
大厂CIO独家分享:AI如何重塑开发者未来十年
|
1天前
|
存储 弹性计算 容灾
阿里云服务器ECS自定义购买流程:超详细新手入门教程
本文详细介绍阿里云服务器ECS自定义购买全流程,涵盖付费模式、地域选择、网络配置、实例规格、镜像系统、存储、公网IP、带宽计费及安全组设置等关键步骤,适合新手入门参考,助你轻松完成云服务器选购与部署。
183 121