01-17-2013 02:58 PM
Everytime I work on any VI that interacts with xml functions, I get a warning that DOMUserDefRef.dll is being loaded from an unexpected path. It is extremely annoying. It will pop-up as many as 7 times in a row before allowing me to work. It also will occur sometimes when I try to edit a VI's icon.
I've tried repairing the Labview installation, but that did not help.
01-18-2013 08:54 AM
Hi Thutch,
This warning is probably because the dll was moved at some point, which would normally be fine and only cause a warning the first time it's loaded from the new location. However, the XML parsing VIs are read-only, which means that they can't be overwritten to include the new location of the dll. I'd suggest following the steps of this forum post, and seeing if that resolves the issue. I hope this helps!
01-18-2013 09:17 AM
I cannot access that page you linked. It said I don't have permissions to view that.
01-21-2013 09:24 AM
Hi thutch,
Sorry about that. Here are the important parts of the post:
1) Was the DOMUserDefRef.dll ever copied from its original location into a new location?
2) Was the Internet Toolkit folder ever copied or moved to a new location?
3) When LabVIEW was installed, was it installed to the default location? Or was it installed to a special directory?
This issue may be due to the XML parser VIs, which are read only. Normally if you open a project and it loads a dll from a new location, it will save that new location and you won't get the warning anymore. However, the XML parser VIs are read-only. Therefore, the project can't update the dependencies for the XML parser VIs (such as New.vi). I would like to see if you can create a new project and avoid the problem. Please try the following:
1) Restart LabVIEW
2) Create a new empty project
3) Create a new VI in the project
4) In the blank VI, drop down New.vi on the block diagram (from Programming » File I/O » XML » XML Parser palette)
5) Save the VI, and save the Project
6) Close the Project
7) Restart LabVIEW
😎 Open the Project that you just created. Do you still get the warning?
If you don't get the warning about DOMUserDefRef.dll, then mass-compile your original project in LabVIEW. To mass compile, pleasefollow these instructions: http://zone.ni.com/reference/en-XX/help/371361H-01/lvhowto/mass_compiling_vis/
I hope this helps.
01-23-2013 04:07 PM
Nothing was ever moved or copied. This is a stock installation of Labview in its default location. I now have another machine with labview on it exhibiting the same behavior. I followed the steps below, but the test project did not product the issue. I will also try mass compiling my project, but I have already done that in the past without any luck.
01-24-2013 07:10 PM
Hi Thutch,
I would think mass-compiling your projects directory should do the trick. Give that a try, and let us know your results.
01-24-2013 07:29 PM
Once following your instructions, it stopped happening. I didn't need to do the mass compile. I don't really understand why that would fix the issue, but I'll take it. I'll report back if it reverts.
01-30-2013 02:34 PM
The problem is back. Extremely annoying. It went away for a while.
01-31-2013 02:14 PM
Hi Thutch,
I'm sorry to hear that the issue is back again. As far as you know, did anything change that may have brought it back? Did you ever try mass-compiling your project after you followed the steps that I posted? I would give that a try, and see if that helps the issue.
02-05-2013 09:12 AM
I did as you suggested and followed this steps again, this time with the mass compile at the end. I'll monitor to see if the issue returns.