Skip to main content
Nintex Community Menu Bar

Class SCConnectionStringBuilder doesn't Work. Unable to resolve host adress.

  • June 10, 2015
  • 0 replies
  • 7 views

Forum|alt.badge.img+7


 

Symptoms

 


I'm using the class "SCConnectionStringBuilder" to generate the connection and open it, but it drops me the follow exception "Unable to resolve address Integrated=TrueIsPrimaryLogin=TrueAuthenticate=TrueEncryptedPassword=FalseHost="HostName"AuthData=WindowsDomain="Domain"UserID="UserID"Password="Password"Port=5252SecurityLabelName=K2 and port 5252."

I've tried with the name of machine and 'localhost', but it doesn't work.
 

 

Diagnoses

 


The 'domain name' property context needs to be passed in as part of the 'UserID' property in the connection string.
 

 

Resolution

Try passing in the 'domain' context as part of the 'UserID' property and not as a separate property in the connections string i.e:
"Integrated=FalseIsPrimaryLogin=TrueAuthenticate=TrueEncryptedPassword=FalseHost="Host"UserID="DomainUser"Password="Password"Port=5252SecurityLabelName=K2"
versus
"Integrated=FalseIsPrimaryLogin=TrueAuthenticate=TrueEncryptedPassword=FalseHost="Host"UserID="User"Password="Password"WindowsDomain="Domain"Port=5252SecurityLabelName=K2"