Logg på med Microsoft
Logg på, eller opprett en konto.
Hei,
Velg en annen konto.
Du har flere kontoer
Velg kontoen du vil logge på med.
Engelsk
Beklager. Denne artikkelen er ikke tilgjengelig på språket ditt.

Symptoms

Assume that you use in-memory transactions together with the sp_getapplock system stored procedure in Microsoft SQL Server 2016 or 2017. If you enable server auditing on the SCHEMA_OBJECT_ACCESS_GROUP server-level audit action group, you receive a "Msg 41317" error message that resembles following:

Msg 41317, Level 16, State 4, Line LineNumber
A user transaction that accesses memory optimized tables or natively compiled modules cannot access more than one user database or databases model and msdb, and it cannot write to master.

Resolution

This problem is fixed in the following cumulative updates for SQL Server:

Cumulative Update 13 for SQL Server 2017

Cumulative Update 3 for SQL Server 2016 Service Pack 2

Note: This update also resolves an issue where an unresolved deadlock is seen when create schema command is executed by a user that does not have permissions to create a schema in the database and if SCHEMA_OBJECT_ACCESS_GROUP and SCHEMA_OBJECT_CHANGE_GROUP are enabled in database audit specification.

About SQL Server builds

Each new build for SQL Server 2016 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest cumulative update for SQL Server:

Latest cumulative update for SQL Server 2017

the latest build for SQL Server 2016

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology Microsoft uses to describe software updates.

Trenger du mer hjelp?

Vil du ha flere alternativer?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Var denne informasjonen nyttig?

Hva påvirket opplevelsen din?
Når du trykker på Send inn, blir tilbakemeldingen brukt til å forbedre Microsoft-produkter og -tjenester. IT-administratoren kan samle inn disse dataene. Personvernerklæring.

Takk for tilbakemeldingen!

×