Symptoms:
'CreateDirectory Failed' -2147467259 Publishing Error received during publishing package from Software Vulnerability Manager could have multiple root causes as described in article https://community.flexera.com/s/Software-Vulnerability-Manager/CreateDirectory-Failed-2147467259-Publishing-Error/ta-p/4937
Additionally to above article issue with "CreateDirectory Failed" could be caused by missing or corrupt certificate pair keys for computer or users located in C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys or permission issues for user configured in IIS Application Pools - "WsusPool"
Required machine keys in C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
-IISConfigurationKey - 6de9cb26d2b98c01ec4e9e8b34824aa2
-NetFrameworkConfigurationKey - d6d986f09a1ee04e24c949879fdb506c
-IISWASKey - 76944fb33636aeddb9590521c2e8815a
Publishing package from Software Vulnerability Manager will use WSUS Administration website available in Internet Information Services (IIS) on your WSUS server. Part of this website is "Content" which needs to have correct permission configured for successful package publishing.
Diagnosis:
To investigate if error 'CreateDirectory Failed' -2147467259 Publishing Error is caused by content location permission it is required to test settings for "Content" page on WSUS Administration website.
1. Open Internet Information Services Manager
2. Expand your server name - Sites and then highlight "Content"
3. In top right corner click on "Basic Settings". New window "Edit Virtual Directory" will be shown
4. Click on Test Settings
5. Make sure that Authorization test is successful. If failed then investigate cause of failure. WSUSPoll user in Application Pools needs to have access to your physical content folder or Machine Keys in C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys are missing, corrupt or have permission issues.
Solution:
To resolve issue please make sure that below permission are set for physical WSUS content folder and for shared folders:
Physical Content folder| SETTING | PERMISSION |
|---|---|
| NT AUTHORITY\SYSTEM | Full Control |
| NT AUTHORITY\NETWORK SERVICE |
Write Read Synchronize |
| Builtin\administrators | Full Control |
| Hostname\Wsus Administrators | FullControl |
| SETTING | PERMISSION |
|---|---|
| Builtin\Administrators | Full |
| Everyone | Read |
| NT Authority\Network Service | Full |
| Hostname\WSUS Administrators | Full |
If issue is caused by missing/corrupt Machine Keys then restore your previous keys on this machine from a backup, Export/Import Keys from another server in the farm, or reinstall IIS to create new keys.
Related Articles
'CreateDirectory Failed' -2147467259 Publishing Error 6Number of Views Package publishing failed Code -2146233079 Error 2148081670 16Number of Views ISEXP: fatal error -7219: Failed to verify digital signature Error -2147467259: 17Number of Views Offline activation failed with error 51306, 51309 (FLX_ACT_TRAN_ERR_RSP_SIGNATURE_*) 47Number of Views Failed to publish package. Code: -2146233088 Publishing operation failed, too many locally published categories 18Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago