System.InvalidOperationException: Invalid attempt to call Read when reader is closed.
at System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
at System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
at System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
at System.Data.Linq.DataQuery`1.System.Linq.IQueryProvider.Execute[S](Expression expression)
at System.Web.Mvc.PathExtensions.ThumbUrl[T](T entity, Int32 size) in E:\ERP\ERP.Web.Directory\Code\ErpExtensions.cs:line 122
at CompiledRazorTemplates.Dynamic.afbbecbbcfdcacad.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)
Leading Publishers in Bangladesh
@{ var s = ERP.Data.Service.BusinessService.ByType("Publisher").OrderByDescending(i => i.Party.RelatedProducts.Count()).ToList();}
@foreach (var item in s.Take(20))
{
}
Error:
Value cannot be null.
Parameter name: writer
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
@{ 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:
Value cannot be null.
Parameter name: writer