09-14-2009 04:40 AM
Hi and thanks for input,
You will probably end up with a working WEB server Vincent, I did.
Constructing a new project under LV2009 made my CRIO webserver run without any problem.
I inspected the niwebserver.conf file and found that it was completely different for my new "testproject" in comparison to the conf file deployed for my "upgraded" project.
It seems that LV2009 don't uppgrade the niwebserver.conf file correctly from earlier version projects.
My current solution is to overwrite the faulty niwebserver.conf file (that is deployed each time I rebuild my project) with the working one that was generated constructing a new project in LV2009.
Another problem found after uppgrade to LV2009 was that a VI working on the cRIO filesystem stopped working due to a path that had become faulty.
In addition setting the working folder for the webserver seems strange (\:\:\ni-rt\system\ww or C:/\ni-rt\.......).
The VxWorks based cRIO seems to work with a Unix like file system, why can't we just use / meaning root in the same manner as the File Transfer client in MAX?
-Jan-
09-14-2009 06:19 AM
09-14-2009 10:12 AM
Vincent-
The LabVIEW Webserver component should be part of LabVIEW RT. It was only mentioned that the upgrade was from NI-RIO 3.1 to NI-RIO 3.2.1 and LabVIEW 2009. To help us isolate what component didn't update correctly, LabVIEW RT or NI-RIO, I wanted to verify that you had also included a LabVIEW upgrade. What version of LabVIEW were you using with NI-RIO 3.1 prior to the upgrade? Thank you for your help and sorry for any inconvenience.
Regards,
John Harvey
CompactRIO Product Support Engineer
09-15-2009 01:55 AM
09-15-2009 09:47 AM
Vincent-
That does help. I just wanted to confirm this behavior was something we were aware of and working to fix. There is a CAR (Corrective Action Request) already assigned to R&D for this issue.
Regards,
John
10-22-2009 02:51 PM
11-03-2009 05:24 AM
I have same issue. Please post link to CAR info and/or workaround.
Svein
11-05-2009 08:18 AM
Dear All,
I found a workaround to fix an upgraded project once and for all, at least it works for me.
The niwebserver.conf file is defined inside the lvproj file as property
<Property Name="target.WebServer.Config" Type="Str"># Web server configuration file.
---
---
AddHandler copyHandler
DirectoryIndex index.htm
KeepAlive on
KeepAliveTimeout 60
</Property>
Copy the contents of the key in the natively created (in LV2009) project and replace the contents of the key in the upgraded lvproj file.
11-06-2009 01:37 PM
Svein-
The CAR is 166503 if you want to check back with us later and find out if it was fixed.
There were several workarounds written in this forum thread. Are you still unable to get this working?
-John
11-08-2009 04:40 AM
John,
I have not been able to resolve my problems. I found that I have problem also with new project/VI, so I may experience another issue.
I have discovered that I can view the "default" page on the cRIO web server, but when I try to view "my" VI the cRIO crashes/restarts (the yellow status light comes on for a while), but it is not in an OK state, as I have to reboot it again before I can access it. I have contacted NI support to resolve this, so I suggest not to follow up this in this thread.
Svein