Replies: 2 comments 1 reply
-
Hello! So it looks to me, based on this log line:
That the software is trying to create the database. My guess is that it cannot access the database that you created with the script so it's trying to create its own. This leads me to think that there might be an issue with the connection string in your application configuration file. Check your "ConnectionStrings": {
"SqlServer": "Server=<server>;Database=<database>;user id=<user>;password=<password>;MultipleActiveResultSets=true;Encrypt=false",
},
At some point that Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
-
After weeks of messing around.... This morning I added db_owner permissions to the Builtin/Users group in SQL Server Management Studio and got it going... Is this a security risk? |
Beta Was this translation helpful? Give feedback.
-
Hello, I'm running Windows Server 2019 + SQL Server and following the manual instructions. After creating the databases (using script) and all installation steps, I have been troubleshooting the following error for about a week now to no avail:
When loading localhost:
HTTP Error 500.30 - ASP.NET Core app failed to start
In the log:
2024-04-12 10:24:18.278 -04:00 [Information] GRA v"4.4.1" instance "n/a" environment "Production" in "C:\inetpub\wwwroot\wwwroot" with content root "C:\inetpub\wwwroot"
2024-04-12 10:24:19.035 -04:00 [Information] Cache: in-memory
2024-04-12 10:24:19.069 -04:00 [Debug] Cache miss for "Startup": caching "string" (length 19) expires "00:00:10" ("absolute")
2024-04-12 10:24:22.958 -04:00 [Warning] Applying 54 database migrations, last is: "20230630231754_news-stand-update-sort"
2024-04-12 10:24:24.561 -04:00 [Error] Failed executing DbCommand ("20"ms) [Parameters=[""], CommandType='Text', CommandTimeout='60']"
""CREATE DATABASE [SRP];"
2024-04-12 10:24:24.591 -04:00 [Error] Startup error applying database migrations: "CREATE DATABASE permission denied in database 'master'."
Is there anywhere else I can look for error messages that might help narrow down the issue?
Beta Was this translation helpful? Give feedback.
All reactions