Software package creation error
-
lunedì 15 ottobre 2007 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 failedSystem.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
Tutte le risposte
-
martedì 16 ottobre 2007 10:33Moderatore
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
-
martedì 16 ottobre 2007 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
-
mercoledì 17 ottobre 2007 09:19ModeratoreHi 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
-
mercoledì 17 ottobre 2007 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
-
giovedì 18 ottobre 2007 10:09Moderatore
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
-
venerdì 19 ottobre 2007 14:45
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
-
lunedì 22 ottobre 2007 09:51Moderatore
Hi,
Ok, I think the re-installation will resolve the problem.
Thanks.
--------------------
Regards,
Eric Zhang
Microsoft Online Community Support
-
venerdì 20 aprile 2012 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,

