BlogEngine.NET icon indicating copy to clipboard operation
BlogEngine.NET copied to clipboard

Using MS-SQL crashes the appplication

Open daprose-dotcom opened this issue 2 years ago • 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: }

daprose-dotcom avatar May 31 '23 13:05 daprose-dotcom

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())

daprose-dotcom avatar May 31 '23 13:05 daprose-dotcom

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

farzindev avatar May 31 '23 14:05 farzindev