<?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: OLEDB run time error in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101968#M48809</link>
    <description>I have tried all the options, it didn't work. Even i tried changing the sheet name, but the new sheet name is not working as well.</description>
    <pubDate>Wed, 21 Apr 2021 21:41:26 GMT</pubDate>
    <dc:creator>KeerthanaJegann</dc:creator>
    <dc:date>2021-04-21T21:41:26Z</dc:date>
    <item>
      <title>OLEDB run time error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101966#M48807</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am using GET COLLECTION action in OLEDB VBO to run a query. So excel file in which I'm running the query is located in a teams folder. So when I step over it in the debug mode, run query action in OLEDB works fine. But when I run it from control room, its throwing an error saying - "Shift Info$' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long". -&amp;gt; Here &lt;STRONG&gt;Shift Info&lt;/STRONG&gt; is the excel sheet name.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;So the interesting thing is, its working fine in the debug mode, only at the run time, I get the issue. Even the SQL query is correct with no syntax error. Otherwise, it would not work in the debug mode. Can someone please help me with it.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Wed, 14 Apr 2021 12:24:06 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101966#M48807</guid>
      <dc:creator>KeerthanaJegann</dc:creator>
      <dc:date>2021-04-14T12:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB run time error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101967#M48808</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;¿Are you running your process in the same machine as you debug? If not, check if the OLEDB library (dlls) are correctly instaled.&lt;BR /&gt;&lt;BR /&gt;Can you open with the file using Excel and check the Sheet name?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Other thing that you can try is to open always the first sheet of the book with this code:&lt;BR /&gt;
&lt;PRE class="default s-code-block hljs csharp"&gt;&lt;CODE&gt;&lt;SPAN class="hljs-keyword"&gt;using&lt;/SPAN&gt; (OleDbConnection conn = &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; OleDbConnection(connString))
{
    conn.Open();
    dtSchema = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables, &lt;SPAN class="hljs-keyword"&gt;new&lt;/SPAN&gt; &lt;SPAN class="hljs-built_in"&gt;object&lt;/SPAN&gt;[] { &lt;SPAN class="hljs-literal"&gt;null&lt;/SPAN&gt;, &lt;SPAN class="hljs-literal"&gt;null&lt;/SPAN&gt;, &lt;SPAN class="hljs-literal"&gt;null&lt;/SPAN&gt;, &lt;SPAN class="hljs-string"&gt;"TABLE"&lt;/SPAN&gt; });
    Sheet1= dtSchema.Rows[&lt;SPAN class="hljs-number"&gt;0&lt;/SPAN&gt;].Field&amp;lt;&lt;SPAN class="hljs-built_in"&gt;string&lt;/SPAN&gt;&amp;gt;(&lt;SPAN class="hljs-string"&gt;"TABLE_NAME"&lt;/SPAN&gt;);
}&lt;/CODE&gt;&lt;/PRE&gt;
&lt;BR /&gt;I paste here an extra links to help you:&lt;BR /&gt;&lt;A href="https://forums.asp.net/t/1995972.aspx?error+Items+is+not+a+valid+name+Make+sure+that+it+does+not+include+invalid+characters+or+punctuation+and+that+it+is+not+too+long+" target="_blank" rel="noopener"&gt;https://forums.asp.net/t/1995972.aspx?error+Items+is+not+a+valid+name+Make+sure+that+it+does+not+include+invalid+characters+or+punctuation+and+that+it+is+not+too+long+&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Wed, 14 Apr 2021 12:50:14 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101967#M48808</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2021-04-14T12:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB run time error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101968#M48809</link>
      <description>I have tried all the options, it didn't work. Even i tried changing the sheet name, but the new sheet name is not working as well.</description>
      <pubDate>Wed, 21 Apr 2021 21:41:26 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101968#M48809</guid>
      <dc:creator>KeerthanaJegann</dc:creator>
      <dc:date>2021-04-21T21:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB run time error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101969#M48810</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Oh... that's to bad.&lt;BR /&gt;&lt;BR /&gt;Check if exist any "hidden" sheet in your file.&lt;BR /&gt;&lt;BR /&gt;If you want, send me the Excel without your data to try to execute in my own robot.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bye &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 22 Apr 2021 08:16:35 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101969#M48810</guid>
      <dc:creator>PabloSarabia</dc:creator>
      <dc:date>2021-04-22T08:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: OLEDB run time error</title>
      <link>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101970#M48811</link>
      <description>I got it worked.&amp;nbsp; There were two reasons causing this error - 1) While debugging, every time when I open the OLEDB connection, I don't close the connection. 2)Opening excel instance before connecting to oledb is the second issue.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Jul 2021 17:27:11 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/OLEDB-run-time-error/m-p/101970#M48811</guid>
      <dc:creator>KeerthanaJegann</dc:creator>
      <dc:date>2021-07-15T17:27:11Z</dc:date>
    </item>
  </channel>
</rss>

