annotate SSRS/SSRS.Web/Web.Release.config @ 112:b9d5f934cb21

Initial upload
author adminsh@apollo
date Sat, 19 May 2012 16:09:07 +0100
parents
children
rev   line source
112
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
1 <?xml version="1.0"?>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
2
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
3 <!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
4
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
5 <configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
6 <!--
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
7 In the example below, the "SetAttributes" transform will change the value of
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
8 "connectionString" to use "ReleaseSQLServer" only when the "Match" locator
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
9 finds an atrribute "name" that has a value of "MyDB".
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
10
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
11 <connectionStrings>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
12 <add name="MyDB"
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
13 connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
14 xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
15 </connectionStrings>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
16 -->
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
17 <system.web>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
18 <compilation xdt:Transform="RemoveAttributes(debug)" />
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
19 <!--
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
20 In the example below, the "Replace" transform will replace the entire
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
21 <customErrors> section of your web.config file.
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
22 Note that because there is only one customErrors section under the
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
23 <system.web> node, there is no need to use the "xdt:Locator" attribute.
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
24
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
25 <customErrors defaultRedirect="GenericError.htm"
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
26 mode="RemoteOnly" xdt:Transform="Replace">
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
27 <error statusCode="500" redirect="InternalError.htm"/>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
28 </customErrors>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
29 -->
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
30 </system.web>
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
31 </configuration>