1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <connectionstrings> <remove name="MyEntities" xdt:Transform="InsertBefore(/configuration/connectionStrings/add)"/> <add name="MyEntities" connectionString="yourconnstring" providerName="System.Data.EntityClient" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" /> <remove name="MyEntities2" xdt:Transform="InsertBefore(/configuration/connectionStrings/add)"/> <add name="MyEntities2" connectionString="yourconnstring" providerName="System.Data.EntityClient" xdt:Transform="SetAttributes" xdt:Locator="Match(name)" /> <add name="ApplicationServices" connectionString="" xdt:Transform="Remove"/> </connectionstrings> <system .web> <trust level="Full" xdt:Transform="InsertBefore(/configuration/system.web/compilation)" /> <authorization xdt:Transform="InsertBefore(/configuration/system.web/authentication)"> <allow roles="Administrator"/> <deny users="*"/> </authorization> <authentication xdt:Transform="Remove"></authentication> <compilation xdt:Transform="RemoveAttributes(debug)" /> <membership xdt:Transform="Remove"></membership> <rolemanager xdt:Transform="Remove"></rolemanager> <profile xdt:Transform="Remove"></profile> <!-- In the example below, the "Replace" transform will replace the entire <customErrors> section of your web.config file. Note that because there is only one customErrors section under the </system><system .web> node, there is no need to use the "xdt:Locator" attribute. <customerrors defaultRedirect="GenericError.htm" mode="RemoteOnly" xdt:Transform="Replace"> <error statusCode="500" redirect="InternalError.htm"/> </customerrors> --> </system> |
I have some problems with saving