Upgrading from Spok Mobile 3.5 to 4.6 - Device to Device Paging and Mobile Admin Page Setting Issues
Client was upgraded from 3.5 to 4.6 Spok Mobile version and started experiencing these issues:
- Admin portal was throwing error on clicking save button, as shown below
- Users were not able to send messages from device to device (it was asking for additional authentication to users)
After investigation, we came to know this is the data issue. While upgrading SME, data migration not happened properly because of some reason. So we added missing field ‘contact.service.api.url’ in Configuration_Info, using below query.
USE [AmcomAmcPremiseCore] DECLARE @CONFIGURATION_ID_DEFAULT_DEVICE_CONFIG UNIQUEIDENTIFIER IF NOT EXISTS (SELECT ID FROM [dbo].[CONFIGURATION] WHERE OBJECT_TYPE_ID = @OBJECT_TYPE_ID_DEVICE AND NAME = 'Default Device Config') BEGIN SET @CONFIGURATION_ID_DEFAULT_DEVICE_CONFIG = NEWID() END ELSE BEGIN SELECT @CONFIGURATION_ID_DEFAULT_DEVICE_CONFIG = ID FROM [dbo].[CONFIGURATION] WHERE OBJECT_TYPE_ID = @OBJECT_TYPE_ID_DEVICE AND NAME = 'Default Device Config' END IF NOT EXISTS (SELECT * FROM CONFIGURATION_INFO WHERE CONFIGURATION_ID = @CONFIGURATION_ID_DEFAULT_DEVICE_CONFIG AND NAME = N'contact.service.api.url') BEGIN INSERT INTO CONFIGURATION_INFO (ID, CONFIGURATION_ID, NAME, VALUE, CREATED, UPDATED, SYSTEM_TYPE) VALUES (NEWID(), @CONFIGURATION_ID_DEFAULT_DEVICE_CONFIG, N'contact.service.api.url', '{Mobile.Scheme}://{Mobile.ServerName}/Amc/Contact/ContactAPI.svc', GETUTCDATE(), GETUTCDATE(), 'System.String') END