Open MonkeyJumps opened 8 years ago
Ditto
Does this also happen to you in production or only when you are recompiling?
I also have had this problem, and because of it haven't dared to deploy to production. But what did solve it for me was changing the user running the ApplicationPool from a local user to ApplicationPoolIdentity.
@Zache what did you use as an alternative to Edge?
Note: this may be related to https://github.com/tjanczuk/edge/issues/383
@MonkeyJumps nothing, we wanted it for server-side rendering of React but just had to manage without.
@Zache Have you looked at ReactJs.Net? I started with that but then moved to Edge, but now am at a fork whether to go back, proceed or like you remove Edge.
@tjanczuk what are the secondary effects of this error? How do you suggest I proceed?
This example of using Edge is pretty standard. I took it from the Edge site.
@MonkeyJumps I've been using reactjs.net for several months and am now looking at edge. Rjn is pretty stable but we've been getting performance issues with it (it adds about 100-150 ms per request if you turn off engine pooling, but with pooling it has memory management issues).
I also encountered this problem, it encountered in the asp.net mvc, I indirectly through a console program calls the edge, to circumvent the AccessViolationException, I wrote a demo, if you want to know, can see EdgeJsDemo. Of course, the hope is that author can fundamentally solve the problem.
The fix requires https://github.com/tjanczuk/edge/pull/573, I have merged it to my fork at https://github.com/agracio/edge-js, take a look at https://github.com/tjanczuk/edge/issues/586 for reference.
It happens in my following Asp.Net MVC 5 Controller class.