Hiển thị kết quả từ 1 đến 2 / 2
  1. #1
    Tham gia
    28-11-2008
    Bài viết
    1,847
    Like
    31
    Thanked 38 Times in 36 Posts

    Giận dữ ! IIS - Lỗi Access dined

    Hiện e có 1 web nó bị lỗi này

    Server Error in '/' Application.

    Access to the path 'Domain\wwwroot\App_Data\App.xml' 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.UnauthorizedAcces***ception: Access to the path 'Domain\wwwroot\App_Data\App.xml' 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:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Đã thay đổi permission, add full quyền cho user ASP.NET nhưng nó vẫn hiện thông báo lỗi đó. Khi chạy Application Pool riêng thì nó ra lỗi là service unavailable chạy Default Pool thì nó bị lỗi vậy.

    Google fix hoài mà chưa được
    Quote Quote

  2. #2
    Tham gia
    15-10-2007
    Location
    Y!M/Skype: manhlinhlt - 0962.14.12.16
    Bài viết
    99
    Like
    17
    Thanked 13 Times in 10 Posts
    Bạn add full quyền cho user IIS_IUSRS & NETWORK SERVICE xem sao?

Bookmarks

Quy định

  • Bạn không thể tạo chủ đề mới
  • Bạn không thể trả lời bài viết
  • Bạn không thể gửi file đính kèm
  • Bạn không thể sửa bài viết của mình
  •