Home > Net > Webapi used matlab generated DLL, release to the iis error, in vs2013 running normally
Webapi used matlab generated DLL, release to the iis error, in vs2013 running normally
Time:11-11
Everybody is good, I'm doing a web page, the background is a c # interface used webapi, is one of the functions of the interface by calling the DLL generated by the matlab, and then get a year of a certain type of data, I use the development environment is vs2013, the question now is whether the code is running in the vs2013, which can get the desired results, but I put the webapi published to the IIS, then run the program error: type initializers cause abnormal, I want to ask you, this is how to return a responsibility, how should solve?
CodePudding user response:
IIS Server does not have the Matlab, I guess.
CodePudding user response:
The computer installed the matlab runtime
CodePudding user response:
Look at the iis in the.net framework like you vs2013 environment?
CodePudding user response:
Iis is 4.0.30319, vs2013shi 4.5, but 4.5 not 4.0 upgrade version, don't they the same