Today I tried to convert my website to a Sql server based site. I got the success message from the add-on but when I refreshed my console I faced with Runtime Error.
I could restore my website by renaming DataStores.bak to DataStores and DynamicXmlDataProvider.config.bak to DynamicXmlDataProvider.config. Also database tables are created.
Why it happened? Is there anything else I should do to cleanup the failed conversion?
Part of the Log:
20160803 10:59:18.4022 4 143 Critical XmlDataProvider Failed to save data to the file file:D:\HostingSpaces\posat\posattt.com\wwwroot\App_Data\Composite\DataStores\Composite.Data.Types.IUserConsoleInformation.xml
20160803 10:59:18.4022 4 143 Critical XmlDataProvider System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\HostingSpaces\posat\posattt.com\wwwroot\App_Data\Composite\DataStores\Composite.Data.Types.IUserConsoleInformation.xml.rd3bvxdm.tmp'.
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, Int32 bufferSize, Boolean useAsync)
at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
at Composite.Plugins.Data.DataProviders.XmlDataProvider.Foundation.XmlDataProviderDocumentWriter.DoSave(FileRecord fileRecord)
I could restore my website by renaming DataStores.bak to DataStores and DynamicXmlDataProvider.config.bak to DynamicXmlDataProvider.config. Also database tables are created.
Why it happened? Is there anything else I should do to cleanup the failed conversion?
Part of the Log:
20160803 10:59:18.4022 4 143 Critical XmlDataProvider Failed to save data to the file file:D:\HostingSpaces\posat\posattt.com\wwwroot\App_Data\Composite\DataStores\Composite.Data.Types.IUserConsoleInformation.xml
20160803 10:59:18.4022 4 143 Critical XmlDataProvider System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\HostingSpaces\posat\posattt.com\wwwroot\App_Data\Composite\DataStores\Composite.Data.Types.IUserConsoleInformation.xml.rd3bvxdm.tmp'.
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, Int32 bufferSize, Boolean useAsync)
at System.Xml.XmlWriterSettings.CreateWriter(String outputFileName)
at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings)
at Composite.Plugins.Data.DataProviders.XmlDataProvider.Foundation.XmlDataProviderDocumentWriter.DoSave(FileRecord fileRecord)