<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Blog de Mathieu Chateau</title>
	
	<link>http://www.lotp.fr</link>
	<description>Architecture / Microsoft / Réseau / Sécurité</description>
	<lastBuildDate>Sat, 14 Jan 2012 11:30:48 +0000</lastBuildDate>
	<language>fr</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/lotp" /><feedburner:info uri="lotp" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly></feedburner:browserFriendly><item>
		<title>Cannot start queue. SSP:   SiteUID:  Url:  Queue: ProjectQ</title>
		<link>http://www.lotp.fr/2012/01/cannot-start-queue-siteuid-url-queue-projectq/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=cannot-start-queue-siteuid-url-queue-projectq</link>
		<comments>http://www.lotp.fr/2012/01/cannot-start-queue-siteuid-url-queue-projectq/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 11:30:48 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Project Server]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1171</guid>
		<description><![CDATA[&#160;
Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Event ID: 7626
Task Category: Queue
Level: Critical
Description:
Cannot start queue. SSP: &#60;GUID Project server application&#62; SiteUID: &#60;GUID Site&#62; Url: Queue: ProjectQ
Vous avez également son frère jumeau, identique mais  [...]]]></description>
			<content:encoded><![CDATA[<p>&nbsp;</p>
<pre>Log Name: Application
Source: Microsoft-SharePoint Products-Project Server
Event ID: 7626
Task Category: Queue
Level: Critical
Description:
Cannot start queue. SSP: &lt;GUID Project server application&gt; SiteUID: &lt;GUID Site&gt; Url: Queue: ProjectQ</pre>
<p>Vous avez également son frère jumeau, identique mais avec Url:  Queue: TimesheetQ</p>
<p><span style="color: #ff0000;">On va corriger, ça, mais pour les prochaines fois, il faut d&#8217;abord supprimer l&#8217;instance PWA et seulement après l&#8217;Application Web.</span></p>
<p><span style="color: #008000;">#</span><span style="color: #008000;">Récupérer l&#8217;application project</span></p>
<pre><span style="color: #800080;">$a</span><span style="color: #ff0000;">=</span><span style="color: #000000;"> get-spserviceapplication | ? {</span><span style="color: #800080;">$_</span><span style="color: #000000;">.Typename </span><span style="color: #ff0000;">-like </span><span style="color: #800000;">"</span><span style="color: #800000;">*Project*</span><span style="color: #800000;">"</span><span style="color: #000000;">} </span></pre>
<pre><span style="color: #008000;">#</span><span style="color: #008000;">Vérifier qu'on a bien le pwa fantôme (mettre le guid siteUID)</span></pre>
<pre><span style="color: #800080;">$bad</span><span style="color: #ff0000;">=</span><span style="color: #800080;">$a</span><span style="color: #000000;">.SiteCollection | ?{</span><span style="color: #800080;">$_</span><span style="color: #000000;">.SiteID </span><span style="color: #ff0000;">-eq </span><span style="color: #800000;">"</span><span style="color: #800000;">a2c27d0d-1e66-43af-94d2-83b1b268658f</span><span style="color: #800000;">"</span><span style="color: #000000;">} </span></pre>
<pre><span style="color: #800080;">$bad</span><span style="color: #000000;">| </span><span style="color: #5f9ea0; font-weight: bold;">select</span><span style="color: #000000;"> id,name,siteid,webappid |</span><span style="color: #5f9ea0; font-weight: bold;">fl</span><span style="color: #000000;"> </span></pre>
<p><span style="color: #000000;">Id : 4d4389d1-e32b</span><span style="color: #ff0000;">-</span><span style="color: #000000;">43a3</span><span style="color: #ff0000;">-</span><span style="color: #000000;">8043</span><span style="color: #ff0000;">-</span><span style="color: #000000;">9105a83fceb8<br />
</span><span style="color: #000000;">Name : PWA fantome a supprimer:<br />
SiteId : a2c27d0d</span><span style="color: #ff0000;">-</span><span style="color: #000000;">1e66</span><span style="color: #ff0000;">-</span><span style="color: #000000;">43af</span><span style="color: #ff0000;">-</span><span style="color: #000000;">94d2</span><span style="color: #ff0000;">-</span><span style="color: #000000;">83b1b268658f<br />
WebAppId : 9a618b96</span><span style="color: #ff0000;">-</span><span style="color: #000000;">6b00</span><span style="color: #ff0000;">-</span><span style="color: #000000;">472c</span><span style="color: #ff0000;">-</span><span style="color: #000000;">93f7</span><span style="color: #ff0000;">-</span><span style="color: #000000;">4c5f53822050 </span></p>
<pre><span style="color: #008000;">#</span><span style="color: #008000;">Si c'est ok, on supprime! </span></pre>
<pre><span style="color: #800080;">$bad</span><span style="color: #000000;">.Delete() </span></pre>
<pre><span style="color: #008000;">#</span><span style="color: #008000;">On relance les commandes pour valider qu'il a disparu</span></pre>
<pre><span style="color: #800080;">$bad</span><span style="color: #ff0000;">=</span><span style="color: #800080;">$a</span><span style="color: #000000;">.SiteCollection | ?{</span><span style="color: #800080;">$_</span><span style="color: #000000;">.SiteID </span><span style="color: #ff0000;">-eq </span><span style="color: #800000;">"</span><span style="color: #800000;">a2c27d0d-1e66-43af-94d2-83b1b268658f</span><span style="color: #800000;">"</span><span style="color: #000000;">} </span></pre>
<pre><span style="color: #800080;">$bad</span><span style="color: #000000;">| </span><span style="color: #5f9ea0; font-weight: bold;">select</span><span style="color: #000000;"> id,name,siteid,webappid |</span><span style="color: #5f9ea0; font-weight: bold;">fl</span></pre>
<p>&nbsp;</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1171&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2012/01/cannot-start-queue-siteuid-url-queue-projectq/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Server 2010 – could not be deleted because other objects depend on it</title>
		<link>http://www.lotp.fr/2012/01/project-server-2010-could-not-be-deleted-because-other-objects-depend-on-it/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=project-server-2010-could-not-be-deleted-because-other-objects-depend-on-it</link>
		<comments>http://www.lotp.fr/2012/01/project-server-2010-could-not-be-deleted-because-other-objects-depend-on-it/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 23:47:12 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1168</guid>
		<description><![CDATA[Problème:
Suite à la suppression partielle d&#8217;un site PWA, la recréation du même site échoue avec le message suivant:
An object in the SharePoint administrative framework, "ProjectDatabase Name=ProjectServer_Archive", could not be deleted because other objects depend on it. Update all of these  [...]]]></description>
			<content:encoded><![CDATA[<h1><strong>Problème:</strong></h1>
<p>Suite à la suppression partielle d&#8217;un site PWA, la recréation du même site échoue avec le message suivant:</p>
<pre>An object in the SharePoint administrative framework, "ProjectDatabase Name=ProjectServer_Archive", could not be deleted because other objects depend on it. Update all of these dependants to point to null or different objects and
retry this operation. The dependant objects are as follows:ProjectSite Name=c1a6cdf0-cf4b-452f-8fea-ef339e8be2cc</pre>
<h1>Solution:</h1>
<p>La solution que j&#8217;ai appliqué est de supprimer le site pseudo fantôme:</p>
<pre>$a=(Get-SPServiceApplication | ?{$_.Name -match "project"}).SiteCollection | ?{$_.SiteID -match "c1a6cdf0-cf4b-452f-8fea-ef339e8be2cc"}
$a
$a.delete()</pre>
<p>et voilà!</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1168&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2012/01/project-server-2010-could-not-be-deleted-because-other-objects-depend-on-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 – La période d’évaluation de ce produit a expiré</title>
		<link>http://www.lotp.fr/2012/01/sharepoint-2010-la-periode-devaluation-de-ce-produit-a-expire/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sharepoint-2010-la-periode-devaluation-de-ce-produit-a-expire</link>
		<comments>http://www.lotp.fr/2012/01/sharepoint-2010-la-periode-devaluation-de-ce-produit-a-expire/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 17:58:28 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1165</guid>
		<description><![CDATA[Après avoir converti une ferme SharePoint 2010 standard en entreprise, j&#8217;ai eu le message d&#8217;erreur suivant sur le portail:

&#160;
Solution: Passer SharePoint 2010 Products Configuration Wizard sur les frontaux web.
]]></description>
			<content:encoded><![CDATA[<p>Après avoir converti une ferme SharePoint 2010 standard en entreprise, j&#8217;ai eu le message d&#8217;erreur suivant sur le portail:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2012/01/2012-01-05-16h15_34.jpg"><img class="aligncenter size-full wp-image-1166" title="sharepoint_evaluation_period_expired" src="http://www.lotp.fr/wp-content/uploads/2012/01/2012-01-05-16h15_34.jpg" alt="" width="581" height="256" /></a></p>
<p>&nbsp;</p>
<p>Solution: Passer SharePoint 2010 Products Configuration Wizard sur les frontaux web.</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1165&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2012/01/sharepoint-2010-la-periode-devaluation-de-ce-produit-a-expire/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migration Lotus vers Office 365: not supported calendar message.ics</title>
		<link>http://www.lotp.fr/2011/12/migration-lotus-vers-office-365-not-supported-calendar-message-ics/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=migration-lotus-vers-office-365-not-supported-calendar-message-ics</link>
		<comments>http://www.lotp.fr/2011/12/migration-lotus-vers-office-365-not-supported-calendar-message-ics/#comments</comments>
		<pubDate>Mon, 12 Dec 2011 14:02:13 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[lotus]]></category>
		<category><![CDATA[meeting]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1155</guid>
		<description><![CDATA[Je suis sur un projet de migration de Lotus Notes vers Office 365. Pendant la cohabitation, certains rendez-vous Lotus ne sont pas lisibles sur Office 365 (OWA et Outlook 2010). A la place de l&#8217;invitation, on reçoit un mail avec 2 pièces jointes:

Lotus permet de créer des rendez-vous d&#8217;un type  [...]]]></description>
			<content:encoded><![CDATA[<p>Je suis sur un projet de migration de Lotus Notes vers Office 365. Pendant la cohabitation, certains rendez-vous Lotus ne sont pas lisibles sur Office 365 (OWA et Outlook 2010). A la place de l&#8217;invitation, on reçoit un mail avec 2 pièces jointes:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/12/2011-12-12-14h55_27.jpg"><img class="aligncenter size-medium wp-image-1157" title="not supported calendar message.ics" src="http://www.lotp.fr/wp-content/uploads/2011/12/2011-12-12-14h55_27-300x42.jpg" alt="" width="300" height="42" /></a></p>
<p>Lotus permet de créer des rendez-vous d&#8217;un type particulier : personnalisé. Cela permet d&#8217;avoir un récurrence, mais sans suite. On peut choisir x dates arbitrairements:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/12/2011-12-12-14h54_29.jpg"><img class="aligncenter size-medium wp-image-1156" title="Lotus Notes custom recurring meeting" src="http://www.lotp.fr/wp-content/uploads/2011/12/2011-12-12-14h54_29-300x224.jpg" alt="" width="300" height="224" /></a></p>
<p>Il suffit d&#8217;enregistrer le fichier ICS et de l&#8217;ouvrir avec un éditeur de texte:</p>
<pre>RDATE;VALUE=PERIOD:20111212T134500Z/20111212T144500Z
 ,20111214T134500Z/20111214T144500Z,20111229T134500Z/20111229T144500Z</pre>
<p>Outlook ne permet de créer ce type de rendez-vous ,et ne permet donc pas de le visualiser.</p>
<p>J&#8217;ai essayé avec GoogleApps, il ouvre bien le rendez-vous mais ne respecte pas les horaires des répétitions</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1155&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/12/migration-lotus-vers-office-365-not-supported-calendar-message-ics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DPM 2010: replica is inconsistent</title>
		<link>http://www.lotp.fr/2011/10/dpm-2010-replica-is-inconsistent/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=dpm-2010-replica-is-inconsistent</link>
		<comments>http://www.lotp.fr/2011/10/dpm-2010-replica-is-inconsistent/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 15:00:34 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1146</guid>
		<description><![CDATA[Peu après avoir installé DPM, on constate que les sauvegardes fonctionnent sauf les Bare Metal Recovery et System State sur les Windows 2008:
Lancer un perform consistency check ramène au même résultat. C&#8217;est en fait l&#8217;eventlog qui éclaire la cause du problème: Il faut installer la fonctionnalité  [...]]]></description>
			<content:encoded><![CDATA[<p>Peu après avoir installé DPM, on constate que les sauvegardes fonctionnent sauf les Bare Metal Recovery et System State sur les Windows 2008:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/10/dpm-replica-is-inconsistent.jpg"><img class="aligncenter size-full wp-image-1147" title="dpm-replica-is-inconsistent" src="http://www.lotp.fr/wp-content/uploads/2011/10/dpm-replica-is-inconsistent.jpg" alt="" width="146" height="48" /></a>Lancer un <em>perform consistency check</em> ramène au même résultat. C&#8217;est en fait l&#8217;eventlog qui éclaire la cause du problème: Il faut installer la fonctionnalité de sauvegarde Windows:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/10/dpm-Windows-backup.jpg"><img class="aligncenter size-full wp-image-1148" title="dpm-Windows-backup" src="http://www.lotp.fr/wp-content/uploads/2011/10/dpm-Windows-backup.jpg" alt="" width="869" height="436" /></a></p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1146&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/10/dpm-2010-replica-is-inconsistent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Orange remet le mot de passe par défaut sur votre livebox 2</title>
		<link>http://www.lotp.fr/2011/10/orange-remet-le-mot-de-passe-par-defaut-sur-votre-livebox-2/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=orange-remet-le-mot-de-passe-par-defaut-sur-votre-livebox-2</link>
		<comments>http://www.lotp.fr/2011/10/orange-remet-le-mot-de-passe-par-defaut-sur-votre-livebox-2/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 07:13:29 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1142</guid>
		<description><![CDATA[J&#8217;ai été effaré d&#8217;apprendre par l&#8217;excellent site Korben qu&#8217;Orange a remis le mot de passe &#171;&#160;admin&#160;&#187; sur les livebox 2 via un nouveau firmware:
http://korben.info/mot-de-passe-livebox.html
&#160;
Je ne peux pas comprendre comment une entreprise (s&#8217;en est-une ?) peut se permettre de pousser un nouveau  [...]]]></description>
			<content:encoded><![CDATA[<p>J&#8217;ai été effaré d&#8217;apprendre par l&#8217;excellent site <a title="Korben" href="http://korben.info/" target="_blank">Korben </a>qu&#8217;Orange a remis le mot de passe &laquo;&nbsp;admin&nbsp;&raquo; sur les livebox 2 via un nouveau firmware:</p>
<p><a href="http://korben.info/mot-de-passe-livebox.html" target="_blank">http://korben.info/mot-de-passe-livebox.html</a></p>
<p>&nbsp;</p>
<p>Je ne peux pas comprendre comment une entreprise (s&#8217;en est-une ?) peut se permettre de pousser un nouveau firmware qui remet les mots de passes par défaut sans prévenir les utilisateurs (ou bien de le faire tout court?).</p>
<p>Ma livebox a bien été victime de cette mise à jour (c&#8217;est pour ça qu&#8217;elle a planté il y a peu ?), avec le mot de passe usine.</p>
<p>Je n&#8217;ose même pas imaginer pour autant le nombre de personnes qui travaillent sur le projet &laquo;&nbsp;LiveBox&nbsp;&raquo;, et qui ont dû valider en réunion cette action &laquo;&nbsp;<em>oui oui vas-y, reset le mot de passe personne n&#8217;y verra rien</em>&laquo;&nbsp;.</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/10/enervement.png"><img class="aligncenter size-full wp-image-1143" title="enervement" src="http://www.lotp.fr/wp-content/uploads/2011/10/enervement.png" alt="" width="244" height="282" /></a></p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1142&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/10/orange-remet-le-mot-de-passe-par-defaut-sur-votre-livebox-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Powershell: Project Server Set-SPProjectWebInstance &amp; miroir SQL</title>
		<link>http://www.lotp.fr/2011/09/powershell-project-server-set-spprojectwebinstance-miroir-sql/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=powershell-project-server-set-spprojectwebinstance-miroir-sql</link>
		<comments>http://www.lotp.fr/2011/09/powershell-project-server-set-spprojectwebinstance-miroir-sql/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 22:27:21 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[mirroir]]></category>
		<category><![CDATA[project]]></category>
		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1137</guid>
		<description><![CDATA[Si vous devez mettre en mirroir SQL les bases project, vous trouverez sur le net 2 choses à faire parmi pas mal:

Set-SPProjectWebInstance en précisant PrimaryDBMirrorServer et ReportingDBMirrorServer

AddFailoverServiceInstance


D&#8217;après mes essais, la seconde ne suffit pas à elle seule. Et là  [...]]]></description>
			<content:encoded><![CDATA[<p>Si vous devez mettre en mirroir SQL les bases project, vous trouverez sur le net 2 choses à faire parmi pas mal:</p>
<ul>
<li><span style="line-height: 18px;">Set-SPProjectWebInstance en précisant <strong>PrimaryDBMirrorServer</strong> et <strong>ReportingDBMirrorServer</strong><br />
</span></li>
<li><span style="line-height: 18px;"><strong>AddFailoverServiceInstance<br />
</strong></span></li>
</ul>
<div><span style="line-height: 18px;">D&#8217;après mes essais, la seconde ne suffit pas à elle seule. Et là commence la joie des cmdlet pas tout à fait finie&#8230;Je m&#8217;explique: Cette commande permet bien de configurer un serveur SQL miroir, mais son équivalent en Get- ne permet pas de voir ces valeurs!<br />
</span></div>
<div><span style="line-height: 18px;"><span style="line-height: 18px;"><span style="line-height: 18px;"><br />
Donc pas moyen de savoir si quelqu&#8217;un l&#8217;a fait avant vous, ou si les paramètres sont les bons..</span></span></span>D&#8217;autre part, quand on a beaucoup d&#8217;instance, il est intéressant d&#8217;utiliser son homologue Get-SPProjectWebInstance pour faire une boucle. Sauf que ce dernier n&#8217;est pas ergonomique en plus de ne pas donner toutes les propriétés. Voici un script qui:</p>
<ul>
<li><span style="line-height: 18px;">Récupère la liste de toutes url PWA via l&#8217;application de service (non non ils ne pouvaient pas le programmer par défaut)</span></li>
<li><span style="line-height: 18px;">Enlève le &laquo;&nbsp;/&nbsp;&raquo; à la fin de l&#8217;url (sinon le Set- plante !)</span></li>
<li><span style="line-height: 18px;">Repositionne tous les paramètres à l&#8217;identique (sisi il faut) et ajoute l&#8217;instance miroir (ouf).</span></li>
</ul>
<p>&nbsp;</p>
</div>
<div>
<pre><span style="color: #800080;">$work</span><span style="color: #000000;">=Get-SPServiceApplication | ?{</span><span style="color: #800080;">$_</span><span style="color: #000000;">.DisplayName </span><span style="color: #ff0000;">-match</span><span style="color: #800000;">"</span><span style="color: #800000;">Project</span><span style="color: #800000;">"</span><span style="color: #000000;">} | Get-SPProjectWebInstance
</span><span style="color: #0000ff;">foreach</span><span style="color: #000000;"> (</span><span style="color: #800080;">$item </span><span style="color: #0000ff;">in </span><span style="color: #800080;">$work</span><span style="color: #000000;">)
{
</span><span style="color: #5f9ea0; font-weight: bold;">Write-Output</span><span style="color: #800000;">"</span><span style="color: #800000;">doing $($item.url)</span><span style="color: #800000;">"
</span><span style="color: #800080;">$mirror</span><span style="color: #ff0000;">=</span><span style="color: #800080;">$item</span><span style="color: #000000;">.PrimaryServer </span><span style="color: #ff0000;">-replace</span><span style="color: #000000;"> (</span><span style="color: #800000;">"</span><span style="color: #800000;">sqlone</span><span style="color: #800000;">"</span><span style="color: #000000;">,</span><span style="color: #800000;">"</span><span style="color: #800000;">sqltwo</span><span style="color: #800000;">"</span><span style="color: #000000;">)
Set-SPProjectWebInstance -Url (</span><span style="color: #800080;">$item</span><span style="color: #000000;">.Url).ToString().TrimEnd(</span><span style="color: #800000;">'</span><span style="color: #800000;">/</span><span style="color: #800000;">'</span><span style="color: #000000;">) </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-AdminAccount </span><span style="color: #800080;">$item</span><span style="color: #000000;">.AdminAccount </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-PrimaryDbserver </span><span style="color: #800080;">$item</span><span style="color: #000000;">.PrimaryServer </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-ArchiveDbname </span><span style="color: #800080;">$item</span><span style="color: #000000;">.ArchiveDatabase </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-DraftDbname </span><span style="color: #800080;">$item</span><span style="color: #000000;">.DraftDatabase </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-PublishedDbname </span><span style="color: #800080;">$item</span><span style="color: #000000;">.PublishedDatabase </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-ReportingDbServer </span><span style="color: #800080;">$item</span><span style="color: #000000;">.ReportingServer </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-ReportingDbname </span><span style="color: #800080;">$item</span><span style="color: #000000;">.ReportingDatabase </span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-PrimaryDBMirrorServer </span><span style="color: #800080;">$mirror</span><span style="color: #5f9ea0; font-weight: bold;">`</span><span style="color: #000000;">
-ReportingDBMirrorServer </span><span style="color: #800080;">$mirror</span><span style="color: #000000;">
} </span></pre>
</div>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1137&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/09/powershell-project-server-set-spprojectwebinstance-miroir-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: People search relevance is not optimized when the Active Directory has errors in the manager reporting structure</title>
		<link>http://www.lotp.fr/2011/09/sharepoint-2010-people-search-relevance-is-not-optimized-when-the-active-directory-has-errors-in-the-manager-reporting-structure/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=sharepoint-2010-people-search-relevance-is-not-optimized-when-the-active-directory-has-errors-in-the-manager-reporting-structure</link>
		<comments>http://www.lotp.fr/2011/09/sharepoint-2010-people-search-relevance-is-not-optimized-when-the-active-directory-has-errors-in-the-manager-reporting-structure/#comments</comments>
		<pubDate>Sat, 17 Sep 2011 11:11:48 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[leader]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1134</guid>
		<description><![CDATA[L&#8217;analyseur SharePoint remonte souvent cet avertissement:

Il faut commencer par identifier les comptes AD sans manager. Par exemple avec adfind:
adfind -f "(&#38;(objectclass=user)(!(manager=*)))" samaccountname -qlist
Il suffit ensuite, pour ceux ne devant pas avoir de manager, d&#8217;utiliser les  [...]]]></description>
			<content:encoded><![CDATA[<p>L&#8217;analyseur SharePoint remonte souvent cet avertissement:</p>
<p><a href="http://www.lotp.fr/wp-content/uploads/2011/09/People-search-relevance-is-not-optimized-when-the-Active-Directory.png"><img class="aligncenter size-full wp-image-1135" title="People search relevance is not optimized when the Active Directory" src="http://www.lotp.fr/wp-content/uploads/2011/09/People-search-relevance-is-not-optimized-when-the-Active-Directory.png" alt="" width="620" height="523" /></a></p>
<p>Il faut commencer par identifier les comptes AD sans manager. Par exemple avec <a title="Adfind by joeware" href="http://www.joeware.net/freetools/tools/adfind/index.htm" target="_blank">adfind</a>:</p>
<pre>adfind -f "(&amp;(objectclass=user)(!(manager=*)))" samaccountname -qlist</pre>
<p>Il suffit ensuite, pour ceux ne devant pas avoir de manager, d&#8217;utiliser les commandes Add-SPProfileleader comme indiqué dans le message.</p>
<p>&nbsp;</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1134&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/09/sharepoint-2010-people-search-relevance-is-not-optimized-when-the-active-directory-has-errors-in-the-manager-reporting-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Server 2010 SP1: échec de génération du cube</title>
		<link>http://www.lotp.fr/2011/09/project-server-2010-sp1-echec-de-generation-du-cube/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=project-server-2010-sp1-echec-de-generation-du-cube</link>
		<comments>http://www.lotp.fr/2011/09/project-server-2010-sp1-echec-de-generation-du-cube/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 14:31:36 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[olap]]></category>
		<category><![CDATA[project]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1129</guid>
		<description><![CDATA[Contexte:

Project Server 2010 SP1
Génération d&#8217;un cube OLAP

Problème:
Après avoir pourtant fonctionné, la génération du cube ne se fait plus.
Symptômes:
Depuis l&#8217;eventlog
Source:Project Server   Event ID:7704
Erreur PS : GeneralQueueJobFailed (26000)
A queue job has failed. This is a general  [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Contexte:</strong></p>
<ul>
<li><span style="line-height: 18px;">Project Server 2010 SP1</span></li>
<li><span style="line-height: 18px;">Génération d&#8217;un cube OLAP</span></li>
</ul>
<div><strong><span style="line-height: 18px;">Problème:</span></strong></div>
<div>Après avoir pourtant fonctionné, la génération du cube ne se fait plus.</div>
<div><strong>Symptômes:</strong></div>
<div><span style="text-decoration: underline;">Depuis l&#8217;eventlog</span></div>
<div>Source:Project Server   Event ID:7704</div>
<div><span style="line-height: 18px;">Erreur PS : GeneralQueueJobFailed (26000)</span></div>
<p>A queue job has failed. This is a general error logged by the Project Server Queue everytime a job fails &#8211; for effective troubleshooting use this error message with other more specific error messages (if any), the Operations guide (which documents more details about queued jobs) and the trace log (which could provide more detailed context). More information about the failed job follows. GUID of the failed job: . Name of the computer that processed this job: MyServer (to debug further, you need to look at the trace log from this computer). Failed job type: CBSRequest. Failed sub-job type: CBSQueueMessage. Failed sub-job ID: 2. Stage where sub-job failed: (this is useful when one sub-job has more than one logical processing stages).</p>
<p><span style="text-decoration: underline;">Dans les logs SharePoint (ULS):</span></p>
<p>Cette méthode peut uniquement convertir les revendications d’identité et uniquement lorsqu’il existe une conversion logique.  Parameter name: encodedClaim<br />
ConvertWindowsClaimToWindowsPrincipalName() encountered error: Some or all identity references could not be translated.</p>
<p>&nbsp;</p>
<p><strong>Résolution:</strong></p>
<p>Parmi les utilisateurs déclarés dans Project, un ou plusieurs ont disparus d&#8217;Active Directory.<br />
Normalement, cela est géré automatiquement si:</p>
<ul>
<li><span style="line-height: 18px;">Le service &laquo;&nbsp;user profile Synchronization&nbsp;&raquo; fonctionne,</span></li>
<li><span style="line-height: 18px;">Les groupes project sont synchronisés avec des groupes AD</span></li>
<li><span style="line-height: 18px;">Une synchro AD et une synchro des groupes Project ont tourné depuis la suppression.</span></li>
</ul>
<div><span style="line-height: 18px;">Si vous n&#8217;avez pas de synchro AD ou qu&#8217;elle est cassée, vous voici donc ici. Ce message d&#8217;erreur ne semble se produire qu&#8217;à partir du SP1 et quand on est en mode Claim.</span></div>
<div>Pour résoudre manuellement, il faut vérifier si chaque user existe toujours dans l&#8217;AD.</div>
<div>Voici un script permettant d&#8217;automatiser ce dur labeur:</div>
<p><span style="color: #5f9ea0; font-weight: bold;">import-module </span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">ActiveDirectory</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #000000;"><br />
</span><span style="color: #800080;">$pwaUrl</span><span style="color: #ff0000;">=</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">http://myspssite/pwa</span><span style="color: #800000;">&laquo;&nbsp;</span><span><br />
</span><span style="color: #800080;">$svcProjectUrl</span><span style="color: #ff0000;">=</span><span style="color: #800080;">$pwaUrl</span><span style="color: #ff0000;">+</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">/_vti_bin/PSI/Resource.asmx?wsdl</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #000000;"><br />
</span><span style="color: #800080;">$c</span><span style="color: #ff0000;">=</span><span style="color: #5f9ea0; font-weight: bold;">Get-Credential</span><span style="color: #000000;"><br />
</span><span style="color: #800080;">$svcProjectProxy</span><span style="color: #ff0000;">=</span><span style="color: #5f9ea0; font-weight: bold;">New-WebServiceProxy </span><span style="color: #5f9ea0; font-style: italic;">-uri </span><span style="color: #800080;">$svcProjectUrl </span><span style="color: #5f9ea0; font-style: italic;">-credential </span><span style="color: #800080;">$c</span></p>
<p><span style="color: #800080;">$users</span><span style="color: #ff0000;">=</span><span style="color: #800080;">$svcProjectProxy</span><span style="color: #000000;">.ReadUserList(</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">Active</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #000000;">).Resources<br />
</span><span style="color: #0000ff;">foreach</span><span style="color: #000000;"> (</span><span style="color: #800080;">$u </span><span style="color: #0000ff;">in </span><span style="color: #800080;">$users</span><span style="color: #000000;">)<br />
{<br />
</span><span style="color: #800080;">$temp</span><span style="color: #ff0000;">=</span><span style="color: #000000;"> [</span><span style="color: #008080;">regex</span><span style="color: #000000;">]::</span><span style="color: #8b4513;">Replace</span><span style="color: #000000;">(</span><span style="color: #800080;">$u</span><span style="color: #000000;">.WRES_ACCOUNT, </span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">^.*\\</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #000000;">, </span><span style="color: #800000;">&laquo;&nbsp;&nbsp;&raquo;</span><span style="color: #000000;">);<br />
</span><span style="color: #0000ff;">if</span><span style="color: #000000;"> ((get-aduser </span><span style="color: #800080;">$temp</span><span style="color: #000000;">) </span><span style="color: #ff0000;">-eq </span><span style="color: #800080;">$false</span><span style="color: #000000;">)<br />
{<br />
</span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #800000;">missing ad user </span><span style="color: #800000;">&laquo;&nbsp;</span><span style="color: #ff0000;">+</span><span style="color: #000000;">(</span><span style="color: #800080;">$u</span><span style="color: #000000;">.RES_NAME)<br />
}<br />
}</span></p>
<p>&nbsp;</p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1129&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/09/project-server-2010-sp1-echec-de-generation-du-cube/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Essayez MS Project Server gratuitement pendant 15 jours!</title>
		<link>http://www.lotp.fr/2011/09/essayez-ms-project-server-gratuitement-pendant-15-jours/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=essayez-ms-project-server-gratuitement-pendant-15-jours</link>
		<comments>http://www.lotp.fr/2011/09/essayez-ms-project-server-gratuitement-pendant-15-jours/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 08:30:13 +0000</pubDate>
		<dc:creator>Mathieu CHATEAU</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MS Project]]></category>

		<guid isPermaLink="false">http://www.lotp.fr/?p=1120</guid>
		<description><![CDATA[Je participe actuellement à un projet pour le moins&#8230;Passionnant !
Il s&#8217;agit de fournir MS Project client et server dans le cloud. L&#8217;accès se fait entièrement via https, et uniquement ce protocole. Plusieurs méthodes d&#8217;accès:

Vous avez MS Project sur votre ordinateur: connectez-le au serveur
Vous  [...]]]></description>
			<content:encoded><![CDATA[<p>Je participe actuellement à un projet pour le moins&#8230;Passionnant !</p>
<p>Il s&#8217;agit de fournir MS Project client <strong>et</strong> server dans le cloud. L&#8217;accès se fait entièrement via http<strong>s</strong>, et uniquement ce protocole. Plusieurs méthodes d&#8217;accès:</p>
<ul>
<li><span style="line-height: 18px;">Vous avez MS Project sur votre ordinateur: connectez-le au serveur</span></li>
<li><span style="line-height: 18px;">Vous voulez juste voir la partie serveur: accédez depuis Internet Explorer</span></li>
<li><span style="line-height: 18px;">Vous voulez tester l&#8217;ensemble: passez par le portail pour lancer un client MS Project sans rien installer chez vous</span></li>
</ul>
<p><span style="line-height: 18px;">L&#8217;accès est ouvert dans les 5 minutes sans demander de compte paypal ni carte de crédit.</span></p>
<p><span style="line-height: 18px;"><a href="http://www.pmside.com/essayez-en-ligne/" target="_blank">http://www.pmside.com/essayez-en-ligne/ </a></span></p>
<img src="http://www.lotp.fr/?ak_action=api_record_view&id=1120&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.lotp.fr/2011/09/essayez-ms-project-server-gratuitement-pendant-15-jours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 3.701 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-02-07 18:14:40 -->

