<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RE: Connection String to SQL database in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68084#M20689</link>
    <description>Hi Ellen,&lt;BR /&gt;&lt;BR /&gt;You should be able to retrieve the connection string by following instructions from this link -&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-dotnet-core" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-dotnet-core&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Attached contains these instructions.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27242.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27374i2E9AFE6658DE604F/image-size/large?v=v2&amp;amp;px=999" role="button" title="27242.png" alt="27242.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Dec 2019 08:05:00 GMT</pubDate>
    <dc:creator>KrishnaA</dc:creator>
    <dc:date>2019-12-18T08:05:00Z</dc:date>
    <item>
      <title>Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68081#M20686</link>
      <description>​Hi all,&lt;BR /&gt;&lt;BR /&gt;Since&amp;nbsp;I'm very new to BluePrism and automation in general, I could use the advise of this community.&lt;BR /&gt;Currently I am trying to connect to&amp;nbsp;an SQL database via&amp;nbsp;the VBO Object 'Data OLEDB'. Now I have this connection string, but when running the object&amp;nbsp;it&amp;nbsp;keeps&amp;nbsp;returning&amp;nbsp;errors. &lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;Connectionstring = "Provider=SQLOLEDB.1;Data Source=xxxxx.database.windows.net,1433;Initial Catalog=BluePrism;Persist Security Info=False;User ID=xxxxxxx@xxxxxx;Password=xxxxxx;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False"
&lt;/PRE&gt;
&lt;P&gt;&lt;/P&gt;
Apparently there is wide variety in connection strings and I&amp;nbsp;have tried a great&amp;nbsp;number of them,&amp;nbsp;but so far without the right outcome. I would appreciate your thoughts on this matter.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;BR /&gt;&lt;BR /&gt;Ellen</description>
      <pubDate>Fri, 13 Dec 2019 16:12:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68081#M20686</guid>
      <dc:creator>EllenPeereboom</dc:creator>
      <dc:date>2019-12-13T16:12:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68082#M20687</link>
      <description>What is the error that you get? Based on that we can advise&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Dec 2019 03:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68082#M20687</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2019-12-16T03:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68083#M20688</link>
      <description>Hi Vivek,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. To provide you with a little more context: our machines and databse run in the Azure Cloud. What we are trying to do is set a connection from a Runtime Resource VM to the Azure database that has also been setup as the BluePrism database during installation. We are trying to log-in with the same service account details. The type of authentication is therefore Active Directory with integrated password, which is included in the connection string as well.&lt;BR /&gt;&lt;BR /&gt;The difficulty is that when we are logging in on the Runtime Resource VM and launch SSMS 2017 with the service account details and name of the database, it works fine. We can connect and write queries and stuff. See screenshot:&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27240.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27371i01A8FD6DA10B75AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="27240.png" alt="27240.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Yet, forming the connection string does not give us the same result and returns the following error when we try to connect through BluePrism application:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27241.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27370i54D9A497DA753731/image-size/large?v=v2&amp;amp;px=999" role="button" title="27241.png" alt="27241.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;As stated previously there is a multitude of different options when forming the string, hopefully you can shed some light on that. For instance we are not sure whether the name of the Azure database should be entered after "Server=" or "Data Source=" .. We are also not sure what the driver/provider should be.&lt;BR /&gt;&lt;BR /&gt;This is the current string":&amp;nbsp;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;EM&gt;Provider=SQLOLEDB.1;Integrated Security=SSPI;Trusted_Connection=Yes;Persist Security Info=False;Initial Catalog=BluePrism; Data Source=std-sql-a06.database.windows.net,1433; User ID=xxxxxxxxxxx@xxxxxxxxxxx; Password=xxxxxxxxxxxx;Authentication="Active Directory Password"&lt;/EM&gt;&lt;/P&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;Do you have experience in connecting to an azure database using the service account through blueprism? Hope you can help!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Ellen&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ellen Peereboom&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Dec 2019 11:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68083#M20688</guid>
      <dc:creator>EllenPeereboom</dc:creator>
      <dc:date>2019-12-17T11:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68084#M20689</link>
      <description>Hi Ellen,&lt;BR /&gt;&lt;BR /&gt;You should be able to retrieve the connection string by following instructions from this link -&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-dotnet-core" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/azure/sql-database/sql-database-connect-query-dotnet-core&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Attached contains these instructions.&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27242.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27374i2E9AFE6658DE604F/image-size/large?v=v2&amp;amp;px=999" role="button" title="27242.png" alt="27242.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 08:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68084#M20689</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2019-12-18T08:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68085#M20690</link>
      <description>Hi Krishna,&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply. &lt;BR /&gt;Setting up the connection is no problem, and works with the connection string you provided. However, connecting through BluePrism does not work and yields this error:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="27245.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/27372i10B094D2D7E9C244/image-size/large?v=v2&amp;amp;px=999" role="button" title="27245.png" alt="27245.png" /&gt;&lt;/span&gt;When "Provider=SQLOLEDB;" is added to the string, the login fails again. The problem may lie only with the provider, or perhaps I need a completely different connection string. &lt;BR /&gt;&lt;BR /&gt;Would you care to share your suggestions? Thanks again!&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/DIV&gt;
&lt;/DIV&gt;
Ellen&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ellen Peereboom&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 09:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68085#M20690</guid>
      <dc:creator>EllenPeereboom</dc:creator>
      <dc:date>2019-12-18T09:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68086#M20691</link>
      <description>Hi Ellen,&lt;BR /&gt;&lt;BR /&gt;May I know your reasons for using OLEDB object over native SQL VBO object?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/sql/connect/oledb/when-to-use-oledb-driver-for-sql-server?view=sql-server-ver15" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/sql/connect/oledb/when-to-use-oledb-driver-for-sql-server?view=sql-server-ver15&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you are not aware of this object, suggest you explore this VBO (available out of the box) to connect to SQL database&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #ffffff;"&gt;BPA Object - Data - SQL Server.xml&lt;BR /&gt;&lt;BR /&gt;What version of Blue Prism are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Krishna&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Krishna A&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 10:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68086#M20691</guid>
      <dc:creator>KrishnaA</dc:creator>
      <dc:date>2019-12-18T10:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Connection String to SQL database</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68087#M20692</link>
      <description>Hi Krishna,&lt;BR /&gt;&lt;BR /&gt;Thank you for the idea, my assumption that OLEDB was required turned out to be false. Using the SQL Server Object did the trick!&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;&lt;BR /&gt;Ellen&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Ellen Peereboom&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Dec 2019 15:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Connection-String-to-SQL-database/m-p/68087#M20692</guid>
      <dc:creator>EllenPeereboom</dc:creator>
      <dc:date>2019-12-18T15:47:00Z</dc:date>
    </item>
  </channel>
</rss>

