System.InvalidOperationException: Invalid attempt to call Read when reader is closed.
at System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
at System.Data.SqlClient.SqlDataReader.Read()
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReaderBase`1.Read()
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext()
at System.Data.Linq.EntitySet`1.Load()
at System.Data.Linq.EntitySet`1.GetEnumerator()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at System.Web.Mvc.PathExtensions.Path(Party party) in E:\ERP\ERP.Web.Directory\Code\ErpExtensions.cs:line 45
at System.Web.Mvc.PathExtensions.Url(Party party) in E:\ERP\ERP.Web.Directory\Code\ErpExtensions.cs:line 38
at System.Web.Mvc.PathExtensions.Link(Party party, Boolean useNativeName) in E:\ERP\ERP.Web.Directory\Code\ErpExtensions.cs:line 24
at CompiledRazorTemplates.Dynamic.beaacfcfabdefdeddfc.Execute()
at RazorEngine.Templating.TemplateBase.Run(ExecuteContext context)
at System.Web.Mvc.HtmlTemplateBase`1.Run(ExecuteContext context)
at CMS.Core.ITemplateExtensions.Run[T](ITemplate template, T Model)
at CMS.Core.ITemplateExtensions.Parse[T](String template, T Model)

Recently Updated Books