tjanczuk / edge

Run .NET and Node.js code in-process on Windows, MacOS, and Linux
http://tjanczuk.github.io/edge
Other
5.41k stars 639 forks source link

ASP.NET & IIS #208

Open mauriciogentile opened 9 years ago

mauriciogentile commented 9 years ago

No error in the Event Viewer after application crashes on ASP.NET over IIS. No Exception thrown in debugging mode (VS 2012), only this output:

The program '[10480] w3wp.exe: Managed (v4.0.30319)' has exited with code 8 (0x8).

Environment:

Reproduced in two machines with similar configurations, same issue, no clue. Works fine with app console.

I'd appreciate any guidance on this.

Thanks!

bcanzanella commented 9 years ago

This sounds a lot like an issue I was having here https://github.com/tjanczuk/edge/issues/178

It turned out to be a permissions issue with node. With the help of @tjanczuk I finally figured out what was going on here https://github.com/tjanczuk/edge/issues/178#issuecomment-53918708

mauriciogentile commented 9 years ago

We ended up trying other libraries like Jurassic, ClearScript (MS) and other called IronJS. Finally Jurassic won the race (after a couple performance and usability tests). All of them were fair enough for running our js code inside .NET (that was the ultimate goal). I was really enthusiastic about adopting EdjeJS as THE library but these issues destroyed any expectation for real code implementations. I thing it needs a little bit more of empiric usage to really be a "way-to-go". Thanks for your answer though :)

asednev commented 9 years ago

I ran into similar issue and after extensive troubleshooting I discovered this was related to https://github.com/tjanczuk/edge/issues/247. Installing VC++ Redist for VS 2013 on web server solved the problem.