08-07-20 12:36 PM
13-07-20 11:15 AM
Hi Caleb,
Is it possible the username/password combination (or indeed any other auth method) within the connection string has expired/changed since it was previously working?
If that's not changed, and if you're using the Data - SQL utility object, are you connecting with individual details (host, server etc) or providing a connection string yourself?
Hope we can find an answer for you!
05-08-20 09:15 PM
05-08-20 09:33 PM
05-08-20 09:40 PM
Thank you so much for the prompt response.
So, What I have done is the following:
1. Created a copy of the Data SQL Server object
2. Added in the "Set Connection" Stage ";Trusted_Connection=Yes" for both the Yes and No decision stage to set the connection string
3. Then used this modified SQL Server object to make a connection string
4. Then "Execute" for running a query
That's when i get the error of " Connection String property not initialized" on step 4 essentially.
05-08-20 09:51 PM
Okay so make sure that you are sending all the necessary inputs over. So your Server, Database, User, and Password should all be populated. From what you are saying, it is the same issue I was having.
Was there a reason why you had to make a copy of the object and add the Trusted Connection piece?
05-08-20 09:57 PM
05-08-20 10:12 PM
Okay so does the bot you are working with have access to SQL?
If so, you SHOULD be able to Set Connection, test the connection using Get Number if you desire to, and then Execute your query using like you are wanting to do. Just ensure that all of your parameters for Set Connection are populated and correct. If there is an issue still after that, maybe try testing the SQL access manually to ensure that you have the access that you need to be able to connect to the server.
07-08-20 06:29 PM