In some cases the Partial View will have data in it and others it will be null. There are several other bits of HTML in the parent View that I only want to show if the Partial View has data in it. how i can render Partial views in asp.net mvc 3. Home/ASP.NET Forums/General ASP.NET/Web API/error Name cannot be null or empty.If you havent made any changes to the default project, you might want to ensure that your actual "Email" property is not null or empty (e.g. model.Email). return Session["MySessionVar"] ?? String.EmptyRecommendc - ASP.NET MVC Session is null. was instructed to customize it so that the "Login" Process is eliminated and all users can access the app. ASP.NET Boilerplate is a starting point for new modern web applications using best practices and most popular tools.Abp.AbpException: Setting value for Abp.Net.Mail.Smtp.UserName is null or empty! at Abp.