Hi everyone
we successfully used the Email-Manager in a SageCRM V2018 R3 Install to import Leads from a website (WebSite sends Email with values from a form) and it was working perfectly.
Around one week ago, the processing of the script suddenly stopped to work and is now throwing an SQL Error "[DBNETLIB][ConnectionWrite (send()).]General network error".
What is somehow strange is the fact that this error only shows up after the Method "FindRecord" is used. More exactly, as soon as the object returned from the method is queried (Either by checking if it is null or if EOF is false or trying to read a field of it).
Filling the lead with "static" values (Company Name from Email or just a string) is working ok and the lead gets created. Another strange thing is that the exact same script works without problems on a Test-Server with same OS, SQL, etc.
SageCRM itself is running with no problems.
So here my questions:
- Does anybody know what this SQL Error means ? Google tends to give me answers that it has something to do with network-problems ?
- Is there a way to debug the execution of the Email-Script, other than the debug-mode ?
- How exactly is the email manager connecting to the db and how could i simulate that to reproduce the error ? A small 32bit c# form based on dot.net 2.0 can execute the sql like 100 times in a row without showing any errors.
Any hints or tipps would be greatly appreciated
Kind regards
Sacha