Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migration der Datenauelle bricht ab
#1
Hi, ich hatte mit Rocket Remote Desktop 2026 Build 19.0.8949.1 bereits produktiv gearbeitet. Jetzt soll ich nach dem Start eine Migration der Datenquelle durchführen. Die Datenbank wird aufgrund von Fehlern nicht migriert.

Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname "ExtraTag" wurde in der dbo.SecurityGroups-Tabelle mehrmals angegeben.

at Microsoft.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
  at Microsoft.Data.SqlClient.Connection.SqlConnectionInternal.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
  at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, SqlCommand command, 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 isRetry, String methodName)
  at Microsoft.Data.SqlClient.SqlCommand.ExecuteNonQuery()
  at CloudAdminDataAccess.ScriptExecuter.ExecuteSql(String sql, SqlConnection conn, SqlTransaction trans)

Ich hatte die Authentifizierung mit sa und Windows-Authentifizierung ausprobiert. Wir nutzen Rocket seit vielen Jahren und aktualisieren immer auf die neueste Version. Version 2026 war wie gesagt schon produktiv im Einsatz.


Attached Files Thumbnail(s)
   
Reply
#2
Hi,

Can we know how you are migrating db ? If you take backup of latest one and migrate it shouldn't ask for data source upgrade. Once migrated did you create a new environment or modify the old environment configuration ?
Thank You,
Pavan
Reply
#3
Hi, I use the migration wizard which runs different scripts. I didnt' edit the environment but can connect to the database in the environment overview. I didn't install any update so I don't know why Rocket is asking me for a migration. The latest patch was installed on 06.07.2026 and Rocket was running without any issues since.


Attached Files Thumbnail(s)
       
Reply
#4
Try running this command line parameter once again - Go to installation folder - RDConsole.exe /upgradestoredproc

If you get same errors, you can find this below link to add 2 columns. If they are already exists, we need to check more again

https://remotedesktop.rocketsoftware.com...?tid=13254
Thank You,
Pavan
Reply
#5
RDConsole.exe /upgradestoredproc resulted in the same error.

Below I copied the results from the SQL statement.
Meldung 2705, Ebene 16, Status 4, Zeile 1
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname "ExtraTag" wurde in der dbo.SecurityGroups-Tabelle mehrmals angegeben.
Meldung 2705, Ebene 16, Status 4, Zeile 4
Spaltennamen müssen in jeder Tabelle eindeutig sein. Der Spaltenname "ExtraTag" wurde in der dbo.Users-Tabelle mehrmals angegeben.
Reply
#6
ok, If ignored

What is the error while login ?
Thank You,
Pavan
Reply
#7
I'm unable to login. After starting Rocket the datasource migration wizard is starting.
Reply
#8
ok Something is triggering the upgrade command.

Can you run this "RDConsole.exe /instance:<Environment-Name> /getdbversion" to get the db details after login
Thank You,
Pavan
Reply
#9
Attached the screenshot with DB Information


Attached Files Thumbnail(s)
   
Reply
#10
Ok - info for DB-Details is broken - we can try to set via CommandLine again - we had same issue last year with another customer but never found the reason for it - perhaps it will come back :-)

Please backup your database first

Run from command line (in Rocket Remote Desktop install directory)

RDConsole.exe /setdb_scheme_version:18 /setdb_sp_version:6

It will start the app and will ask you for database upgrade - but it should only set some internal data instead of running any scripts
Regards/Gruss
Oliver
Reply
#11
After running the command, the database migration completes successfully. However, when I start Rocket, I am prompted to update the database again, and the migration enters the same loop.


Attached Files Thumbnail(s)
       
Reply
#12
After running it with command line options you should remove the command line options - but you still get the loop?
Regards/Gruss
Oliver
Reply
#13
I had the loop yesterday without the arguments. Looks like it is working again without any issues today.
Reply
#14
After installing Patch 3 for Rocket 2026 everything still looks good, so that issue seems to be solved. Thanks guys.
Reply




Users browsing this thread: 1 Guest(s)