July 13Jul 13 Hi, I am using your WebAPI to serve FMS screens for my MSFS2024 aircraft. AAO ver: 4.58 b02Download used: https://www.axisandohs.com/downloads.html fmcs.zipLocation of unzipped aircraft files: C:\Users\<username>\OneDrive\Documents\LorbyAxisAndOhs Files\WebPagesAll of the aircraft FMS Bezels are correctly served and the buttons work correctly to operate the in-Sim FMS, but the actual FMS screen is not displayed in the served page for any of the aircraft. So good 2-way communication to the remote page is proven.Console errors for all the served pages show a similar error, (example is the c750): GET http://localhost:43380/webapi/c750/global.js net::ERR_ABORTED 404 (File not found) Refused to execute script from 'http://localhost:43380/webapi/c750/global.js' because its MIME type ('') is not executable, and strict MIME type checking is enabled. Uncaught ReferenceError: raltdown is not definedSo at least one problem is the runtime global.js is not found. It isn't included in any of the downloads and isn't being generated on the fly by the core executable. I hope you can you help me solve this problem.Thanks in advance, an otherwise avid AAO user!
July 13Jul 13 Commercial Member If those are the Vol.2 FMCs, then they have been installed incorrectly. You must keep the structure \Documents\LorbyAxisAndOhs Files\WebPages\fmcs\... intact, with the URL /webapi/fmcs/c750/. The global.js is in the top folder "/fmcs/"On a side note, AAO can be in trouble when you are outsourcing your user account data to OneDrive - like you seem to be doing according to the path that you posted above. Edited July 13Jul 13 by Lorby_SI LORBY-SI
July 13Jul 13 Author Thanks so much for the quick reply, that fixed it. If Windows is installed using a Microsoft account, which I think is most users, OneDrive is automatically created, and the default Windows ...\Documents\ folder is placed there both locally and in the cloud. If AAO can only use the windows default ...\Documents\ directory this will be the case for many if not most Windows users these days. But if you can let me know how to control where AAO looks for \Documents\LorbyAxisAndOhs Files\*.* I'll happily move everything.
July 13Jul 13 Commercial Member It is what it is. Files in the cloud aren't files at all, they are just download links. So if you store all your \Documents\ only in the cloud, then AAO will not be able to use that folder. It will instead (automatically) use its' configuration folder in \AppData\Local\LORBY_SI\ Edited July 13Jul 13 by Lorby_SI LORBY-SI
July 14Jul 14 7 hours ago, Nigelas said:Microsoft account, which I think is most users,Never have never will for just such reasons!
Create an account or sign in to comment