11-07-2011 03:13 PM
I am receiving this error message in EventViewer every time I run my application:
LabVIEW information: Error: 404 "Not Found" for "national instruments/ni-rpc/interface/eadfc80d-1e6f-425b-8986-12ccef98f646/ncalrpc", file "c:/program files/national instruments/shared/ni webserver/www/national instruments/ni-rpc/interface/eadfc80d-1e6f-425b-8986-12ccef98f646/ncalrpc": Can't access URL
The folder referenced does not exist. This is a PC based standalone application that should not be trying to reference anything web related. I am using NI-IMAQ (4.5), NI-DAQmx (9.0.2) and NI-Vision (10.1) modules. I do know which module(s) are causing this error.
How do I stop this or fix this?
11-09-2011 12:31 PM
I am also seeing the event view being flooded with the same error message (46 entries in 5 seconds). I have noticed that the log msgs appear shortly after startup.
I am using NI_DAQmx 9.4.0f1
Any help stopping this would be greatly appreciated.
11-18-2011 05:11 PM
Hi John and frozen,
What does your application do? Are you trying to use a web service or using remote front panels at all?
11-24-2011 12:36 PM
I am not using labview at all. I use no web services or remote front panels in my application.
My application is interfacing with locoally connected USB Daq devices. I can't say for sure, but it appears to be linked to when I updated to NI-DAQmx 9.4.0
11-24-2011 01:36 PM
Hi frozen,
Then what application is your code running on, if it is not LabVIEW? Are you using a task in MAX? Did you start to see this issue when you updated to DAQmx 9.4? Also, what is your operating system?
11-25-2011 11:42 AM
Hi REDS,
I am developing in:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1
Specifically, Microsoft Visual C++ 2008 91605-270-5823953-60631
My development computer is a HP EliteBook 8540W Laptop running Windows XP Pro SP3.
I don't look at the event view very often, so I can not tell you exactly when the errors started appearing. Unfortunately, when your getting 20 to 40 errors (in five seconds) two or 3 times a day,it fills up the event view pretty fast.
The error times do not seem to correlate to anything in particular. ie Running my application or rebooting the PC does not seem to prompt the spam of errors. They seemingly appear randomly throughout the day. Sometimes minutes apart, sometimes hours apart.
11-28-2011 11:34 AM
FYI
I have been able to identify the trigger that causes the flood of error messages in the Event View. The error messages appear when a NI USB Daq device is plugged in. Approximately 9 or 10 error msgs per device.
11-28-2011 03:05 PM
Hey Frozen,
We need to try to isolate where this error is popping up from. Is it possible for you to try the following:
1. Navigate to your windows services. On XP, I *believe* the path is Control Panel > Administrative Tools > Services.
2. Open up services, and you should see a bunch of NI stuff on the list. What I'm interested is
NI Application Web Server
NI System Web Server
NI Configuration Manager
NI Device Loader
3. Disable all of these services by right clicking on each name, navigating to properties, and then change the Startup type drop down to "Disabled"
Once you have done that, you need to re-introduce each service one by one to isolate the problem. Enable the device loader, try running, and see if there are pop-ups. If no, enable the configuration manager. If no again, enable the system web server. If still no pop-ups, then enable the application web server. Hopefully this will give us more info.
Let me know what happens.
Courtney L.
Applications Engineer
National Instruments
11-29-2011 12:03 PM
Here are my rather lengthy trouble shooting steps...
- "Ni Application Web server" previously disabled
- inserted NI USB-6216
- 10 new error entries in Event Viewer
- enabled "Ni Application Web server" (Daq still plugged in)
- removed and re-inserted NI USB-6216
- no new entries in Event Viewer
- disable and stop "Ni Application Web server" (Daq still plugged in)
- removed and re-inserted NI USB-6216
- no new entries in Event Viewer
- removed NI USB-6216
- rebooted computer
- inserted NI USB-6216
- run test panel
- no new entries in Event Viewer
- removed NI USB-6216
- Open MAX and remove all Ni-Daq USB devices (right click, delete)
- insert NI USB-6216
- no new entries in Event Viewer
I then ran around the building looking for "new" USB Daq devices. Tried several devices without any new entries in the event viewer.
Finally found a NI-USB-6008 that prompted Window's new-hardware-wizard to run. Sure enough, 9 new error messages in the event viewer. Removed and re-inserted the Daq, no new-hardware detected and no new error messages in the event viewer.
Opened Device manager with show-hidden devices. Navigated to "Data Acquisition Devices", right-clicked and removed all USB-XXXX devices (left the three "USB Firmware Loader" installed)
- inserted USB device, window's new hardware activated, but no new event view errors
- tried a different USB device, window's new hardware activated, but no new event view errors
- uninstalled NI Daq USB devices from Device manager, and all three "USB Firmware Loader" devices
- still no new event viewer error messages
At this point, I cannot reliably reproduce the problem any longer. However, for completeness, I followed your suggested trouble shooting steps...
Disabled and stopped the following services in the order listed:
-- NI Application Web Server
--- already stopped and disabled
--NI System Web Server
--- Warning window popped up saying that "NI Network Discovery", "NI Device Loader" and "National Instruments mDNS Responder Service" will also stop.
--- Pressed OK
--NI Configuration Manager
--NI Device Loader
--- Already stopped from previous step. Disabled now too
"Once you have done that, you need to re-introduce each service one by one"
- Enable the device loader
-- Error windows pops up "Could not start the NI Device Loader service on Local Computer\n Error 1068: The dependency service of group failed to start."
-- nothing to try
- enable the configuration manager
-- no new Event Viewer error msgs when USB devices inserted
-- Application fails to run (Daq devices are not detected)
- enable the system web server
-- Enabled the "device loader" service as well
-- no new Event Viewer error msgs when USB devices inserted
-- Application produces no new Event Viewer error msgs
- enable the application web server
-- no new Event Viewer error msgs when USB devices inserted
-- Application produces no new Event Viewer error msgs
- rebooted computer
- verified all 4 services running
- inserted USB Daq devices
-- no new Event Viewer error msgs when USB device inserted
-- Application produces no new Event Viewer error msgs
Hopefully you can pick out some useful information from that jumble.
11-30-2011 11:47 AM
Hey Frozen,
So when you enable all of the services I listed, it works OK and without errors? Is that correct? Or are you still experiencing problems with it?