Updated my web.config transforms for Medium Trust support

This commit is contained in:
leekelleher
2012-08-23 10:49:19 -01:00
parent ace18acd7e
commit 0c57e0e6eb
2 changed files with 10 additions and 4 deletions

View File

@@ -1,15 +1,17 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- Lee Kelleher's Desktop -->
<appSettings>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="server=.\SQL2008;database=umbraco4_dev;integrated security=true"/>
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=SQLCE4Umbraco.SqlCEHelper,SQLCE4Umbraco;data source=|DataDirectory|\Umbraco.sdf"/>-->
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=MySQL"/>-->
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoConfigurationStatus" value="4.8.0"/>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoUseMediumTrust" value="true"/>
</appSettings>
<system.web>
<trust level="Medium" originUrl=".*" />
<compilation debug="false" xdt:Transform="SetAttributes(debug)" />
<trust level="Medium" originUrl=".*" xdt:Transform="Insert" />
<compilation debug="true" xdt:Transform="SetAttributes(debug)" />
</system.web>
</configuration>

View File

@@ -1,13 +1,17 @@
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<!-- Lee Kelleher's Laptop -->
<appSettings>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="server=.\SQLEXPRESS;database=umbraco4_dev;integrated security=true"/>
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=SQLCE4Umbraco.SqlCEHelper,SQLCE4Umbraco;data source=|DataDirectory|\Umbraco.sdf"/>-->
<!--<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoDbDSN" value="datalayer=MySQL"/>-->
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoConfigurationStatus" value="4.8.0"/>
<add xdt:Transform="Replace" xdt:Locator="Match(key)" key="umbracoUseMediumTrust" value="true"/>
</appSettings>
<system.web>
<trust level="Medium" originUrl="."/>
<trust level="Medium" originUrl=".*" xdt:Transform="Insert" />
<compilation debug="true" xdt:Transform="SetAttributes(debug)" />
</system.web>
</configuration>