Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

CSI Webserver question


LeifJ Jan 17, 2013 11:37 AM

Hello,

I have a question regarding data when I'm publishing a project with the CSI Webserver.

If I use a File Data Source from a *.dat file in a RTMC project and publish it, that value is not shown in the published website. It is shown correctly in Run-time but on the website I only get the yellow warning sign.
Note that values from a datalogger source has no problems.

Is this something that I can get to work?


Cheers,

LJ


jtrauntvein Jan 18, 2013 11:52 PM

If your web server is running on a different host machine than the one from which you developed your RTMC project, that may be sufficient to explain the difference. The publisher specifies the exact path to data file(s) as you specified in your project when you set up the data source(s). It follows that, in order to work, the web server is going to need to exact the file(s) using the exact same path.

If the data file(s) are being accessed across a network share on your windows domain, things are more complicated. The web server, by default, installs itself to run as a windows service using the built in "NETWORK SERVICE" account on the host computer. This account is machine local and will not have the same access rights that your user account is assigned. In order to reconcile this type of difference, you may need to edit the service for CsiWebServer. Do the following to do this:

- Right click on your computer icon and select "Manage"
- Expand "Services and Applications"
- Click on "Services"
- Select "Campbell Scientific Web Server", right click, and choose "Properties"
- Select the "Log On" tab in the resulting dialogue
- Specify the account name and password for the account under which the service is to run

Naturally, these prompts will be different in Faroese but I hope that you will get the general idea.

There is one final wrinkle if your project is trying to load files from a mapped network drive. These mappings are associated with your account and, unfortunately, are not created for services that use that account. The result is that your project will have to specify the UNC equivalent paths. This is something of the form:

\\myserver\myshare\loggernet\cr1000_one_hour.dat

where \\myserver\myshare replace the mapped drive letter.

I have done a great deal of guessing what might have happened and I might be entirely wrong (my wife affirms this to be generally true). You might be able to get a better idea of what is going on in the web server by enabling and examining its log files. I hope this helps.

Regards,

Jon Trauntvein

* Last updated by: jtrauntvein on 1/18/2013 @ 5:03 PM *


LeifJ Jan 21, 2013 10:17 AM

Hi Jon,

Thank you for your reply and suggestions.

The data files are located on the same machine as the CSI WebServer and LoggerNet. I did develop the project on a different machine, but I set up the paths to the data sources on the WebServer machine.

I'll look into and examine the log files and see if I can find anything.

Thank you,

Regards,

Leif Johannesen


LeifJ Jan 23, 2013 02:11 PM

Hi,

I'm still having trouble with this.
Could it be that the data files are not in the original CSI folder on the drive?
I have checked all the paths and all are correct, but the files are stored on a custom folder on the machine.

I have for example tried to use a virtual data source and that works fine.

Regards,

Log in or register to post/reply in the forum.