I have a test 11.1.20 running. Everything is working except it wont send email notifications. It will send via the Test button, but not when the job runs.
I am using the gmail option. I have the Advanced logging turned and hit the send to devs button.
Thank you for the log file, we have checked it. There are no error messages in your log, all the emails have been sent. Could you please check your spam folder?
I have exactly the same - only started today.
Test emails work fine (to our own Exchange 2010 server)
Ver 11.1.21
Canāt send email to **@..: Errors while compiling a Template.
Please try the following to solve the situation:
If the problem is about missing/invalid references or multiple defines either try to load
the missing references manually (in the compiling appdomain!) or
Specify your references manually by providing your own IReferenceResolver implementation.
See https://antaris.github.io/RazorEngine/ReferenceResolver.html for details.
Currently all references have to be available as files!
If you get āclassā does not contain a definition for āmemberā:
try another modelType (for example ānullā to make the model dynamic).
NOTE: You CANNOT use typeof(dynamic) to make the model dynamic!
Or try to use static instead of anonymous/dynamic types.
More details about the error:
error: (303, 51) āSBF.Channel.Contract.DataContract.JobLogRecordā does not contain a definition for āTemplateā and no extension method āTemplateā accepting a first argument of type āSBF.Channel.Contract.DataContract.JobLogRecordā could be found (are you missing a using directive or an assembly reference?)
error: (304, 70) āSBF.Channel.Contract.DataContract.JobLogRecordā does not contain a definition for āTemplateā and no extension method āTemplateā accepting a first argument of type āSBF.Channel.Contract.DataContract.JobLogRecordā could be found (are you missing a using directive or an assembly reference?)
Temporary files of the compilation can be found in (please delete the folder): C:\Windows\TEMP\RazorEngine_hoaldxfg.2o1
The template we tried to compile is:
and it continues for about 600 lines of source code!
This issue has been fixed in the latest version of SQLBackupAndFTP - version 11.1.22. You can download it at https://sqlbackupandftp.com/download or run your SQLBackupAndFTP application and click āHelpā > āCheck for Updateā¦ā
Getting this error after backup, on email delivery:-
6/11/2020 9:49:07 AM [Error] Canāt send email to xyz@gmail.com: Errors while compiling a Template.
Please try the following to solve the situation:
If the problem is about missing/invalid references or multiple defines either try to load
the missing references manually (in the compiling appdomain!) or
Specify your references manually by providing your own IReferenceResolver implementation.
See https://antaris.github.io/RazorEngine/ReferenceResolver.html for details.
Currently all references have to be available as files!
If you get āclassā does not contain a definition for āmemberā:
try another modelType (for example ānullā to make the model dynamic).
NOTE: You CANNOT use typeof(dynamic) to make the model dynamic!
Or try to use static instead of anonymous/dynamic types.
More details about the error:
error: (145, 3) The type āSystem.Objectā is defined in an assembly that is not referenced. You must add a reference to assembly āSystem.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3aā.
Temporary fiā¦
We have checked the issue, and it seems itās related to one of the libraries you use. Could you please install the latest .NET Framework or use Microsoft .NET Framework Repair Tool.
Could you please let us know, what doesnāt work for you? Have you faced any issues? If yes, please send us the full text of the error message you have and a screenshot of the issue.
If you have the same issue as the customers above, please: