none
U-SQL E_RUNTIME_SYSTEM_CODEGENFAILURE error

    Question

  • Hello,

    I tried to submit a U-SQL script via Visual Studio 2017.

    but i get the following error:

    E_RUNTIME_SYSTEM_CODEGENFAILURE	Unable to cast object of type 'Microsoft.Analytics.Roslyn.CS45.CodeGen.RoslynNativeExpression' to type 'Microsoft.Analytics.Roslyn.CS45.RoslynSimpleName'...

    This is the output logs:

    2018-11-26 03:01:34 [Info] Preparing script Script.usql for job submission...
    2018-11-26 03:01:34 [Info] Validating script syntax: Script.usql...
    2018-11-26 03:01:36 [Info] Script syntax validation result: Succeeded
    2018-11-26 03:01:36 [Info] Submitting 'Script.usql'...
    2018-11-26 03:01:37 [Info] 'Script.usql' submitted successfully to '*****'. Job name: Script (Id: 3caad198-0004-47a4-a300-add01bf9a5d5)
    2018-11-26 03:01:37 [Info] Job preparing... 0 seconds elapsed.
    2018-11-26 03:01:48 [Info] Job preparing... 11 seconds elapsed.
    2018-11-26 03:01:58 [Error] Job failed due to error(s).
    2018-11-26 03:01:58 [Error] Job error: E_RUNTIME_SYSTEM_CODEGENFAILURE - Unable to cast object of type 'Microsoft.Analytics.Roslyn.CS45.CodeGen.RoslynNativeExpression' to type 'Microsoft.Analytics.Roslyn.CS45.RoslynSimpleName'.

    Where should i look in order to fix this bug?

    Other scripts are working.

    I created new Data Analytics project and copied the code into a new file and it is still not working.

    Thanks in advance.


    • Edited by Dor Meiri Wednesday, May 15, 2019 6:30 AM
    Monday, November 26, 2018 1:11 PM

Answers