Fluentemail not working locally but working on server
Posted
by
sreginogemoh
on Stack Overflow
See other posts from Stack Overflow
or by sreginogemoh
Published on 2013-11-09T09:49:35Z
Indexed on
2013/11/09
9:53 UTC
Read the original article
Hit count: 499
My web app using Fluentemail to send emails. But there is strange thing happening, it is sending emails on server successfully, but locally I am getting such kind of errors:
RazorEngine.Templating.TemplateCompilationException: Unable to compile template. Check the Errors list for details.
at RazorEngine.Compilation.DirectCompilerServiceBase.CompileType(TypeContext context)
at RazorEngine.Templating.TemplateService.CreateTemplate(String template, Type modelType)
at RazorEngine.Templating.TemplateService.GetTemplate(String template, Type modelType, String name)
at RazorEngine.Templating.TemplateService.Parse[T](String template, T model, String name)
at RazorEngine.Razor.Parse[T](String template, T model, String name)
at FluentEmail.Email.UsingTemplateFromFile[T](String filename, T model, Boolean isHtml)
error CS2001: Source file 'C:\Windows\TEMP\5yn3eqdw.0.cs' could not be found}
Is there any way I can fix that?
© Stack Overflow or respective owner