Clearscript files cannot be found on host

后端 未结 6 1990
刺人心
刺人心 2020-12-14 17:21

Like a lot of others I\'m receiving the following error when deploying my ASP.Net MVC application:

Cannot load V8 interface assembly; verify that the

6条回答
  •  借酒劲吻你
    2020-12-14 18:14

    If you're deploying on Windows Server 2012 with IIS role, there are two things you should do to get ClearScriptV8 running:

    1. As @no1sprite pointed out:

    you have to install on the hosting server the Visual C++ Redistributable for Visual Studio 2012 or above: http://www.microsoft.com/en-gb/download/details.aspx?id=30679

    1. Make sure you place ClearScript.dll in website's bin\ folder, and ClearScriptV8-64.dll and v8-x64.dll into bin\ClearScript.V8.

    Optional, for 32-bit applications/platforms:

    1. If you use 32-bit platform, place ClearScriptV8-32.dll and v8-ia32.dll in website's bin\ClearScript.V8\ folder. Also, In IIS Manager, right-click on site's Application pool and select "Advanced settings...". Set property "Enable 32-bit applications" to true.

提交回复
热议问题