• 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:

  • 相关阅读:
    vue----计算与监听属性
    vue---条件与循环语句
    vue--模板语法
    git版本控制系统--介绍
    HttpWebRequest使用总结
    计算机专业的书普遍都这么贵,你们都是怎么获取资源的?
    130 个相见恨晚的超实用网站,一次性分享出来
    实现客户端与服务端的HTTP通讯
    默认网关(地址)
    .NET Reactor使用教程(加密源代码示例)
  • 原文地址:https://www.cnblogs.com/DotNetNuke/p/899954.html
Copyright © 2020-2023  润新知