Why do I get the error "MATLAB Web App Server files not found. Verify that MATLAB Runtime appears before any installed version of MATLAB" while starting Web App Server?

23 views (last 30 days)
I have installed Web App Server after following the instructions given on documentation.
When I try to start Web App Server server executable, I receive the error,
"MATLAB Web App Server files not found. Verify that MATLAB Runtime appears before any installed version of MATLAB".
 
How can I fix this issue?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 23 Jan 2026 at 0:00
Edited: MathWorks Support Team on 23 Jan 2026 at 14:10
This error is thrown when MATLAB Web App Server could not find the required files for the following reasons:
  • A supported version of  MCR is either not installed
  • A supported version of MCR is not added to Windows PATH system environment variable before any installed version of  MATLAB.
To resolve this issue, make sure you have installed the correct version of MCR and added the MCR folder location to PATH environment variable so that it is listed before any other MATLAB/MCR folder paths. An example of the default location would be:
C:\Program Files\MATLAB\MATLAB Runtime\v94\runtime\win64
Once you change the PATH, MATLAB Web App Server will pick up the necessary files from MATLAB Compiler to function as expected.
If you are on Windows 11 version 24H2 and seeing the same error message with a different title such as the following ("The "wmic" command was not found..."):
Older versions of the development version of MATLAB Web App Server rely on WMIC, which is no longer shipped by default in this Windows release. There are two options to work around this:

More Answers (1)

xingxingcui
xingxingcui on 23 Apr 2019
Edited: xingxingcui on 27 Apr 2024
By following the above, my environment variable is set as shown Figure,but it does't work! same error ? my matlab release 2019a
-------------------------Off-topic interlude, 2024-------------------------------
I am currently looking for a job in the field of CV algorithm development, based in Shenzhen, Guangdong, China,or a remote support position. I would be very grateful if anyone is willing to offer me a job or make a recommendation. My preliminary resume can be found at: https://cuixing158.github.io/about/ . Thank you!
Email: cuixingxing150@gmail.com

Categories

Find more on MATLAB Web App Server in Help Center and File Exchange

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!