System.ArgumentNullException: Value cannot be null.
Parameter name: writer
   at RazorEngine.Templating.TemplateBase.WriteLiteralTo(TextWriter writer, String literal)
   at RazorEngine.Templating.TemplateBase.WriteLiteral(String literal)
   at CompiledRazorTemplates.Dynamic.dbcdfefbfca.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