Difference between revisions of "Sql Connection Configuration Issues"

From Agility
Jump to: navigation, search
Line 1: Line 1:
'''Symptoms:'''
+
==Symptoms==
 
   
 
   
 
Agility (or background) throws exception to event log that system is unable to connect fastNet database., but user can connect to SQL instance with SQL management studio
 
Agility (or background) throws exception to event log that system is unable to connect fastNet database., but user can connect to SQL instance with SQL management studio
  
'''Investigation Procedure:'''
+
==Investigation Procedure==
  
 
Ensure system configuration:  
 
Ensure system configuration:  
#Check system name in ''web.config'' and in ''sxpBacground.exe.config'' files
+
#Check '''SystemName''' in ''web.config'' and in ''sxpBacground.exe.config'' files.
#Ensure registry configuration(for standard and Wow6432Node):
+
#Ensure windows registry setup (for standard and Wow6432Node):
    HKEY_LOCAL_MACHINE\SOFTWARE\SoftSolutions\SXP\SystemName
+
#* HKEY_LOCAL_MACHINE\SOFTWARE\SoftSolutions\SXP\SystemName
    HKEY_LOCAL_MACHINE\SOFTWARE\'''Wow6432Node'''\SoftSolutions\SXP\SystemName
+
#* HKEY_LOCAL_MACHINE\SOFTWARE\'''Wow6432Node'''\SoftSolutions\SXP\SystemName
 +
#Validate '''SystemConfigFilePath''' from registry with physical file path.
 +
#Ensure that firewall do not block sqlserver ports (on all machines with: agility service, background, sqlserver)

Revision as of 10:44, 14 December 2016

Symptoms

Agility (or background) throws exception to event log that system is unable to connect fastNet database., but user can connect to SQL instance with SQL management studio

Investigation Procedure

Ensure system configuration:

  1. Check SystemName in web.config and in sxpBacground.exe.config files.
  2. Ensure windows registry setup (for standard and Wow6432Node):
    • HKEY_LOCAL_MACHINE\SOFTWARE\SoftSolutions\SXP\SystemName
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SoftSolutions\SXP\SystemName
  3. Validate SystemConfigFilePath from registry with physical file path.
  4. Ensure that firewall do not block sqlserver ports (on all machines with: agility service, background, sqlserver)