Answered by:
Clients unable to download content from DP

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.0And 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)
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
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
-
-
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
-
-
Does the primary site has full control permission on the DP Site server? And did you install all requirements on the DP?
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.
- Edited by Henk Timmerman Wednesday, November 27, 2019 1:16 PM
-
-
-
-
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
-