Solved! Go to Solution.
sdesetup -o update_key -d SQLSERVER -u sa -p sa -D TFIPS -s hostname\sql2008r2 -i sde:sqlserver -l "C:\Program Files\ESRI\License10.1\sysgen\keycodes" sdesetup -o update_key -d SQLSERVER -u sa -p sa -D TFIPS -s hostname -i sde:sqlserver\sql2008r2 -l "C:\Program Files\ESRI\License10.1\sysgen\keycodes"
Good morning All,
I got a sql spatial database from our client. I found their version is 10.0 but ours is 10.1. So I created a direct database connection in ArcCatalog and upgraded the geodatabse. Afterward, I went back to SSMS to check the AUTH_KEY in SDE_server_config table. The license is still 10.0 in the cell. I run the "sdesetup -o update_key" command line where the SDE SERVER is sitting. I got an errors saying: Failure to access the DBMS server (-409). Error upgrading authorization key. Can anyone help?
Thanks!
-yl
A few questions...
- Are you referencing a 10.1 keycodes file when running the sdesetup -o update_key command?
- For the -i parameter in the sdesetup command, are you using an ArcSDE service or a direct connection? It might be helpful to post the entire command you are running (minus the SDE password) so we can see the connection you're trying to pass.
- After the upgrade completed, can you still connect to the 10.1 GDB via ArcCatalog?
- Did you receive any errors at all during the upgrade?
I don't think you are required to re-authorize your geodatabase simply because of an upgrade from a technical standpoint; but my guess is that you are doing so from a legal standpoint in order to not use your client's license code.
This blog discusses the general process for re-authorizing a 10.1 geodatabase:
http://blogs.esri.com/esri/supportcenter/2013/06/04/updating-the-license-for-enterprise-geodatabases...
I'm also curious to know what the VERSION table in ArcSDE contains.
Another option is to run the Post Installation for ArcSDE, select custom, and select only the option to authorize the geodatabase.
A few questions...
- Are you referencing a 10.1 keycodes file when running the sdesetup -o update_key command?
- For the -i parameter in the sdesetup command, are you using an ArcSDE service or a direct connection? It might be helpful to post the entire command you are running (minus the SDE password) so we can see the connection you're trying to pass.
- After the upgrade completed, can you still connect to the 10.1 GDB via ArcCatalog?
- Did you receive any errors at all during the upgrade?
I don't think you are required to re-authorize your geodatabase simply because of an upgrade from a technical standpoint; but my guess is that you are doing so from a legal standpoint in order to not use your client's license code.
This blog discusses the general process for re-authorizing a 10.1 geodatabase:
http://blogs.esri.com/esri/supportcenter/2013/06/04/updating-the-license-for-enterprise-geodatabases...
I'm also curious to know what the VERSION table in ArcSDE contains.
Another option is to run the Post Installation for ArcSDE, select custom, and select only the option to authorize the geodatabase.
Is sql2008r2 your instance name? Try changing your -i parameter to include only the hostname...
-i sde:sqlserver:hostname
... or try separating them without specifying the SQL Server instance name ...
-i sde:sqlserver -s hostname
The geodatabase should still work just fine without reauthorizing, but you may want to change the license key for legal reasons. If none of the various syntax options are working for you with regard to the SDESETUP command, try using the Post Installation wizard for ArcSDE. Choose the custom option and only select the box for authorizing a geodatabase.
sdesetup -o update_key -d SQLSERVER -u sa -p sa -D TFIPS -s hostname\sql2008r2 -i sde:sqlserver -l "C:\Program Files\ESRI\License10.1\sysgen\keycodes" sdesetup -o update_key -d SQLSERVER -u sa -p sa -D TFIPS -s hostname -i sde:sqlserver\sql2008r2 -l "C:\Program Files\ESRI\License10.1\sysgen\keycodes"