In this article, I will show you how to add custom error page in web config using asp.net MVC. If application got any error you can invoke asp.net 404 page.
I recently updated entity framework version 5, afterwards whenever tried to add a controller with the entity framework template I got this error message.
I got this error that the web.config was referencing System.Web.WebPages.Razor,
Version=2.0.0.0. Later I changed it to System.Web.WebPages.Razor,
Version=3.0.0.0.
I found the cause of this error that the web.config was referencing System.Web.WebPages.Razor, version=2.0.0.0. Later I changed it to System.Web.WebPages.Razor, version=3.0.0.0 it works fine problem was resolved.
In this article we will discuss, to bind data from database to chart control in asp.net. To connect the database by using connection string, retrieve data from database and binding to chart control
It's hard to find any information on the topic but in my opinion enableSimpleMembership set to false in appsettings. For me this error resolved by setting below code.
If you want to see exact error of the page you must turn Off custom error mode. After changing the webconfig file save and reload the page you can view the exact error of the page. This setting is under .