<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/</id><updated>2025-11-26T09:54:15.380000Z</updated><subtitle>Recent posts to CSVReaderInit returns error : INVALID_HANDLE</subtitle><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#a320" rel="alternate"/><published>2025-11-26T09:54:15.380000Z</published><updated>2025-11-26T09:54:15.380000Z</updated><author><name>youness</name><uri>https://forge.codesys.com/u/youness/</uri></author><id>https://forge.codesys.com998e890ac151ae3150d9c98e93a3760574714ca4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have Already the same problem when i'm trying to write data more than 10 times in the same file. In fact, i send my data periodicaly to a file that i configured to have permission of W/R in my CodesysContol.cfg. When the Error occurs, i must reboot my machine to success. It means that the problem isn't realted to a limitation of size, but a problem in the function supposed to handle the file. &lt;br/&gt;
totorovic : allow me to know if you've found a solution to your problem. &lt;br/&gt;
Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#0954" rel="alternate"/><published>2023-10-27T08:13:42.763000Z</published><updated>2023-10-27T08:13:42.763000Z</updated><author><name>totorovic</name><uri>https://forge.codesys.com/u/totorovic/</uri></author><id>https://forge.codesys.com435e96c3d88da6359dc7dca500744aca2f86a25d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We changed the path where the CSV file is. From intern memory of the IPC to a USB key.&lt;br/&gt;
&lt;strong&gt;We still have this error 'INVALID_HANDLE'&lt;/strong&gt;. We must restart the Codesys runtime to clear it. That is a big problem for us because machine is in production.&lt;/p&gt;
&lt;p&gt;&lt;a class="user-mention" href="/u/eschwellinger/"&gt;@eschwellinger&lt;/a&gt; What do you mean by &lt;em&gt;"this is a security issue not to read/write in the plc allowed path"&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#12b8" rel="alternate"/><published>2023-08-31T06:52:16.856000Z</published><updated>2023-08-31T06:52:16.856000Z</updated><author><name>totorovic</name><uri>https://forge.codesys.com/u/totorovic/</uri></author><id>https://forge.codesys.com0d4de6df2253180df0c12a9a1d894984e7fb783f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you for the return. The path targets to a CFast card. User has R/W access to it. We will try to change it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#65c6" rel="alternate"/><published>2023-08-30T20:49:11.374000Z</published><updated>2023-08-30T20:49:11.374000Z</updated><author><name>roundex</name><uri>https://forge.codesys.com/u/roundex/</uri></author><id>https://forge.codesys.com4856586423332a4e35bf3b15ff1652eb59f97527</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Could you please give me an example where to select new path in plc. Right now my csv files are placed into /home/user/csvfiles&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#40c1" rel="alternate"/><published>2023-08-30T16:43:53.712000Z</published><updated>2023-08-30T16:43:53.712000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com2e48de4080f1fead8464c7b55f36523f7ab0b266</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;this is a security issue not to read/write in the plc allowed path I would recommend to update and change the path in the application 😏&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#c589" rel="alternate"/><published>2023-08-30T12:31:46.582000Z</published><updated>2023-08-30T12:31:46.582000Z</updated><author><name>roundex</name><uri>https://forge.codesys.com/u/roundex/</uri></author><id>https://forge.codesys.comea6e2abcad9307947afd8dc9bd34c19130283a55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I got same issue but managed to get it worked again by downgrading the Runtime.&lt;br/&gt;
Here's my specs:&lt;br/&gt;
CODESYS V3.5.19.0&lt;br/&gt;
Runtime Linux SL 4.7.0.0.&lt;br/&gt;
CSV Utility SL 1.1.0.0 (Licensed IIoT libraries SL)&lt;/p&gt;
&lt;p&gt;I tried Runtime 4.8.0.0. and 4.9.0.0 but both result in INVALID_HANDLE error.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#194c" rel="alternate"/><published>2023-08-28T08:17:27.804000Z</published><updated>2023-08-28T08:17:27.804000Z</updated><author><name>totorovic</name><uri>https://forge.codesys.com/u/totorovic/</uri></author><id>https://forge.codesys.com3a24b68a9095bdd7cabbe3a11755709b75d03cda</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
Can we please have some details about the error : INVALID_HANDLE?&lt;br/&gt;
So we can try to avoid it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#9254" rel="alternate"/><published>2023-08-21T09:10:53.151000Z</published><updated>2023-08-21T09:10:53.151000Z</updated><author><name>totorovic</name><uri>https://forge.codesys.com/u/totorovic/</uri></author><id>https://forge.codesys.combf17edce28cfef39eff56ee254637834f7bd4d6a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Actually no solution. We are waiting Codesys reply.&lt;/p&gt;
&lt;p&gt;Latest version of library : licence error message&lt;br/&gt;
Version 1.0.0.5 : INVALID_HANDLE error message&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#e3d7" rel="alternate"/><published>2023-08-15T07:52:39.281000Z</published><updated>2023-08-15T07:52:39.281000Z</updated><author><name>daniel</name><uri>https://forge.codesys.com/u/daniel/</uri></author><id>https://forge.codesys.com5bd1b419c2bc4fe6ebb35ea90791f15857e5122f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, is there already a solution for this problem (invalid handle)? 3 month ago the librarie work without problems...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CSVReaderInit returns error : INVALID_HANDLE</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5398cbfac0/?limit=25#7ce7" rel="alternate"/><published>2023-07-20T14:24:54.251000Z</published><updated>2023-07-20T14:24:54.251000Z</updated><author><name>mozed</name><uri>https://forge.codesys.com/u/mozed/</uri></author><id>https://forge.codesys.com9ad16fb6180e3b1ee26d5a92fad4cb0ef3594a31</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;same problem here&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>