Email unable to send - error resizing images

Version 9.0 - we're seeing this exception show up quite a bit in the logs - usually seems to be a profile picture

I am able to load the image if I copy the url

EmailUnableToSend
Error converting inline images. Match: /resized-image/__size/70x70x2/__key/communityserver-components-avatars/00-00-00-51-60/4U2OOS61YQ8F.jpg. Full text: 

  • Really need the full exception, stack trace and everything.  I would probably recommend opening a support ticket on this one.

  • ---> System.IO.IOException: The process cannot access the file 'F:\Inetpub\community\Web\filestorage\communityserver.components.imagefileviewer\communityserver\components\avatars\00\00\00\27\07\4U2RJMLGREWW.jpg-70x70x2.jpg' because it is being used by another process.
     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)
     at Telligent.Evolution.Extensibility.Storage.Providers.Version1.FileSystemFileStorageProvider.AddUpdateFile(String path, String fileName, Stream contentStream)
     at Telligent.Evolution.Components.ImageResizing.GetResizedFile(String fileStoreKey, String path, String fileName, Int32 width, Int32 height, ResizeMethod method, Boolean createIfNotExists)
     at Telligent.Evolution.Components.ImageFileResizerHttpHandler.’(String ’“, String ‹Ž, String ›, Int32 , Int32 , ResizeMethod , ICentralizedFile& ‘, Exception& ‘•)
     at Telligent.Evolution.Components.ImageFileResizerHttpHandler.GetResizedFile(String path)
     at Telligent.Evolution.Extensibility.Api.Version1.SendEmail..(Match •)
     --- End of inner exception stack trace ---
  • So this is really an issue where some windows other process, like virus scan or some other tool has got an exclusive lock on the file.  I would check to see if anything running could be doing that.