Skip to content

Unhandled Execution Error #31

Open

Description

@ttctilsted

Hi

I am randomly getting this error on a Hello World example-code on a "clean" asp.net project.
The error happens very randomly, with no apparent pattern.
I am using this nuget package:
<package id="Noesis.Javascript" version="0.7.1.0" targetFramework="net471" />

1

This is the code:

2

App pool settings:

4

C++ installations:

3

If the site starts up without the error, it is able to run like that for a long time. Therefore i created a Powershell script to better provoke the error:

5

The script will continuously do an issreset and then call the page. The result is about 50/50 chance of getting a 200 statuscode back and getting the error back.

Activity

  1. oliverbock commented on Nov 20, 2017

    @oliverbock
    Contributor

    I suspect that this is a cross-threading issue. Try creating your context for each request.

  2. ttctilsted commented on Nov 20, 2017

    @ttctilsted
    Author

    Thank you for your response.

    However i am creating my context for each request. The Page_Load method will run for each request.

  3. ttctilsted commented on Nov 20, 2017

    @ttctilsted
    Author

    With some further testing i have found that this only happens when i use the x64 version of Noesis.Javascript.dll.
    When i switch to x86 and set "Enable 32-bit Applications" to True in the App pool, i do not get the error.
    This is not a fix for me, as i need to be able to run x64.

  4. oliverbock commented on Jan 17, 2018

    @oliverbock
    Contributor

    While I don't have a build/nuget package available yet, I have upgraded to a recent version of V8 and build using VS 2017, so it might be worth retesting this. (Building JavaScript.Net is now easy because we get V8 from nuget.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions