UploadPackageToCloudWithContentInfo() failed. Error = 0x800700CE

Boopathi S 3,501 Reputation points
2024-12-25T09:06:39.8866667+00:00

Hello,

Trying to distribute package to Cloud Distribution point. Same package distributed to other on premises Distribution point. But it throughs below error for cloud DP.

Please help how this can be solved.

Successfully encrypted and uploaded the file H:\SMSPKGSIG\CON0905E\Content_24d86f85-11e8-499d-860e-5002df38e968.1\AdmSource{B98D7FD5-6073-4781-B855-35D7E414D174}\Visual_Community\Microsoft.CodeAnalysis.VisualStudio.InteractiveComponents,version=2.7.0.6271505\payload.vsix

WARNING: Caught exception System.IO.PathTooLongException - The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Call stack: at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj, Boolean checkHost)~~ at System.IO.Directory.InternalCreateDirectoryHelper(String path, Boolean checkHost)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.RecursiveUpload(String packageId, ContentRouter contentRouter, AzureStorageBlobOperation blobOperation, String containerName, String sourceDir, String contentInfoDir, String relativeTargetPath, EncryptionParams encryptionParams, Int32& fileCounter)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.UploadContent(String packageId, String contentId, String contentSource, String contentInfoPath, Boolean uploadFiles, EncryptionParams encryptionParams, ContentRouter contentRouter, String& contentInfoFile)~~ at Microsoft.ConfigurationManager.AzureRoles.ContentManager.ContentManager.UploadPackageToCloudWithContentInfo(String packageId, String contentSource, String contentInfoPath, String cloudDP, String encryptionKey, String algName, Int32 keySize, Int32 blockSize, String& contentInfoFile)

STATMSG: ID=9300 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_CONTENT_MANAGER" SYS=cas.contoso.com SITE=CON PID=4564 TID=10604 GMTDATE=Wed Dec 25 07:36:52.935 2024 ISTR0="The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters." ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 LE=0X0 AID0=400 AVAL0="CON0905E" AID1=404 AVAL1="["Display=\CloudCMG.contoso.com"]MSWNET:["SMS_SITE=CON"]\CloudCMG.contoso.com"

WARNING: Warning - returning null/empty download address from content upload CON0905E

STATMSG: ID=9310 SEV=W LEV=M SOURCE="SMS Server" COMP="SMS_CLOUD_CONTENT_MANAGER" SYS=cas.contoso.com SITE=CON PID=4564 TID=10604 GMTDATE=Wed Dec 25 07:36:52.938 2024 ISTR0="CON0905E" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=2 LE=0X0 AID0=400 AVAL0="CON0905E" AID1=404 AVAL1="["Display=\CloudCMG.contoso.com"]MSWNET:["SMS_SITE=CON"]\CloudCMG.contoso.com"

UploadPackageToCloudWithContentInfo() failed. Error = 0x800700CE

Failed to distribute content to the cloud DP.

Attempted max retry count. The job would be marked for deletion now.

STATMSG: ID=8207 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_PACKAGE_TRANSFER_MANAGER" SYS=cas.contoso.com SITE=CON PID=4564 TID=10604 GMTDATE=Wed Dec 25 07:37:06.942 2024 ISTR0="CON0905E" ISTR1="" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=3 LE=0X0 AID0=400 AVAL0="CON0905E" AID1=410 AVAL1="1" AID2=404 AVAL2=""

Sent status to the distribution manager for pkg CON0905E, version 1, status 5 and distribution point ["Display=\CloudCMG.contoso.com"]MSWNET:["SMS_SITE=CON"]\CloudCMG.contoso.com\

Microsoft Configuration Manager
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rahul Jindal [MVP] 10,436 Reputation points MVP
    2024-12-25T09:34:35.82+00:00

    “The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.”. Try shortening the source path.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.