客户给了我这个错误日志,他告诉我他无法在我们的软件中阅读他的电子邮件历史记录。
我在错误日志中可以找到的内容如下:
At the time of the exception, the container was:
Resolving Comp.Shared.Mail.Mail,(none) (mapped from Comp.Shared.Mail.IMail, (none))
Calling constructor Comp.Shared.Mail.Mail()
Stack Trace: at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, Object existing, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainer.DoBuildUp(Type t, String name, IEnumerable`1 resolverOverrides)
at Microsoft.Practices.Unity.UnityContainerExtensions.Resolve[T](IUnityContainer container, ResolverOverride[] overrides)
at Comp.DCMS.BLL.LettersManager.GetMergedEmailByID(Int32 emailID)
at Comp.DCMS.WCFServices.LettersService.GetMergedEmailByID(Int32 emailID)
如果有人能帮助我的话,我已将公司名称替换为“Comp”,这会很棒。 谢谢!亲切的问候。