Error Publishing BinaryData Extension

Publishing Error

An error occured while publishing the Extension: System.UnauthorizedAccessException: Access to the path 'OutSystems.HubEdition.Common.dll' is denied.
at System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive)
at System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive)
at OutSystems.HubEdition.Common.Consistency.ExtensionValidator.Validate(XmlDocument extensionXml, String typeMapper)
at OutSystems.HubEdition.Common.Extensions.XIFPublisher.PublishExtension(Int32 extensionVersionId, Int32 developerId, ArrayList& messages).

Any Idea?

Hi Diogo,

That is a strange error, it is saying that the user does not have permissions to delete the previous version files. Have you manually changed any file permission or have you moved or copied files on the server? Also have you tried restarting IIS or/and the server?

Tiago Simões