Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using MS-SQL crashes the appplication #265

Open
daprose-dotcom opened this issue May 31, 2023 · 2 comments
Open

Using MS-SQL crashes the appplication #265

daprose-dotcom opened this issue May 31, 2023 · 2 comments

Comments

@daprose-dotcom
Copy link

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
Copy link
Author

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

@farzindev
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants