04-02-2014 03:51 PM
I wrote a program with the DSC module to monitor and record data from a reflow oven. The program works fine when I run it from the vi, however when I build it and run the executable I get an error:
Deploying Oven4Library.lvlib\\192.168.9.7\Oven4Library deployment failed (error: -2147220689, MAX: (Hex 0x8004032F) The configuration database encountered an unexpected error. Visit ni.com/info and enter the Info Code MAXSvcLocError for more information.).
Unfortunately the page about "MAXSvcLocError" simply tells you to submit a service request. Has anyone run into this error? I've written another program that monitors data from a PLC device and it runs fine after I build it. As far as I can see, both libraries are set up the same and set to deploy when the program is run. Any help would be much appreciated.
04-03-2014 12:07 PM
Hey Jeff,
Are you receiving this error on the same PC you built the executable on, or a different PC? It's possible that you aren't including the necessary support file for your DSC Application, such as the MAX configuration files. Here is a good white paper from ni.com that talks about what you need to add:
http://www.ni.com/white-paper/3061/en/
Regards,
Ryan
04-04-2014 10:37 AM
Hey Ryan, thanks for the reply.
I had read that white paper previously and had all of those bases covered. I ended up making a new build specification onto a different drive on our network and now the program launches correctly. I've checked back and forth and have all of the same options selected and the same files are included. Even the generated files list under preview are identical. I think it boiled down to a networking permission problem.
06-19-2014 07:55 PM
Thanks so much for your post. I ran into the same error, and it was driving me crazy. Just moved my project to a different server, and everything works perfectly!!! Ahhh.