We help IT Professionals succeed at work.

Connection Dropouts to Database on Windows Server 2008 R2 DFS

170 Views
Last Modified: 2017-03-14
Hi EE,

We have a legacy application that is installed locally on client machines and connects to a database which is stored on DFS. The problem is that program is losing connection randomly to the database it requires.  This problem started occurring after we started hosting our DFS in a Datacentre so I am sure it's a network issue of some sort, my query is there a way to prioritize resources on a DFS? If not how would I begin troubleshooting this issue?

Thank you.
Comment
Watch Question

John TsioumprisIT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
I think you answered the question by yourself as you stated  " started hosting our DFS in a Datacentre"
I will take a guess and the DataCenter is not outside your premises and you are connected by some way...the problem relies on the connection...this is what it needs troubleshooting
ZackGeneral IT Goto Guy

Author

Commented:
Hi John,

I agree John how would go about troubleshooting this, are there any tools to troubleshooting network connection issues on a Windows DFS.

Additionally, the user's access to the DFS isn't stopped just this programs access the DFS database file store is lost

https://technet.microsoft.com/en-us/library/cc962144.aspx

This article isn't of much help.

Any ideas>
John TsioumprisIT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Can you give some more info on how you are connected to the Datacenter...?
ZackGeneral IT Goto Guy

Author

Commented:
Hi John,

We are connecting via Cisco router which hands all external network connections. What type of details do you need I can inquire with vendor?

Thank you.
IT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION
ZackGeneral IT Goto Guy

Author

Commented:
Hi John,

I have informed the datacentre about the issue they are unsure of where to start. I can check if the application has timeout option I can configure and set it for longer.

Thank you for the suggestions.
ZackGeneral IT Goto Guy

Author

Commented:
Thank you for the assistance.
John TsioumprisIT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Since you have access to the code ( i guess since you control timeout) you could make a routine to log connection problems (timeout)...in what language your application is coded...?
ZackGeneral IT Goto Guy

Author

Commented:
Hi John,

The language Visual Basic 6.0, I have already have contacted one of our developers about logging the connection issues at least I can capture it when it occurs.  

Thank you for the additional advice this will be long case either way :)
John TsioumprisIT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
I guess besides Logging you could implement some transaction mechanism so if the data are not delivered to retry to fetch them...
ZackGeneral IT Goto Guy

Author

Commented:
Hi John,

Cheers for the link

https://docs.microsoft.com/en-us/sql/ado/reference/ado-api/begintrans-committrans-and-rollbacktrans-methods-example-vb

I will forward that on to the developer.

Thanks again.
John TsioumprisIT Supervisor
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Hope you resolve it...