Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Azure Mobile Services Cannot Load V8 Interface Assembly

$
0
0
Got same problem on IIS 8.5.
  1. It is working on local IIS 7.5 (Windows 7)
  2. Before I put AssemblyResolve code I got an Exception from "at Microsoft.ClearScript.V8.V8Proxy.LoadAssembly()" and for ClearScriptV8, that sound like LoadNativeLibrary code was executed succesfully.
  3. After adding AssemblyResolve, I now got an Exception from "at Microsoft.ClearScript.V8.V8Proxy.LoadNativeLibrary()" with
Cannot load V8 interface assembly. Load failure information for v8-x64.dll: C:\Websites\beta.lawfirm.org.ua\bin\v8-x64.dll: The specified module could not be found C:\Websites\beta.lawfirm.org.ua\v8-x64.dll: The specified module could not be found
I am using this code for AssemblyResolving
var rootPath = HostingEnvironment.MapPath("/Dependencies");
if (args.Name.Contains("ClearScript"))
{
     return Assembly.LoadFrom(Path.Combine(rootPath, "ClearScriptV8-64.dll"));
}
As you see all libs are in Dependencies folder. While v8 is not requested to AssemblyResolver, ClearScriptV8. If I put v8 into root folder, error is the same.

AppDomain.CurrentDomain.BaseDirectory -> "C:\Websites\beta.lawfirm.org.ua\"
AppDomain.CurrentDomain.RelativeSearchPath -> "C:\Websites\beta.lawfirm.org.ua\bin"

Viewing all articles
Browse latest Browse all 2297

Latest Images

Trending Articles





Latest Images