LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error generating preview with _Excel_Dynamic VIs

I do have an application which is using an Excel-template. For this reason I need to add the _Excel_Dynamic VIs.vi from the vi.lib. Without this included vi I can build an application without any problems (see attachment).
When I include the _Excel_Dynamic VIs.vi I get an error message in the  preview which is not clear at all. I do have another application where I am using the same _Excel_Dynamic VIs.vi an no problem at all. I tried to
make a new app from the scratch without success.



0 Kudos
Message 1 of 6
(3,087 Views)
attached a printscreen with the error message.
0 Kudos
Message 2 of 6
(3,085 Views)
attached a printscreen with no error message where the _Excel_Dynamic Vi.vi is NOT included.
0 Kudos
Message 3 of 6
(3,082 Views)
     Hello Norick,
 
   I found you two statements from other forum-pages relating to the error message you receive
 
1.It sounds like this could be an overwrite issue. From the file path you specified, I can tell you that the error is occurring in creating the installer for your executable. Are you specifying an installer directory where you have already created an installer of the same name? If so, is that directory read only? Make sure that write privileges are enabled for you installer directory, and if that doesn't fix anything, try specifying a different installer directory.
 
2.It has to do with the way you have your build file constructed. The source and destination can't be the same because the application builder attempts to copy the dll into the build directory-which causes the error.

To fix the problem, create a directory containing the dlls you will be using in the build. Specify the dlls in this directory as the source file. Next, after adding all the dlls to the project, click on the "Custom Destinations..." button and for each of the dlls you've added, specify the "Windows System Directory" as the destination WITH NO RELATIVE PATH.

The build should now work...
 
 
 
   I hope, this information includes a solution for the error zou receive.
 
 
   Best Regards,
     Rocka
 

 
0 Kudos
Message 4 of 6
(3,046 Views)
Hi Rocka
thanks for your advices. To the first one I can say that I have not specified a directory for the installer and full access on the directory where I create my installer. Your second advice I have not checked yet but it could be a good hint if this problem will occur once again. What I have done is an update to the LV Version 8.5.1 and for some reasons it is working now without a problem I have described. It seems there was a corrupted file or something like that which produced this error.

Thanks
           Norick
0 Kudos
Message 5 of 6
(3,032 Views)
Hello Norick,
 
Thanks for the Reply.
 
 
   Kind Regards
0 Kudos
Message 6 of 6
(3,003 Views)