Skip to content

GetMethodImpl. not support overloads after MSSQL server upgrade #762

Open
@halcwb

Description

@halcwb

Describe the bug
Existing code ran without problems. Then the database was moved to a new MSSQL server. There was an upgrade from 2012 to 2019. However, after adjusting the connection string, the problem started with 2 tables: LocalTranslation and LocalTranslation_, so the same table with an underscore. These tables existed on the previous server (2012), but then didn't cause a problem. but know:

GetMethodImpl. not support overloads, name = 'get_LocalTranslation', methods - '[|Method get_LocalTranslation; Method get_LocalTranslation|]'

So, the entire database was just moved, not changed! And the same code with the connection string to the old server compiled, but doesn't compile with the exact same database, only on MSSQL 2019.

To Reproduce
Steps to reproduce the behavior:
Difficult to reproduce. This happened on hospital owned servers.

Expected behavior
Be able to resolve the tables LocalTranslation and LocalTranslation_ as before.

Screenshots
N/A

Desktop (please complete the following information):
.NET SDK (reflecting any global.json):
Version: 6.0.101
Commit: ef49f6213a

Runtime Environment:
OS Name: Windows
OS Version: 10.0.19044
OS Platform: Windows
RID: win10-x64
Base Path: C:\Program Files\dotnet\sdk\6.0.101\

Host (useful for support):
Version: 6.0.1
Commit: 3a25a7f1cc

.NET SDKs installed:
5.0.200-preview.21077.7 [C:\Program Files\dotnet\sdk]
5.0.201 [C:\Program Files\dotnet\sdk]
5.0.202 [C:\Program Files\dotnet\sdk]
5.0.404 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]

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