mattgwagner / Battery-Commander

A digital "leader book" for tracking Army unit members, qualifications, evaluations, and vehicle convoys.
MIT License
2 stars 0 forks source link

Error Sending Notification Email #390

Closed mattgwagner closed 5 years ago

mattgwagner commented 5 years ago

2019-04-03 22:11:01.580 +00:00 [Error] "EvaluationStatusChangeJob" failed System.IO.FileNotFoundException: Could not find file 'D:\home\site\wwwroot\Views\Reports\EvaluationUpdated.cshtml'. File name: 'D:\home\site\wwwroot\Views\Reports\EvaluationUpdated.cshtml' at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle) at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at FluentEmail.Core.Email.UsingTemplateFromFile[T](String filename, T model, Boolean isHtml) at BatteryCommander.Web.Jobs.EvaluationStatusChangeJob.Execute() in C:\projects\battery-commander\Battery-Commander.Web\Jobs\EvaluationStatusChangeJob.cs:line 54 at FluentScheduler.JobManager.<>c12`1.b12_0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.<>c.<.cctor>b__278_1(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location where exception was thrown --- at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)

mattgwagner commented 5 years ago

Finally figured it out. Woot.