umbracoSettings.config Locking - Windows Azure Accelerator for Umbraco 4 (v.1.1.0)
Hello,
When using the WAA for Umbraco version 1.1.0 (hosted on GitHub) we have been seeing the errors below in the UmbracoLog, these errors actually cause a YSOD for an unlucky user. They seem to occur daily somewhere between once and 10 times per day.
Error reading umbracoSettings file: System.IO.IOException: The process cannot access the file 'C:\Resources\directory\a7d89c65cfb046439e9057cd39fa1b12.WebRole.Sites\www.mysite.com\config\umbracoSettings.config' 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) 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, Int32 bufferSize) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at umbraco.UmbracoSettings.ensureSettingsDocument()
We think this is specific to the new WAA v1.1.0 as we have other deployments on v1.0.1 not generating these errors, can anyone using WAA for Umbraco v1.1.0 confirm this issue? If comfirmed I'll raise it as a bug on GitHub.
umbracoSettings.config Locking - Windows Azure Accelerator for Umbraco 4 (v.1.1.0)
Hello,
When using the WAA for Umbraco version 1.1.0 (hosted on GitHub) we have been seeing the errors below in the UmbracoLog, these errors actually cause a YSOD for an unlucky user. They seem to occur daily somewhere between once and 10 times per day.
Error reading umbracoSettings file: System.IO.IOException: The process cannot access the file 'C:\Resources\directory\a7d89c65cfb046439e9057cd39fa1b12.WebRole.Sites\www.mysite.com\config\umbracoSettings.config' 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) 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, Int32 bufferSize) at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) at System.Threading.CompressedStack.runTryCode(Object userData) at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) at System.Xml.XmlTextReaderImpl.OpenUrl() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at umbraco.UmbracoSettings.ensureSettingsDocument()
We think this is specific to the new WAA v1.1.0 as we have other deployments on v1.0.1 not generating these errors, can anyone using WAA for Umbraco v1.1.0 confirm this issue? If comfirmed I'll raise it as a bug on GitHub.
Regards,
Jeavon
is working on a reply...