Skip to content

C# Code Extension : Data type not found #56

@vbray1979

Description

@vbray1979

Following the sample (https://github.com/microsoft/sql-server-language-extensions/tree/main/language-extensions/dotnet-core-CSharp/sample/regex), I am getting the error message below:

Msg 39004, Level 16, State 20, Line 1
A 'dotnet' script error occurred during execution of 'sp_execute_external_script' with HRESULT 0x80004004. External script request id is CBDA2919-04A5-44A2-B393-359ED131E3C9.
STDOUT message(s) from external script: 
   at Microsoft.SqlServer.CSharpExtension.Sql.ToManagedDataType(Int16 SQLDataType) in C:\__w\1\s\sql-server-language-extensions\language-extensions\dotnet-core-CSharp\src\managed\utils\Sql.cs:line 106
   at Microsoft.SqlServer.CSharpExtension.CSharpExtension.<>c__DisplayClass10_0.<InitColumn>b__0() in C:\__w\1\s\sql-server-language-extensions\language-extensions\dotnet-core-CSharp\src\managed\CSharpExtension.cs:line 287
   at Microsoft.SqlServer.CSharpExtension.ExceptionUtils.WrapError(Action func) in C:\__w\1\s\sql-server-language-extensions\language-extensions\dotnet-core-CSharp\src\managed\utils\ExceptionUtils.cs:line 35Error: Data type not found.

Any idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions