Skip to content

Offline laptop / Can't connect with default credentials #248

@fgadot

Description

@fgadot

Greetings,

I was able to put my hands on an Intel based iMac. I installed Resgrid off line. Dockers are starting correctly.
Followed the offline laptop documentation. Went to the 3 https pages to validate certificates. Back to https://rg.mylocal , login with admin / changeme1234 gives an error on the web page.

The docker-compose console shows this:

2025-09-25 12:10:48.93 Logon       Error: 18456, Severity: 14, State: 38.
2025-09-25 12:10:48.93 Logon       Login failed for user 'sa'. Reason: Failed to open the explicitly specified database 'Resgrid'. [CLIENT: 172.16.193.51]
web-1         | [12:10:48 FTL] 
web-1         | System.Data.SqlClient.SqlException (0x80131904): Cannot open database "Resgrid" requested by the login. The login failed.
web-1         | Login failed for user 'sa'.
web-1         |    at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken)
web-1         |    at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
web-1         |    at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
web-1         |    at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
web-1         |    at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
web-1         |    at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
web-1         |    at System.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
web-1         | --- End of stack trace from previous location ---
web-1         |    at Resgrid.Repositories.DataRepository.IdentityUserRepository.GetByUserNameAsync(String userName) in /src/Repositories/Resgrid.Repositories.DataRepository/IdentityUserRepository.cs:line 180
web-1         | ClientConnectionId:4911adf9-a5d6-4abb-97a0-2e07d1bfa7e0
web-1         | Error Number:4060,State:1,Class:11
web-1         | 
web-1         | AssemblyName:Resgrid.Framework, Version=0.7.19.0, Culture=neutral, PublicKeyToken=null
web-1         | CallerFilePath:/src/Repositories/Resgrid.Repositories.DataRepository/IdentityUserRepository.cs
web-1         | CallerMemberName:GetByUserNameAsync
web-1         | CallerLineNumber:193r
web-1         | CorrelationId:
web-1         | System.Data.SqlClient.SqlException (0x80131904): Cannot open database "Resgrid" requested by the login. The login failed.
web-1         | Login failed for user 'sa'.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions