If the content of the UserId an UserInfo fields in the MessageOut table is not transferred to the MessageLog table you should first check if the field names of these database fields are filled in for the 'SMSOutUserId', 'SMSOutUserInfo', 'SMSLogUserId' and 'SMSLogUserInfo' properties in the advanced settings of the SQL Connector. If these properties are not filled in, Diafaan SMS Server will not use them in the SQL queries to the database.
If you set up the SQL Connector with a Microsoft SQL Server (Express) database and let Diafaan SMS Server create the database for you then these properties are automatically filled in. For other databases, or if you did not let Diafaan SMS Server create the database, these properties must be filled in manually.
UserId and UserInfo fields , aren`t traslated from MessageOut table to MessageLog table, using SQLConnector.
I check my SQL Log and found that this fields are not copied when a message is sent.
Per example, in my SQL log , i can see:
exec sp_executesql N'INSERT INTO MessageLog (SendTime,MessageTo,MessageText,MessageId,StatusCode) VALUES (@SENDTIME,@MESSAGETO,@MESSAGETEXT,@MESSAGEID,@STATUSCODE)',N'@SENDTIME datetime,@MESSAGETO nvarchar(80),@MESSAGETEXT nvarchar(73),@MESSAGEID nvarchar(80),@STATUSCODE int',@SENDTIME='2018-06-15 11:23:51.873',@MESSAGETO=N'08424444447',@MESSAGETEXT=N'blablablablabla',@MESSAGEID=N'1:08424444447:153',@STATUSCODE=200
UserId and UserInfo fields value is null. Why????
I have seen in your forums answers such as: "If you use Microsoft SQL Server and let the SQL Connector create the database, these two fields are automatically added to the database and to the SQL Connector settings. in the Advanced settings of the SQL Connector. "
and it is totally false !!!
Most Users Ever Online: 494
Currently Browsing this Page:
Guest Posters: 539
Newest Members:, Henk Helmantel
Administrators: Henk Helmantel: 1073