I tried my ARS module after quite some time, with the latest version of Ignition 8.1 It uses WebDev module to access HTML pages from my gateway server folders C:\ARS. I am getting “HTTP ERROR 404 Not Found” error while accessing an HTML resources (my project name is ‘ars’ and ‘C:\ARS’ is the path to the mounted folder to WebDev. (see screen shot 1) The file does exist in the specified path (see screen shot 2). This was not happening with previous version. Is there any change in WebDev module in the new version?
One more observation is that the files directly under mounted folder (C:/ARS in this case) are accessible to the webDev module but not the resources under the sub-directories below it !
Similar problem was reported one of the trial users of this module but I couldn’t reproduce it that time (about an year ago!)
The only time I ever get a 404 not found is when there is a scripting error on the page and it fails to compile.
Open each page and look for a little red bar on the right of the scripting panel.
I am convinced now that the WebDev module is not able to access files in the subfolders below the mounted folder! I kept a following simple HTML file systemlist2.html as follows:
Also note that if I keep the systemlist2.html file in C:\ARS , then what ever path I give in URL below C:\ARS, the page is displayed properly, no error given that the URL doesn’t exits! See the screen below:
Request IA to please test this with latest WebDev module! The bug is that WebDev is not able to see anything below the mounted folder (C:\ARS in this case). In fact what ever you enter in the URL below mounted folder, it doesn’t given any error if its able to see the last file name in the mounted folder!
I am noticing this in latest versions of Ignition, earlier it was not happening with initial versions of Ignition 8, with me , perhaps some trial users were facing this issue as they were trying the latest version of Ignition!
How to check that? But If mounted folder has access then folders below will definitely have access!
Another weird thing is if a file name XYZ exists in mounted folder and I give a non existent path below mounted folder in the with XYA as the file name at the end, it loads the XYZ file in browser! Something definitely weird!
Yes all permissions are available to SYSTEM in all folders and subfolders!:
How do you explain the resource name to work properly if its in mounted folder , irrespective of any even non existent subfolders given in the URL! The WebDev just looks at the resource name at the end and searches it in ONLY the mounted (main) folder, not the actual path!