Yanıt Software package creation error

  • 15 Ekim 2007 Pazartesi 11:16
     
     

    Hi,

     

    We're trying to deploy an msi package via SCE2007 and get the following error:

     

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

    Date: 15/10/2007 11:32:54
    Application: System Center Essentials
    Application Version: 6.0.1251.0
    Severity: Error
    Message: CreateDirectory failed

    System.ComponentModel.Win32Exception: CreateDirectory failed
       at Microsoft.UpdateServices.Internal.FileSystemUtilities.CreateDirectory(String path)
       at Microsoft.UpdateServices.Internal.BaseApi.Publisher.CreatePackageDirectory(String customDirectoryName)
       at Microsoft.UpdateServices.Internal.BaseApi.Publisher.PublishPackage(String sourcePath, String additionalSourcePath, String packageDirectoryName)
       at Microsoft.UpdateServices.Internal.BaseApi.Publisher.PublishPackage(String sourcePath, String packageDirectoryName)
       at Microsoft.EnterpriseManagement.SCE.Internal.UI.NewUpdatePackageWizard.PreparingPackagePage.PreparePackageBackgroundWorkerDoWork(Object sender, DoWorkEventArgs e)

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

     

    The same error ocurs with a different msi or exe file.

     

    Any ideas anyone?

     

    Kevin

Tüm Yanıtlar

  • 16 Ekim 2007 Salı 10:33
    Moderatör
     
     

    Hi,

     

    From the error code, I found:

     

    System.ComponentModel.Win32Exception: CreateDirectory failed

     

    When you create a new software package, the new directory will be created under “c:\sce\updateservicespackages” and “c:\sce\wsuscontent”, this error indicated that it failed to create the folder due to access deny.

     

    I’d like to confirm the which account you used to deploy the software, It should be local administrator.

     

    Also, if the problem still exists when you use local administrator, please capture screen shots of the related symptoms with “%programfiles%\update services\logfiles\softwareDistribution.log and send them to SCEDATA@microsoft.com.

     

    Note:

     

    Please include the following three lines in the email body:

     

    Software package creation error  

    http://forums.microsoft.com/TechNet/ShowPost.aspx?postid=2270083&siteid=17

    Eric Zhang - MSFT

     

    Regarding more information about how to send email to SCEDATA@microsoft.com, please refer to:

     

    How to send files to the Microsoft SCE team for review

    http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=1680389&SiteID=17

     

    Post a quick note in the current thread after sending the email.

     

    Thanks!

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

    Regards,

    Eric Zhang

    Microsoft Online Community Support

  • 16 Ekim 2007 Salı 11:23
     
     

    Eric,

     

    Thanks for your reply.

     

    I've been attempting this as Domain Admin, but using local admin makes no difference.

     

    I've emailed you the log file as requested.

     

    Thanks again,

     

    Kevin

     

  • 17 Ekim 2007 Çarşamba 09:19
    Moderatör
     
     
    Hi Kevin,

    These two folders will be created during the SCE installation process, you can specify the location, I'd like to suggest you search for  these two folders to check whether they exists. If they exist, please check the "security setting" and "share permission" of these two folders.

    Thanks.

    ————————————

    Sincerely,

    Eric Zhang

    Microsoft Online Community Support


  • 17 Ekim 2007 Çarşamba 11:15
     
     

    Eric,

     

    Neither of these folders existed, so can only assume they've been deleted. I've created both manually and the wsuscontent folder is now populated with updates, which it wasn't before.

     

    I've given Everyone full permission (for testing purposes) on the UpdateServicesPackages folder, shared also, no joy. Tried creating the folder in both of the default locations too, still no luck.

     

    Is there a setting within SCE that tells me where it's trying to store the package?

     

    Kevin

     

     

     

     

     

  • 18 Ekim 2007 Perşembe 10:09
    Moderatör
     
     

    Hi Kevin,

     

    As these two folders cannot be found on your server, I’d like to suggest you use the wsusutil.exe program to modify the location to the new folder which you created.  For example, you can move them to c:\new_sce by running the following command:

     

    Wsusutil.exe movecontent c:\new_sce <log file path>

     

    Wsusutil.exe is in the %ProgramFiles%Update Services\Tools directory on the SCE server.

     

    If the above steps didn’t work, I’d like to suggest you re-install the SCE, and specify the folder location during the installation process.

     

    Hope this helps.

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

    Regards,

    Eric Zhang

    Microsoft Online Community Support

  • 19 Ekim 2007 Cuma 14:45
     
     Yanıt

    Eric,

     

    The Wsusutil movecontent didn't fix the issue unfortunately. I'm going to go for a reinstall when I get a chance.

     

    Thanks for your help,

     

    Kevin

  • 22 Ekim 2007 Pazartesi 09:51
    Moderatör
     
     

    Hi,

     

    Ok, I think the re-installation will resolve the problem.

     

    Thanks.

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

    Regards,

    Eric Zhang

    Microsoft Online Community Support

  • 20 Nisan 2012 Cuma 07:45
     
     

    Hello Eric,

    I was forwarded to this topic after I opened a thread about SCE 2010.

    SCE was installed on a Virtual Machine, everything on C drive.

    The second time I deleted the Virtual Machine and created another one from the scratch. This time I decided to add a second virtual disk, so now SCE is configured to use drive D.

    WSUS is working fine. It is using this folder: D:\WindowsUpdateContent\WsusContent

    I assume that SCE is trying to use D:\WindowsUpdateContent\UpdateServicesPackages for software deplyment.

    But, I get the same error: CreateDirectory failed

    I tried 4 different package setup files so far. The result is the same.

    How can I be sure which folder is trying SCE to use for software deployement? You were talking about "security setting" and "share permission", how should they be?

    Thank you very much!

    Looking forward to your reply since this is becoming an urgent matter.

    cheers,