microsoft / microsoft/sql-server-samples
Login failed on export
@perrysk-msft ci sta già lavorando.
Dal 30/3/2017.
- Lingua principale
- PowerShell
- Stelle
- 11.2k
- Fork
- 9.1k
- Merge medio
- 2g 7h
- PR unite (30g)
- 14
Descrizione
Error message is:
Unable to reconnect to database: Cannot open database "DATABASENAME_2017-02-02_18:31.02" requested by the login. The login failed.
Login failed for user 'USERNAME'.
Cannot open database "DATABASENAME_2017-02-02_18:31.02" requested by the login. The login failed.
Login failed for user 'USERNAME'.
The user credentials are being set in this line:
$serverCred = Get-AutomationPSCredential -Name 'dbBackupsUser';
And the dbBackupsUser credential asset is set with the username and password that our account admin uses to log into the database (with SSMS or similar). The really screwy thing is that if I stop the process before it attempts an export and then just run the section of the script that starts the export, it's more than happy to proceed. This is only an issue when I'm running the full script, and it just finished copying the database.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.