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