升级到DotNetNuke 4.6.0 时出现报错,主要是这一条:DotNetNuke_4.3.7_Install"web.config' is denied.
原因是权限设置有问题,找到DotNetNuke所在目录,为NETWORK SERVICE帐户添加完全控制权限。
注:
00:00:00.203 - Executing : 04.04.00.SqlDataProvider Error! (see 04.04.00.log for more information)
00:00:01.765 - Executing : 04.04.01.SqlDataProvider Success
00:00:01.890 - Executing : 04.05.00.SqlDataProvider Success
00:00:03.406 - Executing : 04.05.01.SqlDataProvider Error! (see 04.05.01.log for more information)
00:00:03.953 - Executing : 04.05.02.SqlDataProvider Success
00:00:05.046 - Executing : 04.05.03.SqlDataProvider Success
00:00:05.328 - Executing : 04.05.04.SqlDataProvider Success
00:00:05.390 - Executing : 04.05.05.SqlDataProvider Success
00:00:05.406 - Executing : 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 s_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
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 requestidentity. ASP.NET has a process identity (typically{MACHINE}"ASPNET on IIS 5 or Network Service on IIS 6) that is used ifthe application is not impersonating. If the application isimpersonating via <identity impersonate="true"/>, the identitywill be the anonymous user (typically IUSR_MACHINENAME) or theauthenticated request user.
To grant ASP.NET access to a file, right-click the file inExplorer, 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:
原因是权限设置有问题,找到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 Data Version: 04.03.07
Upgrade Status Report
00:00:00.109 - Upgrading to Version: 4.6.000:00:00.203 - Executing : 04.04.00.SqlDataProvider Error! (see 04.04.00.log for more information)
00:00:01.765 - Executing : 04.04.01.SqlDataProvider Success
00:00:01.890 - Executing : 04.05.00.SqlDataProvider Success
00:00:03.406 - Executing : 04.05.01.SqlDataProvider Error! (see 04.05.01.log for more information)
00:00:03.953 - Executing : 04.05.02.SqlDataProvider Success
00:00:05.046 - Executing : 04.05.03.SqlDataProvider Success
00:00:05.328 - Executing : 04.05.04.SqlDataProvider Success
00:00:05.390 - Executing : 04.05.05.SqlDataProvider Success
00:00:05.406 - Executing : 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 s_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.
De ion: Anunhandled exception occurred during the execution of the current webrequest. Please review the stack trace for more information about theerror 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 requestidentity. ASP.NET has a process identity (typically{MACHINE}"ASPNET on IIS 5 or Network Service on IIS 6) that is used ifthe application is not impersonating. If the application isimpersonating via <identity impersonate="true"/>, the identitywill be the anonymous user (typically IUSR_MACHINENAME) or theauthenticated request user.
To grant ASP.NET access to a file, right-click the file inExplorer, 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:
继续阅读与本文标签相同的文章
上一篇 :
汉化包安装问题
下一篇 :
空DIV在IE中的高度问题
-
如何有效的利用QQ群
2026-05-25栏目: 教程
-
面试题:使用递归的方法计算1到100的累加。
2026-05-25栏目: 教程
-
如何修改DNN默认的DOCTYPE
2026-05-25栏目: 教程
-
DotNetNuke安装大全-如何安装DNN StartKit、Install、Source包。(转载)
2026-05-25栏目: 教程
-
用 Go 写一个轻量级的 ssh 批量操作工具
2026-05-25栏目: 教程
