Tag: webconfig
Machine key feature is missing in IIS Manager | SOLVED
In this tutorial I will show how to enable machine key feature in IIS manager.
Read ArticleSystem.Net.Http.Formatting, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Net.Http.Formatting' with identity 'System.Net.Http.Formatting, Version=4.0.0.0
I got this following error I removed the old version of System.Net.Http.Formatting version 4.0.0.0 and referenced Version=5.2.3.0. This reference resolved …
Read ArticleSOLVED-This program is blocked by group policy. For more information, contact your system administrator.(godaddy server)
I got the following error “This program is blocked by group policy. For more information, contact your system administrator.” while …
Read Article500 - internal server error
I am getting 500-internal server error when I uploaded the published copy to the GoDaddy and there is no detail …
Read ArticleThe type 'EntityState' is defined in an assembly that is not referenced. You must add a reference to assembly System.Data.Entity
I just got experience this issue with MVC5 in visual studio 2015 for web, finally I found solution adding entity …
Read Article[solved]Unable to read data from the transport connection: net_io_connectionclosed
I am attempting to send email using asp.net c#, I got the following error “Unable to read data from the …
Read ArticleHtaccess leverage browser caching
We can specify the browsers, how long time to keep css ,JS and images stored locally using the .htaccess file …
Read Article[Solved]WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
I am using validation controls in asp.net application, I got this following webforms unobtrusivevalidationmode error while running the application.
Read ArticleHow to configure appsettings in web config file dynamically in asp.net c#?
In this article, I will show you how to dynamically manage xml configuration file c# asp.net. To configure webconfig file …
Read ArticleHow to create dynamic connection string in c# asp.net?
In this article, I will show you how to adding connection string in web config, via dynamically in asp.net c#. …
Read ArticleHow to create custom error page in asp.net MVC?
In this article, I will show you how to add custom error page in web config using asp.net MVC. If …
Read ArticleEntity framework connection string example
To get the SQL connection string from entity framework using DbConetext edmx file. In this example I will show you …
Read ArticleCould 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.
You need to Uninstall Microsoft Aspnet mvc from the project by using Package manager console and reinstall it.
Read Articleunable to retrieve metadata for unrecognized element providers in asp.net MVC
I recently updated entity framework version 5, afterwards whenever tried to add a controller with the entity framework template I …
Read ArticleUnable to retrieve metadata for ‘models.classname’. unable to cast object of type System.Data.Entity.Core.Objects.ObjectContext to type System.Data.Objects.ObjectContext.
Entity framework 6 or above version is not supported for asp.net MVC. So we need to uninstall it by using …
Read Article[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.
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.
Read Article[A]System.Web.WebPages.Razor. Configuration.HostSection cannot be cast to [B]System.Web.WebPages.Razor.Configuration. HostSection.
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, …
Read ArticleHow to bind data from database to chart control in asp.net?
In this article we will discuss, to bind data from database to chart control in asp.net. To connect the database …
Read Article[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.
It's hard to find any information on the topic but in my opinion enableSimpleMembership set to false in appsettings. For …
Read Article[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.
If you want to see exact error of the page you must turn Off custom error mode. After changing the …
Read Article