Quantcast
Channel: clearscript Discussions Rss Feed
Viewing all 1449 articles
Browse latest View live

New Post: IIS Express is OK . But in IIS 7.5 error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
IIS Express 8 ======== > OK
IIS 7.5 (Win 7) ======= > Error

Why?

By way of testing , I created a simple project in Visual .

1 ) Added new " Web Application " Net 4.5
2 ) Added the " BundleTransformer.Less " package
3 ) Added the " JavaScriptEngineSwitcher.V8 " package
4 ) I created a file . " Less" with a red background in Content Folder .
5 ) Configiurei the BundleTransform to use V8
6 ) And follow the example provided by BundleTranform adiconar to the file " teste.less " for minification .
7 ) Build project using IIS Express

And everything is working perfectly!

Now build the project using IIS 7.5 native

Example :
http://localhost/myproject/

And is showing the error mentioned :

" Can not load assembly V8 interface ; VERIFY The Following files that are installed with your application : ClearScriptV8 - 32.dll , 64.dll ClearScriptV8 - v8 - v8 ia32.dll - x64.dll "

Anyone have any idea why? Associated with some setting in IIS ?

The problem is that the same mistake is going to publish the test on the web server . I resolve the problem locally run on IIS Express , but on the official server has no way ! So if you 're missing some setting in IIS 7.5 ... it must also be done on the server .

Follow the download test project to analyze :
http://www.4shared.com/zip/CArqVNw7ba/BasicTransform.html

New Post: Calling VBScript function by dispatchId

$
0
0
Hi,

How can I cloning scheme with ClearScript?

Thanks

New Post: Calling VBScript function by dispatchId

$
0
0
You can create multiple instances of VBScriptEngine and run the same scripts in them. How does your legacy application do cloning?

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
Hello netdany!

If you're deploying to a server that doesn't have Visual Studio installed, it must have the Visual C++ Redistributable libraries installed. Here are the download links:

Visual Studio 2012
Visual Studio 2013

Be sure to install both the 32-bit and 64-bit packages. The Visual Studio 2012 packages are probably the correct ones for the NuGet packages you're using.

Good luck!

New Post: Calling VBScript function by dispatchId

$
0
0
Legacy application use with the Clone method of the IActiveScript.
Creating new empty VBScriptEngine is not solution, initializing of the new scripter is not simply.

New Post: Calling VBScript function by dispatchId

$
0
0
Ah, very interesting. Your legacy application does some advanced Windows Script hosting!

Engine cloning via IActiveScript::Clone is not something that we've investigated. It does sound like a very powerful capability - one that even the mighty V8 does not currently provide. We will definitely add support for it in a future ClearScript release.

Thank you!

New Post: Problem Calling VBScript Function

$
0
0
The source code for Version 5.3.11 is now up. Cheers!

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
I installed the above file, rebooted the PC and problem persists.

I have already had laying around here installed, Visual Studio 2013.

Remembering that when I access the site with IIS Express is transforming the files correctly.

The error only occurs with the Local IIS and server (smarterasp.net) too.

Any idea, what can this missing?

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
OK, just be sure we have all the correct information:

  • You're building your project with Visual Studio 2013.
  • You're using ClearScript only via NuGet package; you aren't building it.
  • You've installed 32-bit and 64-bit Visual C++ 2012 Redistributable packages (they're separate downloads).
  • You're deploying your project only to your local development machine.
  • Deploying to IIS Express works, but deploying to local IIS fails.
Is all that correct?

By the way, would it be possible for you to share your project on another site? We can't download from the link you provided above.

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
  • You're building your project with Visual Studio 2013. ................ OK, correct!
  • You're using ClearScript only via NuGet package; you aren't building it. .............. OK, correct!
  • You've installed 32-bit and 64-bit Visual C++ 2012 Redistributable packages (they're separate downloads). ............ Ok, correct!
  • You're deploying your project only to your local development machine................... Ok, correct. And I also posted on another server (full trust), to see if the problem was unique to my machine, but the same error occurs in server online.
  • Deploying to IIS Express works, but deploying to local IIS fails. ................... Ok, correct!
Following the project for download. It's pretty basic just one page, I created for testing.

https://clearscriptdany.codeplex.com/SourceControl/latest

Or

http://www.studioz4.com/teste.zip

Any problems let me know.

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
Thanks for sharing your project! We're investigating, and we've reproduced the correct behavior in IIS Express, but so far we're having trouble deploying to IIS. Hopefully we'll have some more info soon.

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
Mysteriously, it worked in version JavaScriptEngineSwitcher.V8 1.1.0 after I installed " Internet Information Services ( IIS ) 7 Manager ".

http://www.microsoft.com/en-us/download/details.aspx?id=2299

I have no idea , that 's because ...

Already version 1.1.1 is also running, but has an error in some projects :
...
"System.IO.FileLoadException: Could not load file or assembly 'ClearScriptV8-32.dll' or one of its dependencies. Access is denied. "
...

However when I publish the project on an online server , nothing works .

In summary :

1 ) Server Online (Windows Server 2012, Net 4.5 and Full Trust):

Version 1.1.0 : ( ... ) " Can not load assembly V8 interface " (For all)
Version 1.1.1 : ( ... ) " Access is denied " . ( For all attempts . For all sites , even for new)

2 ) Locally , with Local IIS ( 7.5 )

Version 1.1.0 : OK , after " Internet Information Services ( IIS ) 7 Manager "
Version 1.1.1 : OK and " Access is denied " in project " Teste "


Note : " Access is denied " , I tried to clean everything: NET temporary files folder , bin and etc. . . Deleted package, reinstalled . Clean and Rebuild . But nothing worked. Another mystery .

New Post: RequireJS

New Post: IIS Express is OK . But in Local IIS error: " Can not load assembly V8 interface ... " . Why ?

$
0
0
Hi netdany,

We reproduced your problem on a local IIS server, but we couldn't debug it because the ClearScript binaries supplied with the JavaScriptEngineSwitcher.V8 package are based on modified sources, and we couldn't swap in our own because the package's main assembly is strongly bound to the packaged version of ClearScript.

We were hoping to get the full source for everything, but it looks like the package has already been updated for ClearScript 5.3.11 and is now leveraging its new V8 assembly loading scheme. We recommend that you take up the remaining permissions issue with the package's owner.

Thanks, and good luck!

New Post: RequireJS

$
0
0
Hello! Yeah, we've also noticed that CodePlex discussions have been flaky lately. Refreshing the page seems to work most of the time.

New Post: vbs error

$
0
0
hello, i have this script:
Public Sub Run()
    clr.System.Windows.Forms.MessageBox.Show("hello world")
End Sub
but clearscript give me the error: Statement completion expected

what is in the script wrong?

New Post: vbs error

$
0
0
There doesn't seem to be anything wrong with the script. The following works in our testing and displays the message box as expected:
using (var engine = new VBScriptEngine())
{
    engine.AddHostObject("clr", new HostTypeCollection("System.Windows.Forms"));
    engine.Execute(@"
        Public Sub Run()
            clr.System.Windows.Forms.MessageBox.Show(""hello world"")
        End Sub
        Run
    ");
}
Could there be a problem with the way you're loading or executing the script?

New Post: Using ClearScript. WebApplication problem

$
0
0
Hi, this time i have the same problem in an iis 7.5 or in other hand:
1) the project is ok in my pc when i have vs 2013 express, iis 7.5 and vs redistribuitable installed (thanks to vs, i suppose)

2) I had tried to install the project in iis 7.5 in another machine but i had this segnalation:
error ==> "Cannot load V8 interface assembly; verify that the following files are installed with your application: ClearScriptV8-32.dll, ClearScriptV8-64.dll, v8-ia32.dll, v8-x64.dll\",\"ExceptionType\":\"System.TypeLoadException\",\"StackTrace\":\" in Microsoft.ClearScript.V8.V8Proxy.GetImplType(Type type)\r\n in Microsoft.ClearScript.V8.V8Proxy.CreateImpl[T](Object[] args)\r\n in Microsoft.ClearScript.V8.V8Runtime..ctor(String name, V8RuntimeConstraints constraints, V8RuntimeFlags flags, Int32 debugPort)\r\n in Microsoft.ClearScript.V8.V8Runtime..ctor(String name, V8RuntimeConstraints constraints, V8RuntimeFlags flags)\r\n in Microsoft.ClearScript.V8.V8ScriptEngine..ctor(V8Runtime runtime, String name, V8RuntimeConstraints constraints, V8ScriptEngineFlags flags, Int32 debugPort)\r\n in Microsoft.ClearScript.V8.V8ScriptEngine..ctor(String name, V8RuntimeConstraints constraints, V8ScriptEngineFlags flags, Int32 debugPort)\r\n in Microsoft.ClearScript.V8.V8ScriptEngine..ctor(String name, V8RuntimeConstraints constraints, V8ScriptEngineFlags flags)\r\n in
Class in this instruction: v8engine = New V8ScriptEngine()

3) i installed the vs 2013 redistribuitable and vs 2012 redistribuitable too and not only i had tried that in two machine: one 32bit like my workstation in point 1) and another one 64bit (when i installed the 64bit of vs 2013 redistribuitable and vs 2012 redistribuitable too and not only the 32bit version), bu NOTHING:
I HAD the above segnalation......

4) what can i do? or what is the difference? (in the other two machines there aren't vs installed but only the vs 2012/2013 redistribuitable tool......) on the other hand i have tried to set this option:
<hostingEnvironment shadowCopyBinAssemblies="false" />
but in my machine (with vs) everithing remain ok, but in ther other machines NO...

5) I have tried to use the tool of export/import application in the iis 7.5 to, i hope, avoid to lost some configuration, but nothing has changed.

Can you help me, please?

Thnaks for all,
Bye.

New Post: Using ClearScript. WebApplication problem

$
0
0
Hi niconico49,

A couple of questions:
  1. Are you still using ClearScript via a NuGet package?
  2. Can you describe exactly how you're deploying your project to the external IIS 7.5 server?
Thanks!
Viewing all 1449 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>