04-28-2015 03:44 AM
Hi everyone!
I am to trying to create a PDF with Simplicity AI Generator found in Labview's VI Manager module.
Following the examples given with it, I have an error when trying to create the report.
The error is the following:
Error 1172 occured : Constructor Node Error creating instance of CustomPDF in assembly Sai.CustomPdfGenerator.CustomPDF, Sai.CustomPdfGenerator, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null, (System.UnauthorizedAccessException: access to 'C:\Users\antoine.Courtois\Desktop' refused.)
The error might be a bit different than the normal English one (translated from french).
Anybody has an idea of how to fix it? I've been looking on NI.com concerning this error, but can't get it to work though.
.NET framework seems to be well installed on my computer.
Cheers!
Antoine C.
04-28-2015 09:44 AM
Antoine,
Which example did you try? I have the Simplicity AI toolkit installed (per curiosity) and I courd try if I see the same problem.
04-29-2015 02:33 AM
Hi!
Here is my small VI I did inspired by an example I found in "Find example".
Thank for your answer.
See ya!
04-29-2015 10:11 AM
Could you save the file in LV2013?
04-29-2015 10:58 AM
Here it is!
04-29-2015 11:46 AM - edited 04-29-2015 12:15 PM
Antoine, you have at least two problems:
-1) you supplied a directory path instead of a file path;
-2) you supplied a font constant instead of a font.
04-29-2015 12:07 PM
Hi! Thanks for your help, works perfect now! 🙂
03-03-2021 07:24 AM
I had the same issue.
In my case, our customer did not run the EXE from a local location. Instead from a network folder.
For trying i copied the EXE to "C:\temp" and run it from there and the pdf was created successfully.