<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Sintax</title>
	<atom:link href="http://www.sintax.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sintax.org</link>
	<description>SharePoint geek, .NET lover, Internet surfer</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:20:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>SharePoint 2010 Advanced 404 Page</title>
		<link>http://www.sintax.org/2012/02/sharepoint-2010-advanced-404-page/</link>
		<comments>http://www.sintax.org/2012/02/sharepoint-2010-advanced-404-page/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 14:20:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=77</guid>
		<description><![CDATA[Based on this useful post I started to create my HttpModule to manage in a smarter way the 404 of SharePoint 2010. The fact is simple: with the normal 404 configuration in the web.config you can&#8217;t manage all the paths, but only the fake page. It means  that if you type &#8220;http://mysite/fakepath&#8221; it will not [...]]]></description>
			<content:encoded><![CDATA[<p>Based on <a title="SharePoint 2010 - 404 page" href="http://blog.mastykarz.nl/sharepoint-2010-page-not-found-404/" target="_blank">this</a> useful post I started to create my HttpModule to manage in a smarter way the 404 of SharePoint 2010.<br />
The fact is simple: with the normal 404 configuration in the web.config you can&#8217;t manage all the paths, but only the fake page. It means  that if you type &#8220;http://mysite/fakepath&#8221; it will not work. Considering that the &#8220;MVC syntax&#8221; is today much more required it is important to manage the errors.</p>
<p>The only thing I didn&#8217;t like in the article above is how to change the status code of the page. For a SEO purpose it is important that a 404 page has the 404 HTTP Code and not the classical 200. In article is showed how to create a specific Web Part where explicitly we set the Response Code. It works, but in terms of dependencies and maintenance is not really the top.</p>
<p>Once of the big advantage  with SharePoint 2010 is that we work directly in the INTEGRATED MODE of IIS and we are directly in the pipe line of IIS. With this we can use the event <strong>PostRequestHandlerExecute</strong> and change the Status code here.</p>
<p>Enjoy! <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><br/><br />
&nbsp;</p>
<pre class="brush: csharp; title: ; notranslate">
 void _app_PostRequestHandlerExecute(object sender, EventArgs e)
        {
            HttpResponse __response = _app.Response;
            HttpRequest __request = _app.Request;

            if (__request.Url.AbsolutePath.Equals(myCustom404Url, StringComparison.InvariantCultureIgnoreCase))
            {
                __response.StatusCode = 404;
            }
        }
</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2012/02/sharepoint-2010-advanced-404-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert an SPListItemCollection to an IEnumerable</title>
		<link>http://www.sintax.org/2011/12/convert-an-splistitemcollection-to-an-ienumerable/</link>
		<comments>http://www.sintax.org/2011/12/convert-an-splistitemcollection-to-an-ienumerable/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 14:27:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Conversion]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=73</guid>
		<description><![CDATA[In one of my last project I make a function to accept an IEnumerable&#60;T&#62; as parameter. I normally used this function with PublishingPageCollection. This collection inherits from QueryBasedCollection&#60;PublishingPage&#62; and so it is a IEnumerable. Unfortunately the SPListItemCollection it is not. I didn&#8217;t want to change my method and I didn&#8217;t want to create an overload only [...]]]></description>
			<content:encoded><![CDATA[<p>In one of my last project I make a function to accept an IEnumerable&lt;T&gt; as parameter. I normally used this function with PublishingPageCollection. This collection inherits from <strong><span class="Apple-style-span" style="font-family: Consolas, Monaco, monospace; font-size: 12px; line-height: 18px; white-space: pre;">QueryBasedCollection&lt;PublishingPage&gt; </span></strong>and so it is a IEnumerable. Unfortunately the SPListItemCollection it is not.</p>
<p>I didn&#8217;t want to change my method and I didn&#8217;t want to create an overload only for the type of parameters. Then&#8230;I remembered that LINQ is my friend <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#8230;<br />
You can directly convert an SPListItemCollection. Below an example&#8230;hope can help you&#8230;<br/><br/></p>
<div class="codesnip-container" >
<div class="c codesnip" style="font-family:monospace;">using <span class="br0">&#40;</span>SPWeb web <span class="sy0">=</span> SPContext.<span class="me1">Current</span>.<span class="me1">Site</span>.<span class="me1">OpenWeb</span><span class="br0">&#40;</span><span class="st0">&quot;myweb&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span><br />
<span class="br0">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw1">return</span> web.<span class="me1">Lists</span><span class="br0">&#91;</span><span class="st0">&quot;MyList&quot;</span><span class="br0">&#93;</span>.<span class="me1">Items</span>.<span class="me1">Cast</span><span class="sy0">&lt;</span>SPListItem<span class="sy0">&gt;</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">Select</span><span class="br0">&#40;</span>item <span class="sy0">=&gt;</span> item<span class="br0">&#41;</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/12/convert-an-splistitemcollection-to-an-ienumerable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NTFS Volume on Ubuntu 11.10&#8230;make it visible to all user</title>
		<link>http://www.sintax.org/2011/11/ntfs-volume-on-ubuntu-11-10-make-it-visible-to-all-user/</link>
		<comments>http://www.sintax.org/2011/11/ntfs-volume-on-ubuntu-11-10-make-it-visible-to-all-user/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 17:05:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[file system]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu 11.10]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=65</guid>
		<description><![CDATA[Hello, first of all I&#8217;m not a Linux User, meaning I&#8217;m not an expert and maybe my post may sound to the &#8220;experts&#8221; very stupid or obvious. However, I&#8217;ve installed Ubuntu 11.10 on my home laptop and  started to play with it. In my machine I had a partition (created previously in win7) that I would had [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, first of all I&#8217;m not a Linux User, meaning I&#8217;m not an expert and maybe my post may sound to the &#8220;experts&#8221; very stupid or obvious.<br />
However, I&#8217;ve installed <a title="Ubuntu" href="http://ubuntu.com" target="_blank">Ubuntu</a> 11.10 on my home laptop and  started to play with it.<br />
In my machine I had a partition (created previously in win7) that I would had liked to use as &#8220;data repository&#8221;.</p>
<p>If I was the Administrator I could see the disc and all the files inside, but when I logged as a &#8220;standard&#8221; user the volume was not visible and  I couldn&#8217;t open  from <strong>media</strong> folder, even if I gave to the user the right permission on the folders with <strong><a title="Chmod" href="http://en.wikipedia.org/wiki/Chmod" target="_blank">chmod</a>. </strong></p>
<p>I was really surprised and I felt very stupid&#8230;but finally i found the problem.<br />
The disc wasnt&#8217; following the &#8220;normal&#8221; permission on Linux, because  it was formatted as NTFS. I had to adjust the permissions from the mount options (in fstab if you configured it to mount it automatically).</p>
<p>Below the steps I had followed:</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">sudo blkid <span class="sy0">-</span>c <span class="sy0">/</span>dev<span class="sy0">/</span>null</div>
</div>
<p>and I got this</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;"><span class="sy0">/</span>dev<span class="sy0">/</span>sda1<span class="sy0">:</span> UUID<span class="sy0">=</span><span class="st0">&quot;94C8D394C8D3734A&quot;</span> TYPE<span class="sy0">=</span><span class="st0">&quot;ntfs&quot;</span><br />
<span class="sy0">/</span>dev<span class="sy0">/</span>sda2<span class="sy0">:</span> UUID<span class="sy0">=</span><span class="st0">&quot;8f5dcee3-7f6d-4f70-975c-10ee27f0df87&quot;</span> TYPE<span class="sy0">=</span><span class="st0">&quot;ext4&quot;</span><br />
<span class="sy0">/</span>dev<span class="sy0">/</span>sda3<span class="sy0">:</span> LABEL<span class="sy0">=</span><span class="st0">&quot;Data&quot;</span> UUID<span class="sy0">=</span><span class="st0">&quot;8A9E788D9E787393&quot;</span> TYPE<span class="sy0">=</span><span class="st0">&quot;ntfs&quot;</span><br />
<span class="sy0">/</span>dev<span class="sy0">/</span>sda5<span class="sy0">:</span> UUID<span class="sy0">=</span><span class="st0">&quot;edeb8f21-ac3c-4044-a066-64e160196884&quot;</span> TYPE<span class="sy0">=</span><span class="st0">&quot;swap&quot;</span></div>
</div>
<p>&nbsp;</p>
<p>My driver was /dev/sda3. I had so to create in MEDIA folder the new reference and then assign in the <a title="Fstab" href="http://en.wikipedia.org/wiki/Fstab" target="_blank">fstab</a></p>
<p>&nbsp;</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">sudo umount <span class="sy0">/</span>dev<span class="sy0">/</span>sda3</div>
</div>
<p>After unmounted the driver, I created the folder in the right place:</p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">sudo <a href="http://perldoc.perl.org/functions/mkdir.html"><span class="kw3">mkdir</span></a> <span class="sy0">/</span>media<span class="sy0">/</span>Data2</div>
</div>
<p>Once opened the Fstab file with the command: </p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">gksu gedit <span class="sy0">/</span>etc<span class="sy0">/</span>fstab</div>
</div>
<p>I added the following line to the file and saved: </p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">UID<span class="sy0">=</span>8A9E788D9E787393 &nbsp; <span class="sy0">/</span>media<span class="sy0">/</span>Data2 &nbsp;ntfs defaults<span class="sy0">,</span>gid<span class="sy0">=</span>46<span class="sy0">,</span><a href="http://perldoc.perl.org/functions/umask.html"><span class="kw3">umask</span></a><span class="sy0">=</span>0000 &nbsp;<span class="nu0">0</span> &nbsp;<span class="nu0">0</span></div>
</div>
<p>The umask=0000 would allow anyone to read/write/execute files on that partition (I could use 2 to turn off write permissions for &#8216;others&#8217;. eg; umask=0002)</p>
<p>Once finished with the file I mounted back the volume and everything was fine&#8230; </p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">sudo mount <span class="sy0">-</span>a</div>
</div>
<p>
Once again, I&#8217;m not a linux &#8220;expert&#8221;&#8230;I just hope that this post can hep someone&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/11/ntfs-volume-on-ubuntu-11-10-make-it-visible-to-all-user/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 &#8211; Modal Dialog and strange behavior with the dialog.master</title>
		<link>http://www.sintax.org/2011/09/sharepoint-2010-modal-dialog-and-strange-behavior-with-the-dialog-master/</link>
		<comments>http://www.sintax.org/2011/09/sharepoint-2010-modal-dialog-and-strange-behavior-with-the-dialog-master/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 18:42:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[modal dialog]]></category>
		<category><![CDATA[sharepoint 2010]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=56</guid>
		<description><![CDATA[In SharePoint 2010 is available the object SP.UI.ModalDialog.You&#8217;ll have so the modal dialog windows of SharePoint 2010 available for your application page. That&#8217;s cool. To open the modal dialog you execute the JavaScript code below (you can even add some callback event) To do that you have available the Dialog.master master page. It&#8217;s a normal [...]]]></description>
			<content:encoded><![CDATA[<p>In SharePoint 2010 is available the object SP.UI.ModalDialog.You&#8217;ll have so the modal dialog windows of SharePoint 2010 available for your application page. That&#8217;s cool.</p>
<p>To open the modal dialog you execute the JavaScript code below (you can even add some callback event)</p>
<div class="codesnip-container" >
<div class="javascript codesnip" style="font-family:monospace;"><span class="kw2">function</span> OpenDialog<span class="br0">&#40;</span>strPageURL<span class="sy0">,</span> delegate<span class="sy0">,</span> w<span class="sy0">,</span> h<span class="br0">&#41;</span> <span class="br0">&#123;</span><br />
<span class="kw2">var</span> dialogOptions <span class="sy0">=</span> SP.<span class="me1">UI</span>.$create_DialogOptions<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="sy0">;</span><br />
dialogOptions.<span class="me1">url</span> <span class="sy0">=</span> strPageURL<span class="sy0">;</span> <span class="co1">// URL of the Page</span><br />
dialogOptions.<span class="me1">width</span> <span class="sy0">=</span> w<span class="sy0">;</span> <span class="co1">// Width of the Dialog</span><br />
dialogOptions.<span class="me1">height</span> <span class="sy0">=</span> h<span class="sy0">;</span> <span class="co1">// Height of the Dialog</span><br />
dialogOptions.<span class="me1">dialogReturnValueCallback</span> <span class="sy0">=</span> <span class="kw2">Function</span>.<span class="me1">createDelegate</span><span class="br0">&#40;</span><span class="kw2">null</span><span class="sy0">,</span> delegate<span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// Function to capture dialog closed event</span><br />
SP.<span class="me1">UI</span>.<span class="me1">ModalDialog</span>.<span class="me1">showModalDialog</span><span class="br0">&#40;</span>dialogOptions<span class="br0">&#41;</span><span class="sy0">;</span> <span class="co1">// Open the Dialog</span><br />
<span class="kw1">return</span> <span class="kw2">false</span><span class="sy0">;</span><br />
<span class="br0">&#125;</span></div>
</div>
<p>To do that you have available the Dialog.master master page. It&#8217;s a normal master page with specific content place holder.<br />
The problem I had is that if you have for example a flow of pages in the modal dialog, after a redirect, sometime the HEADER of the modal dialog  just disappears. And it does that not everywhere, but just with the Team Site. I don&#8217;t know really why, I think it&#8217;s something closer to a bug that a feature <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . By the way you can easily solve the problem. Avoid the Dialog.master and, instead, you use a normal ApplicationPage, with the Default.master and you execute the url with the parameter <strong>IsDlg=1</strong> in the query string. You&#8217;ll have the same behavior of the modal  dialog, but we won&#8217;t have the disappeared header. Below you have an image of the problem.</p>
<p>In the first image the header is fine, but then, if you change page you just lose it&#8230;</p>
<p><a href="http://www.sintax.org/wp-content/uploads/2011/09/3.jpg"><img class="size-full wp-image-58 alignleft" title="3" src="http://www.sintax.org/wp-content/uploads/2011/09/3.jpg" alt="" width="589" height="148" /></a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>And here the problem</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.sintax.org/wp-content/uploads/2011/09/4.jpg"><img class="alignleft size-full wp-image-59" title="4" src="http://www.sintax.org/wp-content/uploads/2011/09/4.jpg" alt="" width="705" height="112" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/09/sharepoint-2010-modal-dialog-and-strange-behavior-with-the-dialog-master/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010: error crawling People</title>
		<link>http://www.sintax.org/2011/09/sharepoint-2010-error-crawling-people/</link>
		<comments>http://www.sintax.org/2011/09/sharepoint-2010-error-crawling-people/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 18:22:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[crawling]]></category>
		<category><![CDATA[mysite]]></category>
		<category><![CDATA[people]]></category>
		<category><![CDATA[sharepoint]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=50</guid>
		<description><![CDATA[Today I figured out a funny problem. When you know it&#8217;s easy, but I lost an hour to understand what the hell was going on. In my SharePoint 2010 Farm everything was going fine&#8230;I installed and configured the User Profile Synchronization, the MySite was well configured in a specific Web Application. I needed to search [...]]]></description>
			<content:encoded><![CDATA[<p>Today I figured out a funny problem. When you know it&#8217;s easy, but I lost an hour to understand what the hell was going on.<br />
In my SharePoint 2010 Farm everything was going fine&#8230;I installed and configured the User Profile Synchronization, the MySite was well configured in a specific Web Application. I needed to search people so I went to the Central Administration &gt; Management Application &gt;  Service Application &gt; Search Service Application and start the Full Crawl.</p>
<p><a href="http://www.sintax.org/wp-content/uploads/2011/09/1.jpg"><img class="aligncenter size-full wp-image-51" title="1" src="http://www.sintax.org/wp-content/uploads/2011/09/1.jpg" alt="" width="473" height="134" /></a></p>
<p>Unfortunately once ended the Full Crawl I had this error on the log:</p>
<p><strong>sps3://SERVERNAME<br />
Error in PortalCrawl Web Service</strong></p>
<p>I started to search and really don&#8217;t understand why&#8230;In the ULS I found this error:</p>
<pre>PortalCrawl.GetSite(): System.NullReferenceException:<br/>Object reference not set to an instance of an object.<br/>at Microsoft.SharePoint.Portal.Search.<br/>PortalCrawl.PortalCrawl.GetSite(_PortalSite&amp; sSite).</pre>
<p>and I finally got it. The default site in SharePoint http://SERVERNAME on port 80 must be created and a site collection must be too, otherwise you&#8217;ll problem will be not solved. Honestly in my configuration I never use the default web site, because I use personalized DNS, but since today I&#8217;ll do always <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Now my scope &#8220;People&#8221; is well done:</p>
<p><a href="http://www.sintax.org/wp-content/uploads/2011/09/2.jpg"><img class="size-large wp-image-52 alignleft" title="2" src="http://www.sintax.org/wp-content/uploads/2011/09/2-1024x74.jpg" alt="" width="640" height="46" /></a></p>
<p>&nbsp;</p>
<p>Hope this can help,</p>
<p>M.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/09/sharepoint-2010-error-crawling-people/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SP2010 Managed Metadata &#8220;The required feature is not enabled for this column type&#8221;</title>
		<link>http://www.sintax.org/2011/09/sp2010-managed-metadata-the-required-feature-is-not-enabled-for-this-column-type/</link>
		<comments>http://www.sintax.org/2011/09/sp2010-managed-metadata-the-required-feature-is-not-enabled-for-this-column-type/#comments</comments>
		<pubDate>Tue, 06 Sep 2011 07:53:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[managed metadata]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[taxonomy]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=38</guid>
		<description><![CDATA[The managed metadata of SharePoint 2010 is one of the best new feauture in SharePoint 2010. You can manage taxonomy field directly in the Central Administration and even manage several languages with the language pack over there. By the way, in some Site Collection template you&#8217;ll not find this feature and you&#8217;ll have the following [...]]]></description>
			<content:encoded><![CDATA[<p>The managed metadata of SharePoint 2010 is one of the best new feauture in SharePoint 2010. You can manage taxonomy field directly in the Central Administration and even manage several languages with the language pack over there.</p>
<p>By the way, in some Site Collection template you&#8217;ll not find this feature and you&#8217;ll have the following behavior trying to create a new Taxonomy field.</p>
<p><a href="http://www.sintax.org/wp-content/uploads/2011/09/feature_not-installed.jpg"><img class="alignnone size-full wp-image-39" title="feature_not installed" src="http://www.sintax.org/wp-content/uploads/2011/09/feature_not-installed.jpg" alt="" width="425" height="379" /></a></p>
<p>This feature is hidden and yo have it in your Site Collection you must activate it by Powershell.<br />
<br/></p>
<div class="codesnip-container" >
<div class="perl codesnip" style="font-family:monospace;">Enable<span class="sy0">-</span>SPFeature <span class="sy0">-</span>id <span class="st0">&quot;73ef14b1-13a9-416b-a9b5-ececa2b0604c&quot;</span> <span class="sy0">-</span>Url <span class="sy0">&lt;</span>Site<span class="sy0">-</span>Url<span class="sy0">&gt;</span></div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/09/sp2010-managed-metadata-the-required-feature-is-not-enabled-for-this-column-type/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ideal configuration for SharePoint 2010 dev environement</title>
		<link>http://www.sintax.org/2011/09/ideal-configuration-for-sharepoint-2010-dev-environement/</link>
		<comments>http://www.sintax.org/2011/09/ideal-configuration-for-sharepoint-2010-dev-environement/#comments</comments>
		<pubDate>Sun, 04 Sep 2011 13:51:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[windows server 2008]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=13</guid>
		<description><![CDATA[In my experience when you develop an application in SharePoint 2010 you should have environment the most close possible to the client configuration. This means that the classical URL http://mysrv:4354 or http://mysrv:3145/sites/mycoll are not the best configuration you can have. Beside that even to work with a local user is really not the best…you can [...]]]></description>
			<content:encoded><![CDATA[<p>In my experience when you develop an application in SharePoint 2010 you should have environment the most close possible to the client configuration. This means that the classical URL <a href="http://mysrv:4354">http://mysrv:4354</a> or <a href="http://mysrv:3145/sites/mycoll">http://mysrv:3145/sites/mycoll</a> are not the best configuration you can have.</p>
<p>Beside that even to work with a local user is really not the best…you can develop something that locally works like a charm, but when you’ll install into the client farm you’ll be quite surprised.<br />
I would like so to share my configuration with you and I hope you can find something interesting in that. Of course, I’m not the “inventor” of this configuration, but it’s just my “best practice”.</p>
<ol>
<li>VM Ware machine with Win2008 R2 installed with the scope of Primary Domain Controller, with 512 MB  of RAM</li>
<li>VM Ware machine with Win2008 R2, SQL Server 2008 R2 and SharePoint 2010 installed as a Single Server Farm , with 4096 GB of RAM</li>
</ol>
<p>&nbsp;</p>
<h3>Primary Domain Controller</h3>
<p>The primary domain controller will be an “easy” machine, configured as below, where the DNS server is installed and configured.<br />
To install the DNS server, please take a look to this <a href="http://www.petri.co.il/installing-active-directory-windows-server-2008.htm">link</a></p>
<p style="text-align: left;"><a href="http://www.sintax.org/wp-content/uploads/2011/09/dns.jpg"><img class="size-full wp-image-14" title="dns" src="http://www.sintax.org/wp-content/uploads/2011/09/dns.jpg" alt="" width="811" height="437" /></a></p>
<p>Once you have installed the DOMAIN, please create the following users:</p>
<ul>
<li>SPAdmin: he will be the farm administrator of you SharePoint installation</li>
<li>AppPool: he will run the application pool of your web applications</li>
<li>DBAmin: he will be the administrator of the database server</li>
<li>Guest1, Guest2 and Guest3: you can use these users to configure different users of your site collections. It is very important you make your test with different roles.</li>
</ul>
<h4>Forward Lookup Zone</h4>
<p>As I said above, for my experience you should have, as host header a real configuration and the OOB URL of SharePoint they aren’t. It’s not so hard, by the way, to have this feature.</p>
<ul>
<li>Open your DNS manager</li>
<li>Open the item <span style="text-decoration: underline;">Forward Lookup Zone</span> and open you domain item too</li>
<li>In order to have your items well organized create a new domain named SHAREPOINT. You’ll save here your host headers. When you create a new host header you’ll associate the name with an IP address you’ll set in the SharePoint machine.</li>
</ul>
<p>
<a href="http://www.sintax.org/wp-content/uploads/2011/09/host_header.jpg"><img class="alignleft size-full wp-image-15" title="host_header" src="http://www.sintax.org/wp-content/uploads/2011/09/host_header.jpg" alt="" width="769" height="345" /></a>
</p>
<p>
<a href="http://www.sintax.org/wp-content/uploads/2011/09/new_hostheader.jpg"><img class="size-full wp-image-17" title="new_hostheader" src="http://www.sintax.org/wp-content/uploads/2011/09/new_hostheader.jpg" alt="" width="345" height="346" /></a>
</p>
<h3>SharePoint Server</h3>
<p>Once you installed your new virtual machine with Windows 2008 R2 and SqlServer 2008 you have to add to the domain. In order to achieve this goal you have to add a new Network Adapter and configure as HOST ONLY.</p>
<p>
<a href="http://www.sintax.org/wp-content/uploads/2011/09/network.jpg"><img class="alignleft size-full wp-image-18" title="network" src="http://www.sintax.org/wp-content/uploads/2011/09/network.jpg" alt="" width="656" height="556" /></a>
</p>
<p>When you have your new network adapter you’ll configure the IPV4 in order that your Active Directory machine will be the DNS server. You’ll add, after that, all the IP address you choose for the host headers. (Click ADVANCE in the main windows of IPV4).</p>
<p>
<a href="http://www.sintax.org/wp-content/uploads/2011/09/ip_1.jpg"><img class="size-full wp-image-19" title="ip_1" src="http://www.sintax.org/wp-content/uploads/2011/09/ip_1.jpg" alt="" width="402" height="446" /></a><br/><br/><br />
<a href="http://www.sintax.org/wp-content/uploads/2011/09/ip_2.jpg"><img class="size-full wp-image-20" title="ip_2" src="http://www.sintax.org/wp-content/uploads/2011/09/ip_2.jpg" alt="" width="400" height="476" /></a></p>
<p>
After all these steps if you try to PING your host header by name (ex. das.sharepoint.sintax.local) you’ll obtain the response of your main SharePoint machine.
</p>
<p>To install SharePoint I think is not necessary any specification. You’ll find on the Microsoft site all you need. My points are just when you’ll configure your new web application. We created a DNS specific for one web application: this means we can use our web application in the 80 port. See the image below and you’re done <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>
<a href="http://www.sintax.org/wp-content/uploads/2011/09/web_app.jpg"><img class="size-full wp-image-21" title="web_app" src="http://www.sintax.org/wp-content/uploads/2011/09/web_app.jpg" alt="" width="581" height="328" /></a>
</p>
<p>In my experience this configuration can really help you to make your application with a real environment, most similar to the client configuration than the OOB SharePoint url and host header.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/09/ideal-configuration-for-sharepoint-2010-dev-environement/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>We&#8217;re back&#8230;day 1</title>
		<link>http://www.sintax.org/2011/09/hello-world/</link>
		<comments>http://www.sintax.org/2011/09/hello-world/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 17:55:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Various]]></category>

		<guid isPermaLink="false">http://www.sintax.org/?p=1</guid>
		<description><![CDATA[Based on the Google Analytics data this blog was read enough&#8230;but you understand the real meaning of &#8220;backup&#8221;  when you notice you don&#8217;t have one. So&#8230;for a crash happened on the server I lost everything&#8230;the MID file of Mysql were corrupted and I have to start again. I lost a lot of stuff and since today I&#8217;ll save [...]]]></description>
			<content:encoded><![CDATA[<p>Based on the <a href="https://www.google.com/analytics/" target="_blank">Google Analytics</a> data this blog was read enough&#8230;but you understand the real meaning of &#8220;backup&#8221;  when you notice you don&#8217;t have one. So&#8230;for a crash happened on the server I lost everything&#8230;the MID file of Mysql were corrupted and I have to start again. I lost a lot of stuff and since today I&#8217;ll save my post also in a Word Document <img src='http://www.sintax.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Let&#8217;s keep in the loop and I hope the new articles will help someone over there&#8230;<br />
m.</p>
<p><a style="margin-right: 3px;" href="http://www.sintax.org/wp-content/uploads/2011/09/Database_crash.jpg"><img class="size-full wp-image-5 alignleft" style="border-style: initial; border-color: initial;" title="Database_crash" src="http://www.sintax.org/wp-content/uploads/2011/09/Database_crash.jpg" alt=""/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sintax.org/2011/09/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

