Software package creation error
Hi, We're trying to deploy an msi package via SCE2007 and get the following error: ----------------------------------------- Date: 15/10/2007 11:32:54Application: System Center EssentialsApplication Version: 6.0.1251.0Severity: ErrorMessage: 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
October 15th, 2007 7:16am

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. Id 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
Free Windows Admin Tool Kit Click here and download it now
October 16th, 2007 6:33am

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
October 16th, 2007 7:23am

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
Free Windows Admin Tool Kit Click here and download it now
October 17th, 2007 5:19am

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
October 17th, 2007 7:15am

Hi Kevin, As these two folders cannot be found on your server, Id 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 didnt work, Id 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
Free Windows Admin Tool Kit Click here and download it now
October 18th, 2007 6:09am

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
October 19th, 2007 10:45am

Hi, Ok, I think the re-installation will resolve the problem. Thanks. -------------------- Regards, Eric Zhang Microsoft Online Community Support
Free Windows Admin Tool Kit Click here and download it now
October 22nd, 2007 5:51am

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,
April 20th, 2012 3:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics