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.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at Read_IGrouping`2(ObjectMaterializer`1 )
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader`2.MoveNext()
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at System.Web.Mvc.PathExtensions.RelatedPartiesThroughProduct(Party model) in E:\ERP\ERP.Web.Directory\Code\ErpExtensions.cs:line 63
at CompiledRazorTemplates.Dynamic.bfcbacccec.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)

Low-Cost Masking/NonMasking SMS in Bangladesh - Alpha SMS

Alpha SMS is an advanced SMS service provider in Bangladesh with multiple services such as Bulk SMS, SMS API, OTP SMS, SMS Gateway, SMS Marketing, Masking SMS, Non-Masking, etc. It provides a powerful and easy-to-use SMS API for developers. Easy integration with Software Applications & Websites. You can also send SMS messages directly through SMS Web Panel (Dashboard). Fast and easy to use SMS Gateway for School, Small Business SMS marketing, ISP & NGO in Bangladesh. Alpha SMS also offers API Integration with Corporate applications.

Visit Website
Low-Cost Masking/NonMasking SMS in Bangladesh - Alpha SMS

Popular Authors

@{ var db = ERP.Data.DBContext.Current; var authors = db.Party.Active().Where(p => p.TypeId == 1017 && db.PartyProduct.Any(i => i.PartyId == p.Id));} @foreach (var item in authors.OrderByDescending(i => i.RelatedProducts.Count(j => j.TypeId == 1012)).Take(9).Skip(1)) { }
Error:
Specified cast is not valid.
@{ var db = ERP.Data.DBContext.Current; var authors = db.Party.Active().Where(p => p.TypeId == 1017 && db.PartyProduct.Any(i => i.PartyId == p.Id)); var books = ERP.Data.DBContext.Current.Product.Active(); }

A National Archive of Information

@ERP.Data.Service.BusinessService.ByType("Publisher").Count()

Publishers

Featuring complete portfolio & virtual showroom of @ERP.Data.Service.BusinessService.ByType("Publisher").Count() active Publishers in Bangladesh.

@authors.Count().ToString("#,###")

Authors

Portfolio of an ever growing list of legends. About @authors.Count().ToString("#,###") Bengali authors & Poets of the past, present & future.

@books.Count().ToString("#,###")

Books

A complete online catalog of Bangla books. From the everlasting classics to modern literature of the future generation.

Error:
Unable to cast object of type 'System.Int32' to type 'System.String'.