November Happy Hour will be moved to Thursday December 5th.

Copy Past Images doesn't work

Vote:
 

Ik have a problem that I can't find the solution for.

When Copy-Pasting an image in EPiServer CMS the new Pasted Image only containt the properties and the image itself gets a 404 error. The Image is not created in the VPP folder either.

Error log shows the following messages:

2014-10-13 14:49:35,185 [108] ERROR EPiServer.Core.Transfer.TransferLogger: 10.5.3 Export/import error: [Importing content 4108_8977] Exception: Could not find a part of the path '\\SERVER\Shared\Arlanet EpiServer\TerBergGroup\blobs\69212cf8b6da43f58277a4e8ccb3bb90\29ddaafe33c2445bb74ae14db887157e.jpg'.
System.IO.DirectoryNotFoundException: Could not find a part of the path '\\SERVER\Shared\Arlanet EpiServer\TerBergGroup\blobs\69212cf8b6da43f58277a4e8ccb3bb90\29ddaafe33c2445bb74ae14db887157e.jpg'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at EPiServer.Framework.Blobs.FileBlob.OpenRead()
at Chief2moro.ImageDataExtensions.ImageBlobUtility.GetDimensions(Blob imageBlob)
at Chief2moro.ImageDataExtensions.ImageResizeContentEvents.contentEvents_PublishingContent(Object sender, ContentEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at EPiServer.Core.PageStoreBase.RaiseCancellablePageEvent(String key, String defaultReason, ContentEventArgs eventArgs)
at EPiServer.DataFactory.Save(IContent content, SaveAction action, AccessLevel access)
at EPiServer.Core.Transfer.ContentTransfer.Save(IContent content, Dictionary`2 propertyStringLookup, AccessLevel requiredDestinationAccess, Boolean newpage)
at EPiServer.Core.Transfer.ContentTransfer.Import(RawContent rawContent, AccessLevel requiredDestinationAccess, Guid& importedPageGuid)
at EPiServer.Core.Transfer.ContentTransfer.Import(ITransferContentData content, AccessLevel requiredDestinationAccess)
at EPiServer.Enterprise.DataImporter.ImportContents[T](XmlTextReader reader, ZipPackage package)
at EPiServer.Enterprise.DataImporter.ImportStream(ZipPackage package, XmlTextReader reader)
at EPiServer.Enterprise.DataImporter.ImportRaw(ZipPackage package)
at EPiServer.Enterprise.DataImporter.Import()
2014-10-13 14:49:35,210 [108] ERROR EPiServer.Enterprise.Transfer.ContentCopyHandler: Failed to copy pages with root '4106' to '3528'

At first I thought it would be a rights issue on the blobs folder, but that doesn't seem to be the case. Anyone any ideas?

#109716
Oct 13, 2014 15:43
Vote:
 

Error message is difficult to read, unfortunately. And how are you copying and pasting the image to CMS? Could you provide the steps you took so we can reproduce the issue locally? And what version of CMS 7.5 is this?

#109731
Oct 13, 2014 22:13
Vote:
 

The problem was that in the EPiServer backend we couldn't copy and past images. In CMS edit mode, the media section, when we copied an image (using the EPiServer interface) and pasted it in another folder the image itself was not copied (just the properties op the ImageType)

Stacktrace:

2014-10-13 14:49:35,185 [108] ERROR EPiServer.Core.Transfer.TransferLogger: 10.5.3 Export/import error: [Importing content 4108_8977] Exception: Could not find a part of the path '\\SERVER\Shared\Arlanet EpiServer\TerBergGroup\blobs\69212cf8b6da43f58277a4e8ccb3bb90\29ddaafe33c2445bb74ae14db887157e.jpg'.
System.IO.DirectoryNotFoundException: Could not find a part of the path '\\SERVER\Shared\Arlanet EpiServer\TerBergGroup\blobs\69212cf8b6da43f58277a4e8ccb3bb90\29ddaafe33c2445bb74ae14db887157e.jpg'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at EPiServer.Framework.Blobs.FileBlob.OpenRead()
at Chief2moro.ImageDataExtensions.ImageBlobUtility.GetDimensions(Blob imageBlob)
at Chief2moro.ImageDataExtensions.ImageResizeContentEvents.contentEvents_PublishingContent(Object sender, ContentEventArgs e)
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at EPiServer.Core.PageStoreBase.RaiseCancellablePageEvent(String key, String defaultReason, ContentEventArgs eventArgs)
at EPiServer.DataFactory.Save(IContent content, SaveAction action, AccessLevel access)
at EPiServer.Core.Transfer.ContentTransfer.Save(IContent content, Dictionary`2 propertyStringLookup, AccessLevel requiredDestinationAccess, Boolean newpage)
at EPiServer.Core.Transfer.ContentTransfer.Import(RawContent rawContent, AccessLevel requiredDestinationAccess, Guid& importedPageGuid)
at EPiServer.Core.Transfer.ContentTransfer.Import(ITransferContentData content, AccessLevel requiredDestinationAccess)
at EPiServer.Enterprise.DataImporter.ImportContents[T](XmlTextReader reader, ZipPackage package)
at EPiServer.Enterprise.DataImporter.ImportStream(ZipPackage package, XmlTextReader reader)
at EPiServer.Enterprise.DataImporter.ImportRaw(ZipPackage package)
at EPiServer.Enterprise.DataImporter.Import()
2014-10-13 14:49:35,210 [108] ERROR EPiServer.Enterprise.Transfer.ContentCopyHandler: Failed to copy pages with root '4106' to '3528'

After some investigation we found that removing a nuget package called chief2moro.ImageDataExtensions (version 1.0.1) solved the problem. The EpiServer.Core version is 7.5.1003.0.

#109750
Oct 14, 2014 11:25
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.