System.InvalidOperationException: ExecuteReader requires an open and available Connection. The connection's current state is open.
at System.Data.SqlClient.SqlConnection.GetOpenConnection(String method)
at System.Data.SqlClient.SqlConnection.ValidateConnectionForExecute(String method, SqlCommand command)
at System.Data.SqlClient.SqlCommand.ValidateCommand(String method, Boolean async)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
at System.Data.Common.DbCommand.ExecuteReader()
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.CompiledSubQuery.Execute(IProvider provider, Object[] parentArgs, Object[] userArgs)
at System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReaderBase`1.ExecuteSubQuery(Int32 iSubQuery, Object[] parentArgs)
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.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)
at System.Web.Mvc.PathExtensions.RelatedPartiesThroughProduct(Party model)
at CompiledRazorTemplates.Dynamic.dfdbbfccdcd.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)

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:
Value cannot be null.
Parameter name: writer

A National Archive of Information

170

Publishers

Featuring complete portfolio & virtual showroom of 170

Publishers

Featuring complete portfolio & virtual showroom of 170 active Publishers in Bangladesh.

170 active Publishers in Bangladesh.

4,623

Authors

Portfolio of an ever growing list of legends. About 4,623

Authors

Portfolio of an ever growing list of legends. About 4,623 Bengali authors & Poets of the past, present & future.

4,623 Bengali authors & Poets of the past, present & future.

29,332
class class="c-title c-font-uppercase c-font-boldt-whint->Books>Books

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