Comments (9)
Hello, Dmitry!
In Windows 10 it seems to work.
I think, that if you switch to the ChakraIeJsRt
mode, you will get the same error as in Windows 8.
I realize it's not much info to debug this - if I can do something to get more info, let me know.
I need a full error message with stack trace.
from msiejavascriptengine.
Andrey,
Can you please point me to how I can switch it to the ChakraIeJsRt mode? And how can I get stack trace - VS does not show anything for this exception except [External Code]. Will I need a build of the library with debug info?
Sorry I'm new to this.
from msiejavascriptengine.
Can you please point me to how I can switch it to the ChakraIeJsRt mode?
See the “Registration of JS engines” and “JS Engine Switcher: MSIE” sections of documentation.
And how can I get stack trace - VS does not show anything for this exception except [External Code].
Just copy the full text of error message.
Will I need a build of the library with debug info?
No.
from msiejavascriptengine.
Here's what I found:
ChakraIeJsRt on Win 10: still works, no crash
ChakraActiveScript or Auto on Win 8: crash, anything below that (Classic) doesn't work (can't find entry points or something), anything above (ChakraIeJsRt, ChakraEdgeJsRt) doesn't work (can't load DLL).
This is Win 8, not 8.1, so MSIE is version 10, not 11 and cannot be upgraded without upgrading windows which I can't do at the time.
Stack trace: can't see how I can get it, copying just gives what I quoted above:
System.AccessViolationException was unhandled
Message: An unhandled exception of type 'System.AccessViolationException' occurred in MsieJavaScriptEngine.dll
Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
See screenshot:
Sorry for the trouble, I know it's no fun hunting down ancient microsoft stuff, but if you could maybe guess up a fix I would really appreciate that.
from msiejavascriptengine.
ChakraActiveScript or Auto on Win 8: crash, anything below that (Classic) doesn't work (can't find entry points or something), …
Check the C:\Windows\System32
directory on existence of the following assemblies: jscript.dll
and jscript9.dll
.
from msiejavascriptengine.
Directory of C:\Windows\System32
12/14/2015 08:00 PM 857,600 jscript.dll
12/14/2015 08:00 PM 3,805,696 jscript9.dll
2 File(s) 4,663,296 bytes
from msiejavascriptengine.
I tested the MSIE JavaScript Engine version 2.2.5 on Windows 8 x64 (Build 9200) by using the TestMsieModes console application. Everything is working correctly.
from msiejavascriptengine.
OK, I finally made it work in Classic mode, it was just a matter of some unsupported stuff in LESS processing, after simplifying it now works. Thanks!
from msiejavascriptengine.
OK, I finally made it work in Classic mode, …
It is strange, that the ChakraActiveScript
mode does not work with Internet Explorer 10. It is possible, that your operating system has errors in the registry.
… it was just a matter of some unsupported stuff in LESS processing, after simplifying it now works. Thanks!
I do not recommend you to use the Classic
mode to work with the BundleTransformer.Less, because it is slow and sooner or later can cause stack overflow.
Better install the JavaScriptEngineSwitcher.ChakraCore. You will not be able to debug scripts, but you will get a high-performance analog of the ChakraEdgeJsRt
mode. Just do not forget to install the Visual C++ Redistributable for Visual Studio 2015.
from msiejavascriptengine.
Related Issues (17)
- Parsing JSLint HOT 2
- Async/Await / Promises support HOT 6
- Движок имеет ограничение на количество include файлов в Less HOT 6
- AccessViolationException HOT 7
- Anonymous Host Objects HOT 1
- What's the purpose of using MsieJavaScriptEngine? HOT 3
- Error in DateTime? type. HOT 4
- Block finalizer solved? HOT 8
- Documentation? HOT 10
- execute code from different threads HOT 6
- Binaries in source folders HOT 5
- Pass in JavaScript object reference to CallFunction HOT 2
- JsEngineLoadException: During loading of MSIE JavaScript engine error has occurred. HOT 11
- "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." HOT 21
- How to get data back from JS to C#? HOT 1
- Engine is crashing after Windows 10 anniversary update HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msiejavascriptengine.