Closed v-sherryfan closed 2 months ago
It's expected that this error will occur during application startup while the migration service is attempting to connect to the database and apply migrations. On my machine it takes approximately 25 seconds from the time the migration service starts until it completes running the migrations and after that the api endpoint returns successfully.
REGRESSION INFO: Also repro on main branch (Aspire 8.0 P7)
INSTALL STEPS
REPRO STEPS
release/8.0
branchACTUAL
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1] An unhandled exception has occurred while executing the request. Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "db1" requested by the login. The login failed. Login failed for user 'sa'.
NOTE
EXPECTED