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

New Post: Using ClearScript. WebApplication problem

0
0
andrea_schirru,

thanks so much for the suggestion.

i put in the code and updated your /Dependencies path to my /bin/ClearScript.V8 path.

after this implementing this, i first got the versioning error. this is because the 64bit was throwing the "cannot find" error and then tried loading the 32bit version. this was bad news. what was exciting was that it seemed to be able to find the 32bit version.

so i commented out the try/catch and i'm back to the same error.
  • everything still works on my local machine, in VS and running straight from IIS.
  • i verified that the code is being executed (by attaching to local IIS process)
the one thing i don't understand in your post is the comment about the NuGet version not handling the assembly resolve event. it looks to me like that's being handled by global.asax.cs, not the ClearScript dll.

then again, the paths in the error aren't updating to what's being supplied in the rootPath variable.

for kicks, i turned shadow copying off (which just eliminates the temp directory part of the message)

then i copied the dlls into the bin folder since that's where it seems to want them, and of course this gives me version issues bc of the 32bit one
Could not load file or assembly 'ClearScriptV8-32' or one of its dependencies. An attempt was made to load a program with an incorrect format.
and if i remove the 32bit dlls i get,
Could not load file or assembly 'ClearScriptV8-64.dll' or one of its dependencies. The specified module could not be found.
i'm going to see if i can find the CodePlex versions of the dlls you mentioned and i'll let you know how that works.

brad

Viewing all articles
Browse latest Browse all 2297