2017-07-09 20 views
0

に取り組んでいないのVisual Studio 2015Matlabの2015Ra、IISのWindows 10、の.NET Framework 4.5.2。 Matlab 2015Ra,IIS、Visual Studio 2015はWindows 10 64ビットで64ビットです。私はネットアセンブリまたは.dllとしてコンパイルされたmatlabスクリプトを持っています。私はIISに展開していますが、このスクリーンショットエラーメッセージでmatlabコードを実行できません。 enter image description hereMATLABスクリプトは、私が使用しているIIS

エラー:

The MATLAB runtime instance could not be initialized 
segv - SEVERE ERROR 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.ApplicationException: The MATLAB runtime instance could not be initialized 
segv - SEVERE ERROR 

完全なスタックトレース:

[ApplicationException: The MATLAB runtime instance could not be initialized 
segv - SEVERE ERROR] 
    MathWorks.MATLAB.NET.Utility.MWMCR..ctor(String componentId, String componentPath, Stream embeddedCtfStream, Boolean isLibrary) +282 

[Exception: The MATLAB runtime instance could not be initialized] 
    MathWorks.MATLAB.NET.Utility.MWMCR..ctor(String componentId, String componentPath, Stream embeddedCtfStream, Boolean isLibrary) +736 
    get_matrix_svd.matrix_svd..cctor() +375 

[Exception: MWArray assembly failed to be initialized] 
    get_matrix_svd.matrix_svd..ctor() +43 
    sistem_elearning.LatentSemanticAnalysisScore.execute() in C:\tugas\sistem_elearning\sistem_elearning\LatentSemanticAnalysisScore.cs:199 
    sistem_elearning.takeexam.btnSubmit_Click(Object sender, EventArgs e) in C:\tugas\sistem_elearning\sistem_elearning\takeexam.aspx.cs:139 
    System.Web.UI.WebControls.Button.OnClick(EventArgs e) +11802037 
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +150 
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1735 

このエラーが起こった、私はどうもありがとう、あなたのおかげでなければなりません、このエラーを探してfrustatedなぜ誰かが私を助けて感謝。

答えて

0

私は2つの提案を持っている:チェック)

1)は、サーバOSやIISのバージョンは64ビットのあなたのVS 2015

2のようにもなっていることを確認しているMATLABコンパイラのランタイム( 'MCR') MATLABと同じバージョンでなければなりません。

関連する問題