Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Remove inheritance from Configuration section in Web.Config

$
0
0

Hi,

I develop an web site in Framework 4.5. but EntityFrameWork 6.0.

It's Ok. I Develop too another application Web Dynamic Data ASP.NET Entities but work only in EntityFrameWork 5.0 to give an simple access on my DataBase.

On my VisualStudio 2013, I can run one by one my twice application. No problème.

On server side I put my WebSite on main application. And I create a virtual folder and create an application.

but I've a conflit of Web.config configuration.

<configSections><clear/><remove name="entityFramework" /><section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /></configSections>

VS says clear not exist, and on the server, i've message to say entityFramework section exist

and with

<configSections xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"><clear/><section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /></configSections>

clear is accepted on VS, but Server say xmlns not recognized ...

How remove inheritance from my main web.config ?


Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>