none
Clients unable to download content from DP RRS feed

  • Question

  • Hello Guys,

    I have an issue with clients unable to reach DP whereas the Content is getting distributed to DP and the relevant components are in green.

    When i try to access URL http://localhost/SMS_DP_SMSPKG$/ from DP machine itself, i get below error. Could somebody assist here please?

    Server Error in '/SMS_DP_SMSPKG$' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: An error occurred loading a configuration file: Failed to start monitoring changes to 'H:\SCCMContentLib\web.config' because access is denied.

    Source Error:
    [No relevant source lines]

    Source File: H:\SCCMContentLib\web.config    Line: 0


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3282.0 

    And I see below warning message in Application event log.

    Event code: 3005 
    Event message: An unhandled exception has occurred. 
    Event time: 22/11/2019 08:02:26 
    Event time (UTC): 22/11/2019 08:02:26 
    Event ID: a445eb92543345f3bd07bc6d46f2b4f3 
    Event sequence: 1 
    Event occurrence: 1 
    Event detail code: 0 
     
    Application information: 
        Application domain: /LM/W3SVC/1/ROOT/SMS_DP_SMSPKG$-11749-132188833467475474 
        Trust level:  
        Application Virtual Path: /SMS_DP_SMSPKG$ 
        Application Path: H:\SCCMContentLib\ 
        Machine name: "######DP Server Name here#### 
     
    Process information: 
        Process ID: 17528 
        Process name: w3wp.exe 
        Account name: NT AUTHORITY\LOCAL SERVICE 
     
    Exception information: 
        Exception type: HttpException 
        Exception message: Failed to start monitoring changes to 'H:\SCCMContentLib' because access is denied.
       at System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter)
       at System.Web.DirectoryMonitor.StartMonitoring()
       at System.Web.DirectoryMonitor.StartMonitoringFileWithAssert(String file, FileChangeEventHandler callback, String alias)
       at System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback)
       at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

     
     
    Request information: 
        Request URL: http://####DP Server Name here#####/SMS_DP_SMSPKG$/C1R00009/sccm?/write_timestamp_to_variable.vbs 
        Request path: /SMS_DP_SMSPKG$/C1R00009/sccm 
        User host address: 172.26.193.238 
        User:  
        Is authenticated: False 
        Authentication Type:  
        Thread account name: NT AUTHORITY\LOCAL SERVICE 
     
    Thread information: 
        Thread ID: 284 
        Thread account name: NT AUTHORITY\LOCAL SERVICE 
        Is impersonating: False 
        Stack trace:    at System.Web.DirMonCompletion..ctor(DirectoryMonitor dirMon, String dir, Boolean watchSubtree, UInt32 notifyFilter)
       at System.Web.DirectoryMonitor.StartMonitoring()
       at System.Web.DirectoryMonitor.StartMonitoringFileWithAssert(String file, FileChangeEventHandler callback, String alias)
       at System.Web.FileChangesMonitor.StartMonitoringDirectoryRenamesAndBinDirectory(String dir, FileChangeEventHandler callback)
       at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags, PolicyLevel policyLevel, Exception appDomainCreationException)

    Friday, November 22, 2019 8:09 AM

Answers

  • Unfortunately no one helped out on this case.

    I gave IIS_IUSRS Read & execute access to content library directory and the issue is solved now.

    Still want to know why this provision is required as its normally not the case in general configuration for clients to reach out to DP to download content.

    • Marked as answer by Thang Raj Monday, December 2, 2019 4:10 PM
    Monday, December 2, 2019 4:10 PM

All replies

  • Do you have windows authentication enabled on IIS?
    What errors do you see on the clients side when they try to download the content?

    Website: www.walshamsolutions.com Technical Blog: https://www.walshamsolutions.com/technical-blog Personal Blog: https://www.walshamsolutions.com/personal-blog Twitter: Dwalshampro

    Friday, November 22, 2019 8:55 AM
  • Yes we have windows authentication enabled for on IIS.

    similar error from clients too.

    Friday, November 22, 2019 8:58 AM
  • Seems like you may need to reinstall the DP server if you are getting issues with the web.config. If this was a straight forward install and no additions have been made to it i would suggest removing the DP role and adding it back.
    Has this DP ever worked?

    Website: www.walshamsolutions.com Technical Blog: https://www.walshamsolutions.com/technical-blog Personal Blog: https://www.walshamsolutions.com/personal-blog Twitter: Dwalshampro

    Friday, November 22, 2019 1:42 PM
  • Hello Dwalsham,

    Below message recorded in event log. How do I validate the access as it seems that it is related to permissions.

    Exception message: Failed to start monitoring changes to 'H:\SCCMContentLib' because access is denied.

    Wednesday, November 27, 2019 10:54 AM
  • Does the primary site has full control permission on the DP Site server? And did you install all requirements on the DP?

    https://docs.microsoft.com/en-us/configmgr/core/plan-design/configs/site-and-site-system-prerequisites#bkmk_2012dppreq

    Or anything in the client log files: datatransferservice.log or contenttransfermanager.log? or distrmgr.log or PkgXferMgr.log on the site server?

    It is not recommended browsing the content library. Also a difference what you can access based on your logon user name vs. the site servers accounts or service accounts.



    Wednesday, November 27, 2019 12:56 PM
  • The requirements are there on the DP and content is getting distributed to DP. But clients unable to download the content.

    With all accounts, cannot access the URL. How do we reconfigure web config file for the application?

    Wednesday, November 27, 2019 1:30 PM
  • Can somebody please help on this case??
    Thursday, November 28, 2019 2:49 PM
  • The DP where clients unable to download content is found out to be a fallback DP.

    What are the prerequisites for fallback DP for both client and server side.

    Sunday, December 1, 2019 4:44 AM
  • Unfortunately no one helped out on this case.

    I gave IIS_IUSRS Read & execute access to content library directory and the issue is solved now.

    Still want to know why this provision is required as its normally not the case in general configuration for clients to reach out to DP to download content.

    • Marked as answer by Thang Raj Monday, December 2, 2019 4:10 PM
    Monday, December 2, 2019 4:10 PM
  • No one can really answer your question as there must be some other difference or non-standard configuration on the system that this change is offsetting.

    Jason | https://home.configmgrftw.com | @jasonsandys

    Monday, December 2, 2019 4:26 PM