| Author |
Message |
kevinlan
Joined: 02 Nov 2011 Posts: 9
|
Posted: Thu Nov 03, 2011 8:17 am Post subject: Index was outside the bounds of the array, Register Database |
|
|
i am so confuse with this .
i have two identical database in different servers.
i try it use the coding which base on sql compare sdk 8.0 to compare the two database. but i get this error.
stagingDB.Register(sourceConnectionProperties,Options.DecryptPost2kEncryptedObjects)
productionDB.Register(targetConnectionProperties,Options.Default);
Options.DecryptPost2kEncryptedObjects|Options.Default
i found i add any one of the two options (Options.DecryptPost2kEncryptedObjects , Options.Default) it will raise the index out of array errors.
but there hasn't any errors on the line 'stagingDB.Register'
i have Encytioned objects in the two database, after i delete this objects, it can work well.
i am not sure what the root cause, the servers are all sqlserver 2008
did there has something with the version?
one is sqlserver10.0.4064
another is sqlserver 10.0.2531 |
|
| Back to top |
|
 |
kevinlan
Joined: 02 Nov 2011 Posts: 9
|
Posted: Thu Nov 03, 2011 10:33 am Post subject: |
|
|
after tracked today, i had a little cute.
when the dababase located on the windows 2008 and above version,but also there exists encryptioned objects in the database. this error will raise.
any body came cross this issue?
thanks |
|
| Back to top |
|
 |
kevinlan
Joined: 02 Nov 2011 Posts: 9
|
Posted: Fri Nov 04, 2011 9:13 am Post subject: |
|
|
the issue is that i couldn't Decyption objects which host on the X64 database but the X32.
i am using the sql comparsion sdk 8.0, i have included the backupreader.dll and compile it as X86 |
|
| Back to top |
|
 |
darewasda134
Joined: 25 Jan 2012 Posts: 1
|
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group