When trying to update a device using the DLMS.Director against the AMI, it seems that the director does not post the template id to the controller when updating a device. The TemplateId of the "UpdateDevice" is 0, but the Device.Id is not (!= newDevice).
This throws an exception because of the fk constraint on template.
SQLClient Exception:
: 'The UPDATE statement conflicted with the FOREIGN KEY constraint "FK__GXDevice__Templa__628FA481". The conflict occurred in database "Dev", table "dbo.GXDeviceTemplate", column 'Id'.
You are right and I know the reason for this. There was a modification for one of our clients and it broke the GXDLMSDirector compatibility. This is fixed and the new version is released tomorrow after the testing.
Hi,
Hi,
You are right and I know the reason for this. There was a modification for one of our clients and it broke the GXDLMSDirector compatibility. This is fixed and the new version is released tomorrow after the testing.
BR,
Mikko