Skip to content

Commit b49db82

Browse files
Merge pull request #1118 from MicrosoftDocs/main
Merge to Live SFI
2 parents 56c1906 + bd38bb5 commit b49db82

9 files changed

Lines changed: 20 additions & 19 deletions

File tree

iis/get-started/planning-your-iis-architecture/getting-started-with-configuration-in-iis-7-and-above/samples/sample1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ ... many lines here ...
1919
//
2020
// Snippet from IIS 7.0 applicationHost.config
2121
//
22-
<anonymousAuthentication enabled="true" userName="…" password="" />
22+
<anonymousAuthentication enabled="true" userName="…" password="" />
2323
<basicAuthentication enabled="false" />
2424
<clientCertificateMappingAuthentication enabled="false" />
2525
<windowsAuthentication enabled="true" >
2626
<providers>
2727
<add value="Negotiate" />
2828
<add value="NTLM" />
2929
</providers>
30-
</windowsAuthentication>
30+
</windowsAuthentication>

iis/manage/managing-your-configuration-settings/shared-configuration_264/samples/sample8.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
<configSections>
33
<section name="configurationRedirection" />
44
</configSections>
5-
<configurationRedirection enabled="true" path="\\machinename\centralconfig$\" userName="ConfigUser1 or domain\user" password="ConfigPass1 or domainPassword" />
6-
</configuration>
5+
<!--password is ConfigPass1 or domainPassword-->
6+
<configurationRedirection enabled="true" path="\\machinename\centralconfig$\" userName="ConfigUser1 or domain\user" password="" />
7+
</configuration>

iis/publish/using-web-deploy/export-a-package-through-iis-manager.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Note: If you have not already installed the Web Deployment Tool, see [Installing
4343
6. The first row is your iisapp provider entry, which is your application. In the second row, choose the **dbFullSql** provider from the **Provider Name** drop-down. If you hover over a provider, you will see a description and example path.
4444
![Screenshot of the Provider Name field with a focus on the D B Full S Q L option.](export-a-package-through-iis-manager/_static/image5.jpg)
4545
7. Enter the path to your database or script file in the **Path** column.
46-
(Example: "Data Source=.\SQLExpress;Database=MyApplicationDb;User id=MyAppUser;Password=SomePassWord;" without the quotes.)
46+
(Example: "Data Source=.\SQLExpress;Database=MyApplicationDb;User id=MyAppUser;Password=;" Set Password=SomePassWord; without the quotes.)
4747
![Screenshot of the Manage Components screen with the path to a database in the Path column.](export-a-package-through-iis-manager/_static/image7.jpg)
4848
8. You'll notice that the database now shows up in the package contents tree view. Click **Next** to continue the wizard.
4949
![Screenshot of the Export Application Package dialog box with a focus on the Next option.](export-a-package-through-iis-manager/_static/image9.jpg)

iis/publish/using-web-deploy/testing-web-deploy-publishing-from-visual-studio-2010-and-webmatrix/samples/sample1.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
profileName="Default Settings"
99
publishMethod="MSDeploy"
1010
userName="NewSiteUser"
11-
userPWD="Passw0rd"
11+
userPWD=""
1212
savePWD="True" />
13-
</publishData>
13+
</publishData>

iis/publish/using-web-deploy/web-deploy-parameterization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ The CreateDBAndUser.sql script is a fairly simple script that can be [copied fro
7474

7575
The VacPicDBSchema.sql is the script that creates all the tables in the database that the application uses. This file can created using the Web Deploy command line tool. From the command line, navigate to where Web Deploy is installed (typically %programfiles%\IIS\Microsoft Web Deploy &lt;LatestVersion&gt;) and enter the following command:
7676

77-
`msdeploy -verb:sync -source:dbfullsql="data source=.\SQLExpress;initial catalog=PhotoGallery;user id=sa;password=<AdminPassword>" -dest:dbfullsql="c:\VacPicDBSchema.sql"`
77+
`msdeploy -verb:sync -source:dbfullsql="data source=.\SQLExpress;initial catalog=PhotoGallery;user id=sa;password=*" -dest:dbfullsql="c:\VacPicDBSchema.sql"`
7878

79-
Make sure to replace &lt;AdminPassword&gt; with the appropriate SQL administrator password.
79+
Replace the asterisk (`*`) with the appropriate SQL administrator password.
8080

8181
At a basic level, the above command uses the **dbFullSql** provider to copy data from a database using a database connection string ("-source:dbfullsql=…") and copies it to a database script file ("-dest:dbfullsql=…")
8282

iis/publish/using-web-deploy/web-deploy-parameterization/samples/sample11.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,25 +62,25 @@
6262
<parameter
6363
name="Create DB and DB User Connection String"
6464
description="Automatically sets the connection string for the connection request."
65-
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd={Database Administrator Password};"
65+
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd=*;" <!-- replace Pwd=* with Pwd={Database Administrator Password} -->
6666
tags="Hidden,SQLConnectionString,Validate">
6767
<parameterEntry type="ProviderPath" scope="dbfullsql" match="CreateDBAndUser.sql" />
6868
</parameter>
6969

7070
<parameter
7171
name="Populate DB Connection String"
7272
description="Automatically sets the connection string for the connection request."
73-
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd={Database Administrator Password};"
73+
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd=*;" <!-- replace Pwd=* with Pwd={Database Administrator Password} -->
7474
tags="Hidden,SQLConnectionString,Validate">
7575
<parameterEntry type="ProviderPath" scope="dbfullsql" match="VacPicDBSchema.sql" />
7676
</parameter>
7777

7878
<parameter
7979
name="Connection String for Config"
8080
description="Connection string to enter into config"
81-
defaultValue="Data Source={Database Server};database={Database Name};user id={Database Username};password={Database Password}"
81+
defaultValue="Data Source={Database Server};database={Database Name};user id={Database Username};password=*" <!-- replace password=* with Pwd={Database Password} -->
8282
tags="Hidden, SQL">
8383
<parameterEntry kind="XmlFile" scope="\\web\.config$" match="//*[local-name()='connectionStrings']/*[local-name()='add'][@name='PhotoGallery']/@connectionString" tags="Sql, SqlConnectionString, Hidden" />
8484
</parameter>
8585

86-
</parameters>
86+
</parameters>
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<parameter
22
name="Create DB and DB User Connection String"
33
description="Automatically sets the connection string for the connection request."
4-
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd={Database Administrator Password};"
4+
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd=*;" <!-- replace Pwd=* with Pwd={Database Administrator Password} -->
55
tags="Hidden,SQLConnectionString,Validate">
66
<parameterEntry type="ProviderPath" scope="dbfullsql" match="CreateDBAndUser.sql" />
77
</parameter>
88
<parameter
99
name="Populate DB Connection String"
1010
description="Automatically sets the connection string for the connection request."
11-
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd={Database Administrator Password};"
11+
defaultValue="Server={Database Server};Database={Database Name};uid={Database Administrator};Pwd=*;" <!-- replace Pwd=* with Pwd={Database Administrator Password} -->
1212
tags="Hidden,SQLConnectionString,Validate">
1313
<parameterEntry type="ProviderPath" scope="dbfullsql" match="VacPicDBSchema.sql" />
14-
</parameter>
14+
</parameter>
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<webFarms>
2-
<webFarm serverAutoStart="false" name="Farm" enabled="true" adminUserName="{0}\administrator" adminPassword="pwd" primaryServer="demo-primary">
2+
<webFarm serverAutoStart="false" name="Farm" enabled="true" adminUserName="{0}\administrator" adminPassword="" primaryServer="demo-primary">
33
<server address="demo-primary" enabled="true" />
44
<server address="demo-secondary" enabled="true" />
55
<platformProvision syncPlatformFromPrimary="true" />
@@ -9,4 +9,4 @@
99
</skipDirectives>
1010
</applicationProvision>
1111
</webFarm>
12-
</webFarms>
12+
</webFarms>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<add name="Graffiti" connectionString="server=SERVERNAME; database=Graffiti; User ID=graffiti; Password=********" />
1+
<add name="Graffiti" connectionString="server=SERVERNAME; database=Graffiti; User ID=graffiti; Password=" />

0 commit comments

Comments
 (0)