Ich habe für die Community Version ein Upgrade von 5.01 auf 5.1 gemacht.
Die Anleitung habe ich hier genommen: https://smartstore.a...rigen Versionen
Leider startet der Shop nicht mehr und ich bekomme folgende Fehlermeldung:
HTTP Error 500.30 - ASP.NET Core app failed to start
Common solutions to this issue:
The app failed to start
The app started but then stopped
The app started but threw an exception during startup
Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more guidance on diagnosing and handling these errors, visit Troubleshoot ASP.NET Core on Azure App Service and IIS.
An was könnte es liegen?
Bei Rollback auf die ältere Version funktioniert der Shop wieder.
Hier noch ein Auszug aus dem Log File:
- Unhandled exception. Smartstore.Data.Migrations.DbMigrationException: Migration 5.1.0.0 Core: EmailAccountSecureOption could not be applied due to following error: Cannot find the object "dbo.EmailAccount" because it does not exist or you do not have permissions.. All changes to the database were reversed to 5.1.0.0 Tax: Initial. Please downgrade your application to a version which is known to be compatible with 5.1.0.0 Tax: Initial.
- ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot find the object "dbo.EmailAccount" because it does not exist or you do not have permissions.
- at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
- at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
- at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
- at Microsoft.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean isAsync, Int32 timeout, Boolean asyncWrite)
- at Microsoft.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, Boolean sendToPipe, Int32 timeout, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry, String methodName)
Vielen Dank.
Gruss Stefano