locked
WSUS Content Dir Issue RRS feed

  • Question

    1. The ~\WSUSContent folder has been manually moved without using the wsusutil movecontent utility.

    How would I resolve issues caused by this ? 

    -

    System

    -

    Provider

    [ Name]

    Windows Server Update Services

    -

    EventID

    12072

    [ Qualifiers]

    0

    Level

    2

    Task

    9

    Keywords

    0x80000000000000

    -

    TimeCreated

    [ SystemTime]

    2015-10-21T09:03:10.000000000Z

    EventRecordID

    250723

    Channel

    Application

    Computer

    WSUS02

    Security

     

    -

    EventData

    The WSUS content directory is not accessible. System.Net.WebException: The remote server returned an error: (404) Not Found. at System.Net.HttpWebRequest.GetResponse() at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)

    Client Error :

    015-10-21 10:32:56:189 1016 d78 Report REPORT EVENT: {91387A9B-87DF-4182-A306-37EE9BB2CD26} 2015-10-21 10:32:56:173+0100 1 161 101 {A4DAA2FA-ADD9-4430-B832-EEB147E9A320} 200 80244019 AutomaticUpdatesWuApp Failure Content Download Error: Download failed.

    IIS content  set to E:\wsus 

    HKLM\Software\Microsoft\Update Services\Server\Setup set to E:\wsus

    • Edited by Courtney22 Wednesday, October 21, 2015 10:15 AM
    Wednesday, October 21, 2015 9:38 AM

Answers

  • We resolved this by removing a duplicate MIME type in IIS. 
    • Marked as answer by Courtney22 Wednesday, October 21, 2015 1:52 PM
    Wednesday, October 21, 2015 1:52 PM

All replies

  • Try to change WSUS updates folder to that drive in WSUS server  where it's replaced:


    -----------------------------------------------------------------

    Sincerely!

    Khalid Garayev

    * Please don't forget to mark as answer or Vote if it helps!


    Wednesday, October 21, 2015 10:46 AM
  • I tried this and tried pointing directly to the wsuscontent dir and got the below error message 

    The WSUS content directory is not accessible.
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'E:\Wsus\WsusContent\WsusContent\anonymousCheckFile.txt'.
       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
       at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       at System.IO.FileInfo.Open(FileMode mode, FileAccess access, FileShare share)
       at Microsoft.UpdateServices.Internal.HealthMonitoring.HmtWebServices.CheckContentDirWebAccess(EventLoggingType type, HealthEventLogger logger)

    Wednesday, October 21, 2015 10:49 AM
  • Did you check permissions for that folder?

    -----------------------------------------------------------------

    Sincerely!

    Khalid Garayev

    * Please don't forget to mark as answer or Vote if it helps!

    Wednesday, October 21, 2015 12:14 PM
  • run wsusutil movecontent using the -skipcopy switch to inform WSUS of the location change

    you may still need to match up NTFS and share permissions - ensure share access has not been removed as part of the process

    also have you made sure the database was also not located in E:\WSUS?

    Wednesday, October 21, 2015 12:58 PM
  • We have an external SUSDB on a SQL cluster. Wsus directory is shared and all sub folders wsuscontent, package etc
    Wednesday, October 21, 2015 1:19 PM
  • Have you tried to just copy it back to the original location and then move it properly with WSUSUtil? 


    Wednesday, October 21, 2015 1:27 PM
  • We resolved this by removing a duplicate MIME type in IIS. 
    • Marked as answer by Courtney22 Wednesday, October 21, 2015 1:52 PM
    Wednesday, October 21, 2015 1:52 PM