IIS AppPoolIdentity and file system write access permissions

前端 未结 4 908
温柔的废话
温柔的废话 2020-11-22 15:51

Here\'s an issue with IIS 7.5 and ASP.NET that I\'ve been researching and getting nowhere with. Any help would be greatly appreciated.

My question is: using ASP.NET

4条回答
  •  名媛妹妹
    2020-11-22 16:05

    I tried this to fix access issues to an IIS website, which manifested as something like the following in the Event Logs → Windows → Application:

    Log Name:      Application
    Source:        ASP.NET 4.0.30319.0
    Date:          1/5/2012 4:12:33 PM
    Event ID:      1314
    Task Category: Web Event
    Level:         Information
    Keywords:      Classic
    User:          N/A
    Computer:      SALTIIS01
    
    Description:
    Event code: 4008 
    Event message: File authorization failed for the request. 
    Event time: 1/5/2012 4:12:33 PM 
    Event time (UTC): 1/6/2012 12:12:33 AM 
    Event ID: 349fcb2ec3c24b16a862f6eb9b23dd6c 
    Event sequence: 7 
    Event occurrence: 3 
    Event detail code: 0 
    
    Application information: 
        Application domain: /LM/W3SVC/2/ROOT/Application/SNCDW-19-129702818025409890 
        Trust level: Full 
        Application Virtual Path: /Application/SNCDW 
        Application Path: D:\Sites\WCF\Application\SNCDW\ 
        Machine name: SALTIIS01 
    
    Process information: 
        Process ID: 1896 
        Process name: w3wp.exe 
        Account name: iisservice 
    
    Request information: 
        Request URL: http://webservicestest/Application/SNCDW/PC.svc 
        Request path: /Application/SNCDW/PC.svc 
        User host address: 10.60.16.79 
        User: js3228 
        Is authenticated: True 
        Authentication Type: Negotiate 
        Thread account name: iisservice 
    

    In the end I had to give the Windows Everyone group read access to that folder to get it to work properly.

提交回复
热议问题