c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android

Latest posts on tagged on "webconfig"

How to create custom error page in asp.net MVC?

| | Category: asp.net MVC

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.

Entity framework connection string example

| | Category: SQL

To get the SQL connection string from entity framework using DbConetext edmx file. In this example I will show you with example.

Could not load file or assembly 'System.Web.Helpers' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

| | Category: asp.net MVC

You need to Uninstall Microsoft Aspnet mvc from the project by using Package manager console and reinstall it.

unable to retrieve metadata for unrecognized element providers in asp.net MVC

| | Category: asp.net MVC

I recently updated entity framework version 5, afterwards whenever tried to add a controller with the entity framework template I got this error message.

Unable to retrieve metadata for ‘models.classname’. unable to cast object of type System.Data.Entity.Core.Objects.ObjectContext to type System.Data.Objects.ObjectContext.

| | Category: asp.net MVC

Entity framework 6 or above version is not supported for asp.net MVC. So we need to uninstall it by using Package manager console.

[solved]Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

| | Category: asp.net MVC

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.

[A]System.Web.WebPages.Razor. Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration. HostSection.

| | Category: asp.net MVC

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.

How to bind data from database to chart control in asp.net?

| | Category: .Net

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

[Solved]An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

| | Category: c# .net

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.

[solved]To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application.

| | Category: c# .net

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 .

Page 2 of 2