Invalid object name 'sys.login_token'
See original GitHub issueHi,
I get that error on my Azure Sql Server Database on creation of the tableDependency instance.
Exception:
{System.Data.SqlClient.SqlException (0x80131904): Invalid object name ‘sys.login_token’. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action
1 wrapCloseInAction) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() at System.Data.SqlClient.SqlDataReader.get_MetaData() at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds) at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior) at TableDependency.SqlClient.SqlTableDependency
1.CheckIfUserHasPermissions(String connectionString) at TableDependency.TableDependency1..ctor(String connectionString, String tableName, IModelToTableMapper
1 mapper, IUpdateOfModel`1 updateOf, ITableDependencyFilter filter, DmlTriggerType dmlTriggerType, Boolean executeUserPermissionCheck) at SignalRCore.Web.Hubs.InventoryDatabaseSubscription.Configure(String connectionString) in C:\Source\VSTS\SignalR-Core-SqlTableDependency\src\SignalRCore.Web\Hubs\InventoryDatabaseSubscription.cs:line 32 ClientConnectionId:cdf7e9e8-2617-4775-b22d-65116017cdbe Error Number:208,State:1,Class:16}
The sample is from there: https://github.com/vany0114/SignalR-Core-SqlTableDependency I reported the issue there , too. Because I don’t know he is responsible for that error.
Thanks for your help in advance best Eric
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top GitHub Comments
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
making executeUserPermissionCheck = false I get later a different exception in Azure: Statement ‘CREATE MSGTYPE’ is not supported in this version of SQL Server