BlogEngine/BlogEngine.NET

Using MS-SQL crashes the appplication

daprose-dotcom opened this issue · 2 comments

Line 960: if (_fileStorageProvider == null)
Line 961: {
Line 962: throw new ProviderException("unable to load default file system Blog Provider");
Line 963: }
Line 964: }

Invalid object name 'be_Blogs'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'be_Blogs'.
Source Error:
Line 127: using (var cmd = conn.CreateTextCommand($"SELECT BlogId, BlogName, Hostname, IsAnyTextBeforeHostnameAccepted, StorageContainerName, VirtualPath, IsPrimary, IsActive, IsSiteAggregation FROM {tablePrefix}Blogs "))
Line 128: {
Line 129: using (var rdr = cmd.ExecuteReader())
Line 130: {
Line 131: while (rdr.Read())

Please make sure you have set the Write permissions on App_Data and Custom folders.