Anyone have an issue with connecting to SQL server 2014 via sde database connection from Catalog/ArcMap?
desktop version: 10.6
SQL Server 2014
ArcGIS Server 10.5
When computer A trys to open an MXD it cannot open and sits and spins. So I tried computer B to connect to computer A's db user connection, and was successful. In turn freeing up the connection on Computer A.
Computer A's mxd will not open/cannot establish db connection. I try to make connection from computer B, from a blank mxd, and it gets hung up, and keeps spinning. After closing both computer's mxd's, I try to hop on the database server (sql 2014) and make a connection from arcCatalog. It is a success. So I go back to computer B and the connection now works. Then I return to Computer A and the connection also works. (remember the progression)
Computer A's db connection does not work, Computer B's attempt at the same connection does not work (nor do any other user connections) , so I try to connect from the server again, this time ArcCatalog gets hung up and will not make a connection. So I open SSMS on the server, and go to Activity log, and kill the process that is my hung up connection on the server. It instantly allows ArcCatalog to establish a connection. So my next step is to go to computer A, and try to make the connection, it does not work. So I go to computer B, and am able to make a connection. Now I go back to computer A and the connection now works. (seems like there is a relation between computer A and B, possibly) . So everyday since the beginning of this, I have had to go into ssms and kill the db conneciton processes. and repeat this process.
This is a tax map office, and sometimes an mxd is shared, but only one person does editing, so we aren't using versioning. Any help would be greatly appreciated .
We don't have any current defects out there that would explain the behavior you are seeing here. I just did a quick test with 2 of my machines here to see if I could replicate the issue and I can't. So I've got some questions for you:
You can see I have more questions than anything at this point. But it helps to narrow things down.
-It is not specific to one mxd. This behavior also happens when I open a blank map.
-It is specific to these two machines, however in one my tests a computer C also got blocked out. However there is another user (computer D), who is at 10.5 who hasn’t been affected once throughout this entire process, even after catalog freezes up on the db server he is still connected. (He is also using the same database connection: GIS Owner
-The behavior still occurs when just opening ArcCatalog
-There are two MXD’s that are on a shared drive, that I recently put there. We were updating some custom add-ins and each add-in has to have it’s own mxd (by design). They are not accessed at the same time.
-There are no ArcSoc.exe processes running on machine A or B, however on our ArcGIS server, there are many ArcSoc processes running but they are all specific to certain services
-On my machine (comp B) I do notice that there are two “RuntimeLocalServer.exe (32 bit)” background processes running
Please let me know if you have other questions. Thanks so much for the help! ☺
Thanks for the reply. I agree with Josh's comment below that we need to narrow this down some more. It may actually be easier to have Technical Support open a case for this and investigate one on one with you. They'll be able to screen share with you and work on this in real time. You can call 888-377-4575 and we'll get a case created.
I'd like to know what you see when you connect as the SDE user (or the user you guys have specified as the geodatabase admin) and then go to Administration and Administer Geodatabase. What is there under the Connections and Locks tabs? Does it match what you would expect to see (is the number of connections and/or locks correct based on who you know is connected or is there another connection listed)?
If you don't access the MXD's on the shared drive and both open new, blank MXD's from your own machines and make connections at the same time, what happens? Maybe this is related to those MXD's on the shared drive.
You need to isolate more where the hang-up is occurring, i.e., with the database client or the ArcGIS client or server application. What happens when you use sqlcmd Utility | Microsoft Docs from each client using the credentials you are passing around between machines? Do you see the same issue connecting to SQL Server outside of ArcGIS?
So the issue was resolved today. One of our systems analyst was having issues with hanging connections in logos. We believe there was an windows update that possibly triggered this. After changing the mac address to static, and restarting the server, computer A was able to connect without needing anyone else to connect.
From our systems analyst
"We changed from a dynamic mac address on the vm to a static mac address. This allows the communication to take place more efficiently"
I wish I could explain more, but I can't at the moment. We believe though this is was the cause of many recent issues on our SQL server. I'll keep you posted if I find out anything more.
Thanks for the update Michael! Glad you guys got things sorted out!