필터 지우기
필터 지우기

Running standalone compiled application on windows server 2008 sometimes throws missing MCR error

조회 수: 1 (최근 30일)
I have created a standalone application MyApp using mcc on a Windows XP 32-bit machine, and deployed it on three other machines:
A. Windows XP 32-bit B. Windows 7 64-bit C. Windows Server 2008 R2
The application runs on A and B, but not on C. I get the error
Could not find version x of this MCR. Attempting to load y.dll Please install the correct version of the MCR. Contact your vendor if you do not have an installer for the MCR.
I have been trying to find the error by building small test applications calling matlab functions that are used by MyApp, but so far all the test apps are running just fine. This indicates that the MCR is in fact installed.
Any ideas for how to proceed here?

답변 (1개)

daffodil software
daffodil software 2024년 4월 12일
I also faced same issues with these two pages offshore development company and emr/ehr integration services, The "missing MCR error" when running a standalone compiled application on Windows Server 2008 indicates that the MATLAB Compiler Runtime (MCR) required for the application to run is not installed, not correctly installed, or not found by the application.
To resolve this issue:
1. Install MCR: Ensure that the correct version of MCR that matches the version used to compile the application is installed on the server.
2. Check Environment Variables: Verify that the MCR installation path is included in the system's PATH environment variable so that the application can locate the runtime.
3. Correct Version: Make sure you are using the MCR version compatible with the version of MATLAB used to compile the application and that it's suitable for the server's architecture (32-bit or 64-bit).
4. Admin Rights: Install MCR with administrative privileges to avoid permission issues that could prevent the application from accessing the runtime.
5. Reinstall MCR: If MCR is installed but not recognized, try reinstalling it to fix any corrupted files or registry settings.
6. Update Windows Server: Ensure Windows Server 2008 is updated with the latest service packs and patches, as compatibility issues may arise with outdated systems.
If these steps do not resolve the error, you may need to contact MathWorks support for further assistance.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by