LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Trouble with DOMUserDefRef.dll

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.

 

0 Kudos
Message 1 of 12
(3,759 Views)

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!

David S.
0 Kudos
Message 2 of 12
(3,739 Views)

I cannot access that page you linked. It said I don't have permissions to view that.

0 Kudos
Message 3 of 12
(3,738 Views)

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.

David S.
0 Kudos
Message 4 of 12
(3,721 Views)

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.

0 Kudos
Message 5 of 12
(3,705 Views)

Hi Thutch,

 

I would think mass-compiling your projects directory should do the trick. Give that a try, and let us know your results.

David S.
0 Kudos
Message 6 of 12
(3,690 Views)

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. 

0 Kudos
Message 7 of 12
(3,688 Views)

The problem is back. Extremely annoying. It went away for a while.

0 Kudos
Message 8 of 12
(3,665 Views)

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.

David S.
0 Kudos
Message 9 of 12
(3,649 Views)

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.

0 Kudos
Message 10 of 12
(3,628 Views)