NAV2017 TaskScheduling not work

garakgarak Member Posts: 3,263
Hi,

i've aproblem with the taskscheduling on our NAV2017 CTP25 installation on SQL Server 2014.
The following error is shown in Eventlog:



Server instance: Instance1
Tenant ID: <ii>default</ii>
<ii>Session type: RoleTailoredClient
Session ID: 5
User: USERTEST
Type: Microsoft.Dynamics.Nav.Types.Exceptions.NavSqlException
ErrorNumber: 137
SuppressMessage: False
SuppressExceptionCreatedEvent: False
FatalityScope: None
Message:
<ii>Der folgende SQL-Fehler war nicht erwartet.
Must declare the scalar variable "@tenantid&quot;.
Statement(s) could not be prepared.

SQL-Anweisung:
INSERT INTO [DATABASE].[dbo].[$ndo$taskscheduling] ([id],[tenantid],[not_before],[state],[Server Instance ID],[retries]) VALUES (@id,@tenantid,@notbefore,@state,@serverInstanceId,@retries)

StackTrace:
at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
at System.Environment.get_StackTrace()
at Microsoft.Dynamics.Nav.Runtime.NavSqlConnection.ThrowNavSqlException(SqlExceptionAdapter exceptionAdapter, NavSqlCommand command,

So why he doesn't no the TenantID? But in line 2 he know it ("default")

Regards
Do you make it right, it works too!

Comments

Sign In or Register to comment.