# Install docunil8

Mise en place des services ftpdoc, davdoc et webdoc de docunil

**Table des matières**

[<span style="mso-no-proof: yes;">Configuration de la machine</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">1</span>](#_Toc364337909)

[Machine<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">1</span>](#_Toc364337910)

[Ajout du role de serveur web<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337911)

[Install du FrameWork .Net 3.5 sp1<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337912)

[Firewall interne<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337913)

[Installation de SQL 2005 Standard Edition<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">2</span>](#_Toc364337914)

[<span style="mso-no-proof: yes;">Utilisateur filemanlogin</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">2</span>](#_Toc364337915)

[<span style="mso-no-proof: yes;">Création de la base FILEMAN</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">3</span>](#_Toc364337916)

[<span style="mso-no-proof: yes;">Copie des tables existantes</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337917)

[Configuration IIS 7<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">5</span>](#_Toc364337918)

[<span style="mso-no-proof: yes;">Installation de FTP pour IIs7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337919)

[<span style="mso-no-proof: yes;">Installation de Webdav pour IIS 7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337920)

[<span style="mso-no-proof: yes;">User webiis7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337921)

[<span style="mso-no-proof: yes;">Importation du certificat</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">5</span>](#_Toc364337922)

[<span style="mso-no-proof: yes;">Centraliser la configuration du serveur web</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337923)

[<span style="mso-no-proof: yes;">IIS7: ajout des applications pool davdoc8 et webdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337924)

[<span style="mso-no-proof: yes;">IIS7: ajout du site davdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337925)

[<span style="mso-no-proof: yes;">Site davdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">6</span>](#_Toc364337926)

[<span style="mso-no-proof: yes;">Site davdoc8 (http -&gt; https)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337927)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 – échec on ne le met pas en route</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337928)

[<span style="mso-no-proof: yes;">Dossier de l'application Fileman</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">8</span>](#_Toc364337929)

[<span style="mso-no-proof: yes;">Site webdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337930)

[<span style="mso-no-proof: yes;">Site webdoc8 (http -&gt; https)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337931)

[<span style="mso-no-proof: yes;">IIS7: ajout du site ftpdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337932)

[<span style="mso-no-proof: yes;">Site ftpdoc8</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">10</span>](#_Toc364337933)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">11</span>](#_Toc364337934)

[<span style="mso-no-proof: yes;">IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">12</span>](#_Toc364337935)

[<span style="mso-no-proof: yes;">HTTPCommander: modification des sources</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">12</span>](#_Toc364337936)

[<span style="mso-no-proof: yes;">Documentation IIS7: fichiers de configuration</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;">. </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">13</span>](#_Toc364337937)

[<span style="mso-no-proof: yes;">Activer les Custom Properties (06.03.2013)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">14</span>](#_Toc364337938)

[Enabling Custom Properties Using IIS Manager<span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;">14</span>](#_Toc364337939)

[<span style="mso-no-proof: yes;">Nouvel essai d’install de fileman sur win2008 (mars 2013)</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">16</span>](#_Toc364337940)

[<span style="font-family: 'Helvetica',sans-serif; letter-spacing: -.75pt; mso-no-proof: yes;">Running classic ASP on IIS 7</span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-tab-count: 1 dotted;"> </span></span><span style="color: windowtext; display: none; mso-hide: screen; mso-no-proof: yes; text-decoration: none; text-underline: none;">16</span>](#_Toc364337941)

# <a name="_Toc364337909"></a>Configuration de la machine

## <a name="_Toc254700370"></a><a name="_Toc364337910"></a><span style="mso-bookmark: _Toc254700370;">Machine</span>

<span style="mso-bookmark: _Toc254700370;">Machine virtuelle VmWare:</span>

<span style="mso-bookmark: _Toc254700370;">Nom:</span>

<span style="mso-bookmark: _Toc254700370;">docunil8.unil.ch, davdoc8.unil.ch: <span style="mso-tab-count: 1;"> </span>130.223.27.147</span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">webdoc8.unil.ch :<span style="mso-tab-count: 4;"> </span>130.223.27.179</span></span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">OS:</span></span>

<span style="mso-bookmark: _Toc254700370;"><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Windows Server 2008</span></span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337911"></a>Ajout du role de serveur web</span>

<span style="mso-bookmark: _Toc254700370;">Dans "Initial Configuration Tasks"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Cliquer sur "Add roles"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Sélectionner "Web Server (IIS)</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 2;"> </span>Add Required Features</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Next</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 1;"> </span>Sélectionner tous les "Role Services"</span>

<span style="mso-bookmark: _Toc254700370;"><span style="mso-tab-count: 2;"> </span>Chaque fois accepter " Add Required Features "</span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337912"></a>Install du FrameWork .Net 3.5 sp1</span>

<span style="mso-bookmark: _Toc254700370;">On le télécharge depuis le site de microsoft et installe</span>

## <span style="mso-bookmark: _Toc254700370;"><a name="_Toc364337913"></a>Firewall interne</span>

<span style="mso-bookmark: _Toc254700370;">Il n'est pas actif.</span>

## <a name="_Toc364337914"></a>Installation de SQL 2005 Standard Edition

Prendre SQL 2005 Standard Edition sur MSDNAA.

Installation:

Server components, tools, Books Online, and samples

Components to Install: tout selectionner

Sélectionner: Default instance

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Service Account: <span style="mso-tab-count: 1;"> </span>User a domain user account: AD\\gesu</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 3;"> </span></span>Start Services at the end of setup: sélectionner uniquement SQL Server

Authentication Mode: Windows Authentication Mode

Collation Sttings: French, Accent-sensitive

Installer SQL 2005 SP3

Dans les Services, démarre et mettre en automatique les services suivanzs:

<span style="mso-tab-count: 1;"> </span>SQL Server Agent

<span style="mso-tab-count: 1;"> </span>SQL Analysis Services

Démarrer SQL Server Surface Area Configuration tool

<span style="mso-tab-count: 1;"> </span>Add New Administrator

<span style="mso-tab-count: 1;"> </span><span style="mso-tab-count: 1;"> </span>SQL Server 2005 User Provisioning Tool

Donner tous les droits à Ad\\gesu

### <a name="_Toc364337915"></a>Utilisateur filemanlogin

On rechange le mode d'authentification du SQL Server et on met "SQL Server and Windows Authetication mode":

To change security authentication mode

1\. In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.

2\. On the Security page, under Server authentication, select the new server authentication mode, and then click OK.

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">3. In the SQL Server Management Studio dialog box, click OK, to acknowledge the need to restart SQL Server.</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

On crée l'utilisateur "filemanlogin":

SQL Server Management Studio

Item Security

Bouton droit sur Logins -&gt; New Login

SQL Server authentication

Login name: filemanlogin

Password: c……..8

De-sélectionner "Enforce password policy"

### <a name="_Toc364337916"></a>Création de la base FILEMAN

On crée la base FILEMAN:

SQL Server Management Studio

Bouton droit sur Databases -&gt; New Database

Database Name: FILEMAN

Owner: filemanlogin

On créer les tables nécessaires pour Fileman:

SQL Server Management Studio (comme user fileman)

Avec le bouton "NewQuery", on exécute successivement les trois commande suivantes:

<span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">CREATE TABLE \[dbo\].\[Login\] (</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[ID\] \[int\] IDENTITY (1, 1) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[User\] \[nvarchar\] (250) NOT NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Pass\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupID\] \[smallint\] NOT NULL DEFAULT (2),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CrDate\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Info\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[UserRootFolder\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IsDisabled\] \[bit\] NULL DEFAULT (0),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[SortBy\] \[nvarchar\] (255) NULL DEFAULT ('type'),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[History\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumLogins\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastTime\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastIP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastDir\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LastPassChange\] \[smalldatetime\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Email\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[TotalBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[BandwidthThisMonth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[BandwidthLastReset\] \[smalldatetime\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[AccountExpires\] \[smalldatetime\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[UploadNotification\] \[bit\] NULL DEFAULT (0),</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsGroupAdmin\] \[bit\] NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">CREATE TABLE \[dbo\].\[Groups\] (</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[GroupID\] \[int\] IDENTITY (1, 1) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[GroupName\] \[nvarchar\] (50) NOT NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[Description\] \[nvarchar\] (255) NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsAdmin\] \[bit\] NOT NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[IsGroupDisabled\] \[bit\] NOT NULL DEFAULT (0) ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">\[SettingsMask\] \[nvarchar\] (100) NOT NULL DEFAULT ('11111111111111111111111111101111111001111111111111111111111111111111111111') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[RootFolder\] \[nvarchar\] (255) NULL DEFAULT ('c:\\temp\\%user%') ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxRootFolderSize\] \[int\] NULL DEFAULT ( 5242880) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[ForbiddenList\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MinPassLength\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[DefaultFolderStructure\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[NumUploadFields\] \[tinyint\] NULL DEFAULT (6) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxPassAge\] \[smallint\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[LoginMsg\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[GroupCreated\] \[smalldatetime\] NULL DEFAULT (GetDate()) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[CustomButtons\] \[ntext\] NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[StartPage\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[MaxBandwidth\] \[int\] NULL DEFAULT (0) ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[AllowMapDrives\] \[bit\] NOT NULL DEFAULT (0)</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>Use \[FILEMAN\]</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>GO</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>CREATE TABLE \[dbo\].\[FMLog\] (</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[Date\] \[smalldatetime\] NULL DEFAULT (GetDate()),</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[IP\] \[nvarchar\] (50) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span>\[User\] \[nvarchar\] (255) NULL ,</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">\[Description\] \[ntext\] NULL ,</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>\[LastError\] \[nvarchar\] (255) NULL</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>) ON \[PRIMARY\] TEXTIMAGE\_ON \[PRIMARY\]

<span style="mso-spacerun: yes;"> </span>GO

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (26),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ItemsPerPage\] \[smallint\] NULL DEFAULT (25),</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour que les 26 lettres de l'alphabète soit affichée dans les listes</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;">\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('French.dat'),</span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;">\[LanguageFile\] \[nvarchar\] (50) NULL DEFAULT ('English.dat'),</span>

<span lang="DE-CH" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: DE-CH;"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">Attention: ci-dessus on a mis</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;">\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, moddate, ') ,</span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span><span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';">à la place de</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>\[ShowItems\] \[nvarchar\] (255) NULL DEFAULT ('name, type, size, attribs, moddate, ') ,</span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"> </span>

<span style="mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman';"><span style="mso-spacerun: yes;"> </span>pour les colonnes affichées par défaut dans la liste des fichiers</span>

### <a name="_Toc364337917"></a>Copie des tables existantes

Pour copier les tables de docunil2k:

Se connecter sur docunil2k

Démarrer "Enterprise Manager" de "Microsoft Sql Server

Bouton droitsur la bas FILEMAN -&gt; All Tasks -&gt; Export Data

<span style="mso-tab-count: 1;"> </span>Data source

<span style="mso-tab-count: 2;"> </span>Microsoft OLE Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: (local)

<span style="mso-tab-count: 2;"> </span>Use Windows Authentication

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Choose a destination

<span style="mso-tab-count: 2;"> </span>Microsoft OLE Provider for SQL Server

<span style="mso-tab-count: 2;"> </span>Server: DOCUNIL8

<span style="mso-tab-count: 2;"> </span>Use SQL Server Authentication

<span style="mso-tab-count: 2;"> </span>Username: filemanlogin

<span style="mso-tab-count: 2;"> </span>Password: c……..8

<span style="mso-tab-count: 2;"> </span>Database: FILEMAN

<span style="mso-tab-count: 1;"> </span>Copy table(s) and view(s) from the source databases

<span style="mso-tab-count: 1;"> </span>Select source Tables

<span style="mso-tab-count: 2;"> </span>Sélection les 3 tables de FILEMAN

<span style="mso-tab-count: 1;"> </span>Run immediatly

Après, il faut fermer l'acceés réseau sur docunil8

## <a name="_Toc364337918"></a>Configuration IIS 7

### <a name="_Toc364337919"></a>Installation de FTP pour IIs7

Désinstaller FTP 6: dans les Roles (Server Manager), il faut "Remove Role Services" pour "FTP Publishing Service" et "IIS 6 Management Compatibility".

Prendre FTP 7.5 pour IIS7 x86 ([ftp7\_x86intran\_75.msi](ftp://ftp7_x86_75.msi)) sur le site de microsoft et procéder à l'installation.

### <a name="_Toc364337920"></a>Installation de Webdav pour IIS 7

Prendre "Microsoft WebDAV 7.5 for IIS 7.0 (x86)" (webdav\_x86\_75.msi) sur le site de microsoft et procéder à l'installation.

Installation de "Update for WebDAV 7.5 for IIS 7.0 (KB976526) (x86)". On prend<span style="mso-spacerun: yes;"> </span>webdav\_x86\_kb976526.msp est on l'exécute.

### <a name="_Toc364337921"></a>User webiis7

On définit dans gestu un utilisateurs que l'on va utiliser sur le serveur IIS7.

Username:<span style="mso-spacerun: yes;"> </span><span style="font-family: 'Lucida Console';">webiis7</span>

### <a name="_Toc364337922"></a>Importation du certificat

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item "Server certificates"

<span style="mso-tab-count: 2;"> </span>Import: fichier webdoc.pfx

### <a name="_Toc364337923"></a>Centraliser la configuration du serveur web

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Feature Delegation

<span style="mso-tab-count: 2;"> </span>Mettre tout à "Read Only" si possible (ou Not Delegated)

On laisse .Net Roles et .Net Users à "Configuration Read/Write".

Avec cela tous les paramètres de configuration seront dans

C:\\Windows\\System32\\inetsrv\\config\\applicationHost.config

### <a name="_Toc364337924"></a>IIS7: ajout des applications pool davdoc8 et webdoc8

Démarrer IIS Manager

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Name: webdoc8 </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span>.Net Framework: V2.0</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 6;"> </span></span>Managed pipeline mode: Classic

<span style="mso-tab-count: 6;"> </span>(ces deux paramètres n'ont pas d'influence

<span style="mso-tab-count: 6;"> </span>sur la performance de fileman)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "webdoc8"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

Item DOCUNIL8

<span style="mso-tab-count: 1;"> </span>Item Application Pools

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Application Pool

<span style="mso-tab-count: 5;"> </span>Name: davdoc8 (autre options par défaut)

<span style="mso-tab-count: 2;"> </span>Dans la partie centrale de la fenêtre sur l'application pool "davdoc8"

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Advanced Settings

<span style="mso-tab-count: 5;"> </span>Identity: ad\\webiis7 (introduction du password)

### <a name="_Toc364337925"></a>IIS7: ajout du site davdoc8

#### <a name="_Toc364337926"></a>Site davdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: \\\\docunil\\docs

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.147, 443

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

Item davdoc8

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: davdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Specified roles or user groups: Authenticated Users</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>Area IIS: double-clic sur Directory Browsing

<span style="mso-tab-count: 2;"> </span>Enable

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur WebDAV Authoring Rules

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Enable WebDAV</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Add Authoring Rule:</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Allow access to: All content

<span style="mso-tab-count: 3;"> </span>Allow access to this content to: Authenticated Users

<span style="mso-tab-count: 3;"> </span>Permissions: Read, Source, Write

WebDAV settings: Changer Require SSL access: true

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Output Caching

<span style="mso-tab-count: 2;"> </span>Edit Feature Settings:

<span style="mso-tab-count: 3;"> </span>Dé-activer "Enable cache" et "Enable kernel cache"

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur WebDAV Authoring Rules

<span style="mso-tab-count: 2;"> </span>Cliquer sur WebDAV

<span style="mso-tab-count: 3;"> </span>Allow Property Queries with infinite Depth: true

Changer le fichier inetsrv/config/applicationHost.config, ajouter maxAllowedContentLength:

&lt;location path="davdoc8"&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;security&gt;

…

<span style="mso-spacerun: yes;"> </span>&lt;requestFiltering&gt;

…

<span style="mso-spacerun: yes;"> </span>&lt;requestLimits maxAllowedContentLength="157286400"/&gt;

<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>&lt;/requestFiltering&gt;

<span style="mso-spacerun: yes;"> </span>&lt;/security&gt;

J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) des virtual direcvtory IIS 7.5 davdoc8 et davdoc8-http-https, comme ça les gens ne reçoivent plus l’erreur 404 on essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.

Autres mime type ajoutés:

.odt <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.text

.odp <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.presentation

.odb <span style="mso-tab-count: 1;"> </span>application/vnd.oasis.opendocument.database

.r<span style="mso-tab-count: 1;"> </span>application/R

.rdata<span style="mso-tab-count: 1;"> </span>application/R

.fp7<span style="mso-tab-count: 1;"> </span>application/filemaker

.7z<span style="mso-tab-count: 1;"> </span>application/x-7z-compressed

.m<span style="mso-tab-count: 1;"> </span>text/x-matlab

.prop<span style="mso-tab-count: 1;"> </span>application/octet-stream

.<span style="mso-tab-count: 1;"> </span>application/octet-stream

#### <a name="_Toc364337927"></a>Site davdoc8 (http -&gt; https)

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: davdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: davdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Binding: http, 130.223.27.147, 80</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item davdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span></span>Area IIS: double-clic sur HTTP Rdirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: https://davdoc8.unil.ch

J’ai ajouté deux extensions .sav et .sps dans les mime-types (application/spss) des virtual direcvtory IIS 7.5 docunil8 et docunil8-http-https, comme ça les gens ne reçoivent plus l’erreur 404 on essayant de télécharger les fichiers de sauvegarde pour l’application SPSS.

Ajout de 5 extensions (.ens, .enz, .enf, .os, .cap)avec le Mime Type "application/octet-stream".

**Attention**: la redirection http sur https ne fonctionne pas pour le protocole WebDAV.

Après la migration on a changer la redirection vers https://davdoc.unil.ch

### <a name="_Toc364337928"></a>IIS7: ajout du site webdoc8 – échec on ne le met pas en route

#### <a name="_Toc364337929"></a>Dossier de l'application Fileman

On copie C:\\fm depuis docunil2k sur docunil8.

Structure application fileman:

c:\\fm

On la met sur le disque

Cela nous permet de cacher ce dossier aux utilisateurs.

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

c:\\fm\\arbetur

Dossier où il y aura les scripts de Fileman accédés par les

<span style="mso-spacerun: yes;"> </span>users en production

Permissions NTFS:

\- même permissions que ci-dessus

c:\\fm\\test

Dossier où il y aura les scripts de Fileman pour les tests

Permissions NTFS:

\- même permissions que ci-dessus

c:\\fm\\log

Dossier où il y aura les log de Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

créer le fichier vide c:\\fm\\log\\fileman.log

<span style="mso-spacerun: yes;"> </span>ajouter l'accès Write et écriture pour Domain Users

<span style="mso-spacerun: yes;"> </span>au fichier c:\\fm\\log\\fileman.log

c:\\fm\\database

Dossier où il y aura la base des utilisateurs (Access)

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil2k

\- Modify, Write, Read &amp; Execute, List Folder

<span style="mso-spacerun: yes;"> </span>Contents et Read pour Domain Users

c:\\fm\\admin

Dossier où il y aura les script de Fileman pour l'admin de fm

Permissions NTFS:- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read à aroy@ad et gesu@ad

<span style="mso-spacerun: yes;"> </span>c:\\fm\\src.6.3h

Dossier où il y a les source originale de la version 6.3h de Fileman

c:\\fm\\arbetur-original-6.3h

Dossier avec l'application Fileman originale Fileman

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunil2k

c:\\fm\\w32-Controls

Permissions NTFS:

\- Full control pour le groupe AdminDocUnil@ad

\- Full control pour le groupe Administrators

<span style="mso-spacerun: yes;"> </span>de docunila

\- Read &amp; Execute, List Folder Contents et

<span style="mso-spacerun: yes;"> </span>Read pour Domain Users

c:\\fm\\arbetur\\global.asa

<span style="mso-tab-count: 1;"> </span>Contient la configuration de fileman

On enregister le module FathUpload.dll (comme admin):

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">copy c:\\fm\\w32-Controls\\FathUpload.dll c:\\Windows\\system32</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">regsvr32 c:\\Windows\\System32\\FathUpload.dll</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"> </span>

#### <a name="_Toc364337930"></a>Site webdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: webdoc8

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\fm\\arbetur

<span style="mso-tab-count: 2;"> </span>Connect As: Application user (pass-through authentication)

<span style="mso-tab-count: 2;"> </span>Binding: https, 130.223.27.179, 444

<span style="mso-tab-count: 2;"> </span>SSL certificate:webdoc.unil.ch

Item webdoc8

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authentication

<span style="mso-tab-count: 2;"> </span>Disable toutes les méthodes d'authentification sauf

<span style="mso-tab-count: 2;"> </span>Basic Authentication: enable

<span style="mso-tab-count: 2;"> </span>Basic Authentication: bouton droit de la souris "Edit"

<span style="mso-tab-count: 3;"> </span>Default domain: ad.unil.ch

<span style="mso-tab-count: 3;"> </span>Realm: webdoc.unil.ch

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur Authorization Rules

Dans la partie centrale de la fenêtre

<span style="mso-tab-count: 1;"> </span>Retirer toutes les rules existantes

<span style="mso-tab-count: 3;"> </span>Bouton droit de la souris

<span style="mso-tab-count: 4;"> </span>Add Allow Rule

<span style="mso-tab-count: 5;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">Specified roles or user groups: Authenticated Users</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

#### <a name="_Toc364337931"></a>Site webdoc8 (http -&gt; https)

Démarrer IIS Manager

Stopper le site par défaut

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add Web Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Site Name: webdoc8-http-https</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Application Pool: on laisse le défaut

<span style="mso-tab-count: 2;"> </span>Physical path: C:\\inetpub\\wwwroot

<span style="mso-tab-count: 2;"> </span>Binding: http, 130.223.27.179, 80

Item webdoc8-http-https

<span style="mso-tab-count: 1;"> </span>Area IIS: double-clic sur HTTP Redirect

<span style="mso-tab-count: 2;"> </span>Activer Redirect to this destination: https://webdoc8.unil.ch

### <a name="_Toc364337932"></a>IIS7: ajout du site ftpdoc8

#### <a name="_Toc364337933"></a>Site ftpdoc8

Démarrer IIS Manager

Item Sites (bouton droit de la souris)

<span style="mso-tab-count: 1;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Add FTP Site</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>FTP site name: ftpdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Physical path: [\\\\docunil\\docs](file://docunil/docs)

<span style="mso-tab-count: 2;"> </span>IP addtress: 130.223.27.147

<span style="mso-tab-count: 2;"> </span>Port: 21

<span style="mso-tab-count: 2;"> </span>Allow SSL

<span style="mso-tab-count: 2;"> </span>Sélectionner le certificat Quovadis

Authentication: Basic (seulement)

<span style="mso-tab-count: 1;"> </span>Default domain:ad.unil.ch

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">Allow Access:<span style="mso-tab-count: 1;"> </span>Specified roles or user groups</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 2;"> </span></span>Authenticated Users

Permissions: Read, Write

La propriété "Pass-through authentication" est définie automatiquement.

Item ftpdoc8

<span style="mso-tab-count: 1;"> </span>FTP Directory Browsing

<span style="mso-tab-count: 2;"> </span>Directory Listing Style: UNIX

<span style="mso-tab-count: 2;"> </span>Display the following information in directory listings : Activer « Virtual directories ».

### <a name="_Toc364337934"></a>IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)

On commence par supprimer l'ancien site webdoc8.

On crée le dossier C:\\InetPub\\webdoc et on lui met les mêmes droits que C:\\InetPub\\wwwroot .

On crée le site webdoc8

Démarrer IIS Manager

<span style="mso-tab-count: 1;"> </span>Bouton droit su Sites: Add Web Site

<span style="mso-tab-count: 2;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Site name: webdoc8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Physical path: C:\\InetPub\\webdoc</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span></span>Type: https

<span style="mso-tab-count: 2;"> </span>Ip address: 130.223.27.179

<span style="mso-tab-count: 2;"> </span>SSL certificate: webdoc.unil.ch

Le 30.08.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100830.zip

Le 15.09.2010, téléchargement depuis le site http://www.element-it.com de HTTPCommanderAJS1.0Windows.zip, je renomme ce zip en HTTPCommanderAJS1.0Windows-20100915.zip

**Dans un premier temps, on utilise la version du 30.08.2010 appelée par moi version 1.**

C'est à cette version que correspond les sources reçues.

**La version du 15.09.2010 appelée par moi version 2.**

Les sources reçues ne semble pas correspondre à cette version.

Dans le dossier C:\\InetPub\\webdoc, on déballe le .zip. Obtient le dossier HTCOMNET

On copie le contenu de HTCOMNET dans C:\\InetPub\\webdoc

Dans IIS Manager:

<span style="mso-tab-count: 1;"> </span>Clic gauche sur webdoc8

<span style="mso-tab-count: 2;"> </span>Double clic sur Authentication

<span style="mso-tab-count: 3;"> </span>Disable Anonymous Authentication

<span style="mso-tab-count: 3;"> </span>Enable Basic Authentication

<span style="mso-tab-count: 4;"> </span>Edit Basic Authentication:

Default domain: ad.unil.ch

Realm: WebDoc

<span style="mso-tab-count: 3;"> </span>Toutes les autres "Authetication" sont disable

Edition du fichier C:\\InetPub\\webdoc\\Web.config

<span style="mso-tab-count: 1;"> </span>On ajoute aroy comme administrateurs:

<span style="mso-tab-count: 2;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">&lt;add key="administrators" value="aroy,Administrator"/&gt;</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>On ajoute la clé de licence:

<span style="mso-tab-count: 2;"> </span>&lt;add key="licenseKey" value="B01DF72D1EEED3C38B90F6D8277DFD59A2EB2E4800273903F117070164338E9C"/&gt;

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">Item DOCUNIL8</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 1;"> </span>Item Feature Delegation</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 2;"> </span>Custom Delegation</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 3;"> </span></span>Mettre tout à "Read/write" si possible pour le serveur webdoc8

(pour que le fichier Web.config de HT soit pris en compte)

Donner tous les droits à ad\\aroy sur le dossier C:\\InetPub\\webdoc\\Data

Se connecter comme aroy sur https://webdoc8.unil.ch

<span style="mso-tab-count: 1;"> </span>Clic Administration

<span style="mso-tab-count: 2;"> </span>ON enlève toutes les définitions de dossier

<span style="mso-tab-count: 2;"> </span>On ajoute

<span style="mso-tab-count: 3;"> </span>Folder name: home

<span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users\\%USERNAMEUNIL%

<span style="mso-tab-count: 4;"> </span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

<span style="mso-tab-count: 3;"> </span><span lang="DE-CH" style="mso-ansi-language: DE-CH;">Folder name: users</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs\\users</span>

<span lang="DE-CH" style="mso-ansi-language: DE-CH;"><span style="mso-tab-count: 4;"> </span></span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

<span style="mso-tab-count: 3;"> </span>Folder name: groups

<span style="mso-tab-count: 4;"> </span>Phyical path: \\\\docunil.unil.ch\\docs1\\groups

<span style="mso-tab-count: 4;"> </span>Add user: regex:.\*

<span style="mso-tab-count: 4;"> </span>On laisse les permissions par défaut

### <a name="_Toc364337935"></a>IIS7: ajout du site webdoc8 avec HTTPCommander (sept 2010)

Dans C:\\InetPub\\webdocdev\\HT, je crée

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdoc\\HT\\HT1orig

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 1 originale

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdocdev\\HT\\HT1mod

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 1 modifiée

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>C:\\InetPub\\webdocdev\\HT\\HTF2orig

<span style="font-family: 'Courier New'; mso-fareast-font-family: 'Courier New';"><span style="mso-list: Ignore;">o<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Qui est la version 2 originale, authentification par formulaire

### <a name="_Toc364337936"></a>HTTPCommander: modification des sources

Je charge les sources reçues et je fais les modifications suivantes:

Modification pour avoir le dossier home de chaque utilisateur:

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Classe Utils du projet HttpCommander, méthode GetResultantPath, ajouter

if (resultantPath.Contains("%USERNAME1%"))

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">resultantPath = resultantPath.Replace("%USERNAME1%", Utils.CurrentUserName.Substring(0, 1));</span>

}

if (resultantPath.Contains("%USERNAME12%"))

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">resultantPath = resultantPath.Replace("%USERNAME12%", Utils.CurrentUserName.Substring(0, 2));</span>

}

Modification pour avoir le tri alphabétique croissant OK dans la partie droite

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier Comparer.cs , ajouter la classe

<span style="mso-spacerun: yes;"> </span><span lang="EN-GB" style="mso-ansi-language: EN-GB;">public class NameComparerAsc : IComparer&lt;FileSystemInfo&gt;</span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span></span>{

<span style="mso-spacerun: yes;"> </span>\#region IComparer&lt;FileInfo&gt; Members

<span style="mso-spacerun: yes;"> </span>public int Compare(FileSystemInfo x, FileSystemInfo y)

<span style="mso-spacerun: yes;"> </span>{

<span style="mso-spacerun: yes;"> </span>return x.Name.CompareTo(y.Name);

<span style="mso-spacerun: yes;"> </span>}

<span style="mso-spacerun: yes;"> </span>\#endregion

<span style="mso-spacerun: yes;"> </span>}

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier GridHandler.ashx.cs remplacer

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>JArray data = new JArray();</span>

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"> </span>

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = null;</span>

<span style="mso-tab-count: 1;"> </span>Par

<span style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console';"><span style="mso-spacerun: yes;"> </span></span><span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;">JArray data = new JArray();</span>

<span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-tab-count: 1;"> </span></span>

<span lang="EN-GB" style="font-size: 8.0pt; mso-bidi-font-size: 11.0pt; line-height: 115%; font-family: 'Lucida Console'; mso-ansi-language: EN-GB;"><span style="mso-spacerun: yes;"> </span>IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc();</span><span lang="EN-GB" style="mso-ansi-language: EN-GB;"><span style="mso-tab-count: 3;"> </span></span>

<span lang="EN-GB" style="mso-ansi-language: EN-GB;"> </span>

Modification pour avoir le tri alphabétique croissant OK dans la partie gauche (Folders)

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>Dans le fichier TreeHandler.ashx.cs remplacer

if (p.ListFolders)

{

<span lang="EN-GB" style="mso-ansi-language: EN-GB;">foreach (DirectoryInfo di in diRoot.GetDirectories())</span>

{

data.Add(new JObject(

Par

<span style="mso-spacerun: yes;"> </span>if (p.ListFolders)

{

IComparer&lt;FileSystemInfo&gt; comparer = new NameComparerAsc();

DirectoryInfo\[\] dirs = diRoot.GetDirectories();

Array.Sort&lt;FileSystemInfo&gt;(dirs, comparer);

<span lang="DE-CH" style="mso-ansi-language: DE-CH;">foreach (DirectoryInfo di in dirs)</span>

{

data.Add(new JObject(

<span style="mso-spacerun: yes;"> </span>

<span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"><span style="mso-list: Ignore;">·<span style="font: 7.0pt 'Times New Roman';"> </span></span></span>On regénère la solution et on remplace HttpCommander.dl dans C:\\InetPub\\webdoc\\bin. On fait déjà le test dans HT1mod du serveur webdocdev

### <a name="_Toc364337937"></a>Documentation IIS7: fichiers de configuration

Répertoire principal de configuration (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">applicationHost.config</span>):

C:\\Windows\\System32\\inetsrv\\config

Répertoire de configuration de .Net (en particulier le fichier <span style="mso-bidi-font-size: 10.0pt; line-height: 115%; font-family: 'Lucida Console';">machine.config</span>):

C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\CONFIG

Dans chaque "web content directories", il peut y avoir aussi<span style="mso-spacerun: yes;"> </span>un fichier <span style="font-family: 'Lucida Console';">web.config</span> pouvant contenir des structures de configuration IIS ou .Net applicable au niveau où il se trouve et en dessous.

In terms of inheritance hierarchy, the root file is <span style="font-family: 'Lucida Console';">machine.config</span>, then <span style="font-family: 'Lucida Console';">web.config</span> at the same directory (referred to as root <span style="font-family: 'Lucida Console';">web.config</span>), then <span style="font-family: 'Lucida Console';">applicationHost.config</span>, then the optional <span style="font-family: 'Lucida Console';">web.config</span> files along the namespace.

In some cases it is useful to have the web.config file include some other .config file. This can be done by using the configSource attribute. Currently it is limited to point to relative physical paths in sub-directories, for security reasons (i.e. file A can only include file B if B is in physical subdirectory of A). Here's a basic example that shows how to use configSource:

&lt;!-- in inetsrv\\applicationHost.config --&gt;

&lt;configuration&gt;

<span style="mso-spacerun: yes;"> </span>&lt;system.webServer&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- mimemaps moved by the customer to a different file --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;!-- so that this file is shorter and more readable --&gt;

<span style="mso-spacerun: yes;"> </span>&lt;staticContent configSource="staticContent.config"/&gt;

…

### <a name="_Toc364337938"></a>Activer les Custom Properties (06.03.2013)

## <a name="_Toc364337939"></a>Enabling Custom Properties Using IIS Manager

Voir http://www.iis.net/learn/publish/using-webdav/how-to-use-custom-properties-with-webdav

1. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">In IIS Manager, in the **Connections** pane, expand the **Sites** node in the tree, then click the **Default Web Site**.</span>
2. As shown in the image below, double-click the **WebDAV Authoring Rules** feature.  
    [<span style="color: blue; mso-fareast-language: FR-CH; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i3.iis.net/media/7185953/how-to-use-custom-properties-with-webdav-351-image001.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-caoxs2r3.png)</span></span>](http://i3.iis.net/media/7185953/how-to-use-custom-properties-with-webdav-351-image001.png?cdn_id=2013-02-18-002)
3. When the **WebDAV Authoring Rules** page is displayed, click the **WebDAV Settings** task in the **Actions** pane.  
    [<span style="color: blue; mso-fareast-language: FR-CH; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i2.iis.net/media/7185947/how-to-use-custom-properties-with-webdav-351-image003.png?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-qaitxghr.png)</span></span>](http://i2.iis.net/media/7185947/how-to-use-custom-properties-with-webdav-351-image003.png?cdn_id=2013-02-18-002)
4. <span lang="DE-CH" style="mso-ansi-language: DE-CH;">When the **WebDAV Settings** page is displayed, specify the following options: </span>

- <span style="mso-fareast-language: FR-CH; mso-no-proof: yes;">![](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-qujawzgi.png)</span>

601. Click on the \[...\] button to launch the Namespace Collection Editor
602. Click on **<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">Add </span>**and then choose "**<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">webdav\_simple\_prop</span>**" from the drop-down list
603. Specify '\*' for the XmlNameSpace and then click on **<span style="font-family: 'Verdana',sans-serif; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi;">OK</span>**.
[<span style="color: blue; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![http://i3.iis.net/media/7185959/how-to-use-custom-properties-with-webdav-351-6.jpg?cdn_id=2013-02-18-002](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-v5qc3zei.jpeg)</span></span>](http://i3.iis.net/media/7185959/how-to-use-custom-properties-with-webdav-351-6.jpg?cdn_id=2013-02-18-002)

8. Once you have completed the above steps, click the **Apply** task in the **Actions** pane.

### <a name="_Toc364337940"></a>Nouvel essai d’install de fileman sur win2008 (mars 2013)

Voir : [http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx](http://www.alexthissen.nl/blogs/main/archive/2008/02/18/running-classic-asp-on-iis-7.aspx)

# <a name="_Toc364337941"></a><span style="font-size: 18.0pt; font-family: 'Helvetica',sans-serif; color: black; letter-spacing: -.75pt; font-weight: normal;">Running classic ASP on IIS 7</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It's not really difficult to run classic ASP on Internet Information Server 7, but there are some bumps down the road. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Here's a little help to get you started:</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">First of all, check whether you have the Windows feature for ASP installed. Go to Programs and Features in Control Panel and click Turn Windows features on and off. Navigate down the tree of features and make sure ASP is checked.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPWindowsFeature](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-0rogsjki.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPWindowsFeature_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Next, go to Internet Information Server (IIS) Manager (run inetmgr from the Start Search box to get there fast) and create a new application pool for ASP.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPApplicationPool](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ildsoeyo.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPApplicationPool_2.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">This should be a "No managed code" and "Classic" app pool if you do not intend to mix and match the .NET Framework and ASP.NET in the same pool. The Integrated pipeline would not make sense, because it only applies to integrating HTTP modules that are either native or managed .NET implementations.</span>

<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: EN-GB;">I had some difficulties setting the identity of the application pool to the new built-in IUSR account. This account replaces the former computer account called IUSR\_</span>*<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222; mso-ansi-language: EN-GB;">machinename</span>*<span lang="EN-GB" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: EN-GB;">. Same goes for the IIS\_WPG group for application pools that is replaced by the builtin group IIS\_IUSRS. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Read more about it</span><span class="apple-converted-space"><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222; mso-ansi-language: DE-CH;"> </span></span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">[<span lang="DE-CH" style="mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666; mso-ansi-language: DE-CH;">here</span>](http://www.iis.net/articles/view.aspx/IIS7/Managing-IIS7/Configuring-Security/Understanding-the-Built-In-User-and-Group-Accounts)</span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">. Under the Advanced Settings of the "ASP" application pool you will find the Identity property under Process Model. The default value is NetworkService. I found no way to set this to the BUILTIN\\IUSR by choosing SpecificUser and setting BUILTIN\\USR under Identity SpecificUser Credentials. I guess that you shouldn't be running ASP sites under IUSR anymore. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">It is used for anonymous users automatically.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPIUSRIdentity](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-12gcjhhz.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPIUSRIdentity_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">To easy the administration effort, there is a way to turn off the IUSR account without turning off anonymous identification:</span>

<span style="font-size: 10.0pt; font-family: 'Lucida Console'; color: #222222;">appcmd set config -section:anonymousAuthentication -userName:"" --password</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">And lastly, create your new web application. For example, copy the ASP site folder under C:\\inetpub\\wwwroot, where the default installation location of "Default Web Site" of IIS. Convert the folder (or virtual directory) to an application and choose "ASP" as the application pool. </span><span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">Check whether the .asp extension is mapped to the correct handler and whether it is enabled. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Also make sure that the identity of your application pool has sufficient rights (and no more than that) to access the files in the web site's folder.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![IISASPEnabled](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ydz569wb.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/IISASPEnabled_4.png)</span>

<span lang="DE-CH" style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222; mso-ansi-language: DE-CH;">One final note: whenever there is a error in the ASP website, and you get this error message: "An error occurred on the server when processing the URL. </span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Please contact the system administrator",</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPErrorMessage](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-jnkuljus.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPErrorMessage_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">it's probably because by default no error messages are sent to the client in IIS7. Change the setting "Send Errors To Browser" of your web application under the ASP icon to reveal such errors.</span>

<span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #666666; mso-no-proof: yes; text-decoration: none; text-underline: none;"><span style="mso-ignore: vglayout;">![ASPReturnErrorMessages](https://wiki.unil.ch/ci/uploads/images/gallery/2026-12/embedded-image-ti88f814.png)</span></span>](http://www.alexthissen.nl/blogs/main/WindowsLiveWriter/RunningclassicASPonIIS7_13357/ASPReturnErrorMessages_2.png)</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Side note: if you get the nice Internet Explorer 500 error message and no particular details at all, remember to uncheck the "Show friendly HTTP error messages" checkbox under Internet Options, Advanced of IE.</span>

<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">Some</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666;">more tips for classic ASP developers on IIS7</span>](http://blogs.iis.net/bills/archive/2007/05/21/tips-for-classic-asp-developers-on-iis7.aspx)</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">can be found on</span><span class="apple-converted-space"><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #222222;"> </span></span><span style="color: black; mso-color-alt: windowtext;">[<span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; mso-fareast-font-family: 'Times New Roman'; mso-fareast-theme-font: major-fareast; color: #666666;">Bills' IIS blog</span>](http://blogs.iis.net/bills/default.aspx)</span><span style="font-size: 10.5pt; font-family: 'Andale Mono',serif; color: #222222;">.</span>