<?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>Share&#039;ing my Points</title>
	<atom:link href="http://vspug.com/nezihtinas/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/nezihtinas</link>
	<description>Just another VSPUG - Virtual SharePoint User Group weblog</description>
	<lastBuildDate>Mon, 17 Aug 2009 11:30:36 +0000</lastBuildDate>
	<generator>http://vspug.com?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Can&#039;t you see the default values of the fields on publishing pages?</title>
		<link>http://vspug.com/nezihtinas/2009/08/17/can-t-you-see-the-default-values-of-the-fields-on-publishing-pages/</link>
		<comments>http://vspug.com/nezihtinas/2009/08/17/can-t-you-see-the-default-values-of-the-fields-on-publishing-pages/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 11:30:36 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Get out of here  
I think this is by design in technical approach, bug in business approach  . But there is a workaround. You have to set the content type of the page layout you&#39;re trying yo create a page from, as the default content type on the needed pages library. Then, when [...]]]></description>
			<content:encoded><![CDATA[<p>Get out of here <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>I think this is by design in technical approach, bug in business approach <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> . But there is a workaround. You have to set the content type of the page layout you&#39;re trying yo create a page from, as the default content type on the needed pages library. Then, when you create a page from&#160; a page layout that is bound to the default content type of the pages library on the site ( yeah I know, there are so many dependencies : P ), you see the default values of the fields on the bound controls. But, as you can guess, this can not be a workaround for two different content types living on the same site, at the same time <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  Since, there can only be ONE default content type in a document library or list.</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/08/17/can-t-you-see-the-default-values-of-the-fields-on-publishing-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Comparison in CAML Queries</title>
		<link>http://vspug.com/nezihtinas/2009/06/10/time-comparison-in-caml-queries/</link>
		<comments>http://vspug.com/nezihtinas/2009/06/10/time-comparison-in-caml-queries/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 11:06:47 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[When querying a list with DateTime filter values in CAML, it does not use the time portion of the datetime paramater values, and the returned resultset is wrong. If you add IncludeTimeValue property with the value of &#8220;True&#8221; on the &#8220;Value&#8221; node of the CAML query like below:
&#60;Value Type=&#8221;DateTime&#8221; IncludeTimeValue=&#8221;TRUE&#8221;&#62;&#60;Today /&#62;&#60;/Value&#62;
your CAML query works just [...]]]></description>
			<content:encoded><![CDATA[<p>When querying a list with DateTime filter values in CAML, it does not use the time portion of the datetime paramater values, and the returned resultset is wrong. If you add <font color="#ff0000">IncludeTimeValue</font> property with the value of &#8220;True&#8221; on the &#8220;Value&#8221; node of the CAML query like below:</p>
<p>&lt;Value Type=&#8221;DateTime&#8221; <font color="#ff0000">IncludeTimeValue=&#8221;TRUE&#8221;</font>&gt;&lt;Today /&gt;&lt;/Value&gt;</p>
<p>your CAML query works just fine <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/06/10/time-comparison-in-caml-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unable to authenticate to a SharePoint portal on the server itself</title>
		<link>http://vspug.com/nezihtinas/2009/04/21/unable-to-authenticate-to-a-sharepoint-portal-on-the-server-itself/</link>
		<comments>http://vspug.com/nezihtinas/2009/04/21/unable-to-authenticate-to-a-sharepoint-portal-on-the-server-itself/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 07:05:50 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Let&#39;s say you created a web application with a host header on SharePoint which is installed on Windows Server 2008, and your credentials can not be authenticated if you try to log in to the web application on the server itself. Check the &#8220;Security&#8221; category on the event logs, if you see some entry like [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#39;s say you created a web application with a host header on SharePoint which is installed on Windows Server 2008, and your credentials can not be authenticated if you try to log in to the web application on the server itself. Check the &#8220;Security&#8221; category on the event logs, if you see some entry like the one below, then go on reading <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>An account failed to log on. </p>
<p>Subject:    <br />Security ID: NULL SID     <br />Account Name: &#8211;     <br />Account Domain: &#8211;     <br />Logon ID: 0&#215;0 </p>
<p>Logon Type: 3 </p>
<p>Account For Which Logon Failed:    <br />Security ID: NULL SID     <br />Account Name: <strike>username</strike>     <br />Account Domain: <strike>domainname</strike></p>
<p>Failure Information:    <br />Failure Reason: An Error occured during Logon.     <br />Status: 0xc000006d     <br />Sub Status: 0&#215;0 </p>
<p>Process Information:    <br />Caller Process ID: 0&#215;0     <br />Caller Process Name: &#8211; </p>
<p>Network Information:    <br />Workstation Name: <strike>clientname</strike>     <br />Source Network Address: <strike>clientip</strike>     <br />Source Port: <strike>portnumber</strike> </p>
<p>Detailed Authentication Information:    <br />Logon Process:     <br />Authentication Package: NTLM     <br />Transited Services: &#8211;     <br />Package Name (NTLM only): &#8211;     <br />Key Length: 0</p>
<p>This problem has occured with the recent patches ( I do not know which one caused this ). The main reason for this issue is, the system blocks the authentication procedure while resolving the host header given to the web application. To resolve this issue, a modification must be done to the server&#39;s registry. You can read the article <a href="http://support.microsoft.com/kb/956158/en-us" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/04/21/unable-to-authenticate-to-a-sharepoint-portal-on-the-server-itself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>If your Office 2003 files on SharePoint are opened as read-only even you have edit permissions.</title>
		<link>http://vspug.com/nezihtinas/2009/03/24/if-your-office-2003-files-on-sharepoint-are-opened-as-read-only-even-you-have-edit-permissions/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/24/if-your-office-2003-files-on-sharepoint-are-opened-as-read-only-even-you-have-edit-permissions/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 11:16:10 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[. you can check out the KB article here.
]]></description>
			<content:encoded><![CDATA[<p>. you can check out the KB article <a href="http://support.microsoft.com/kb/870853" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/24/if-your-office-2003-files-on-sharepoint-are-opened-as-read-only-even-you-have-edit-permissions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;Error in Microsoft Windows SharePoint Services Protocol Handler&quot; exception in MOSS 2007 Search</title>
		<link>http://vspug.com/nezihtinas/2009/03/23/quot-error-in-microsoft-windows-sharepoint-services-protocol-handler-quot-exception-in-moss-2007-search/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/23/quot-error-in-microsoft-windows-sharepoint-services-protocol-handler-quot-exception-in-moss-2007-search/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:37:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you get the error in the title at the crawl logs of the MOSS 2007 farm and googled some, you&#39;ll see some solutions like restarting the search services on the farm, detaching the search database of the shared services providers, and things like that. Before trying these solutions, just be sure about this: Do [...]]]></description>
			<content:encoded><![CDATA[<p>If you get the error in the title at the crawl logs of the MOSS 2007 farm and googled some, you&#39;ll see some solutions like restarting the search services on the farm, detaching the search database of the shared services providers, and things like that. Before trying these solutions, just be sure about this: Do you have &quot;I&quot; ( &quot;aye&quot;, the upper case &quot;i&quot; ) character in the URL of the error generating site? If your answer is &quot;Yes&quot;, go ahead and change the &quot;I&quot; character to &quot;i&quot; ( the lower-case &quot;I&quot; )&nbsp;and re-crawl the content source, your problem may have been solved <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/23/quot-error-in-microsoft-windows-sharepoint-services-protocol-handler-quot-exception-in-moss-2007-search/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>While creating a web application on a multi front ended SharePoint farm&#8230;</title>
		<link>http://vspug.com/nezihtinas/2009/03/23/while-creating-a-web-application-on-a-multi-front-ended-sharepoint-farm/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/23/while-creating-a-web-application-on-a-multi-front-ended-sharepoint-farm/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:29:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#8230; do not forget to give a host header to the web application. For the web applications that has a port but not a host header as the initial configuration, the portal will not function as it has to. You will not be able to reach the standart configuration pages below /_layouts/ folder and you&#39;ll [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; do not forget to give a host header to the web application. For the web applications that has a port but not a host header as the initial configuration, the portal will not function as it has to. You will not be able to reach the standart configuration pages below /_layouts/ folder and you&#39;ll get &quot;File not found&quot; exceptions;&nbsp;if you have mutli language support on the SharePoint farm, some parts of the portal will be served on a different language than the original portal language; and stuff. As I know, there are no hotfixes or patches to solve this situation, so just give a host header name while creating a web application, and get rid of these issues <img src='http://vspug.com/nezihtinas/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/23/while-creating-a-web-application-on-a-multi-front-ended-sharepoint-farm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anonymous Access and User Profile Programming</title>
		<link>http://vspug.com/nezihtinas/2009/03/23/anonymous-access-and-user-profile-programming/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/23/anonymous-access-and-user-profile-programming/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:24:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[To access a user&#39;s profile within an anonymous accessable portal, you can use the code snippet below:
SPSecurity.RunWithElevatedPrivileges(delegate(){    SPSite sc = new SPSite(SPContext.Current.Site.ID);    ServerContext context = ServerContext.GetContext(sc);    HttpContext currentContext = HttpContext.Current;    HttpContext.Current = null;    UserProfileManager profileManager = new UserProfileManager(context);   [...]]]></description>
			<content:encoded><![CDATA[<p>To access a user&#39;s profile within an anonymous accessable portal, you can use the code snippet below:</p>
<pre class="code"><span style="color:#2b91af;">SPSecurity</span>.RunWithElevatedPrivileges(<span style="color:blue;">delegate</span>(){    <span style="color:#2b91af;">SPSite </span>sc = <span style="color:blue;">new </span><span style="color:#2b91af;">SPSite</span>(<span style="color:#2b91af;">SPContext</span>.Current.Site.ID);    <span style="color:#2b91af;">ServerContext </span>context = <span style="color:#2b91af;">ServerContext</span>.GetContext(sc);    <span style="color:#2b91af;">HttpContext </span>currentContext = <span style="color:#2b91af;">HttpContext</span>.Current;    <span style="color:#2b91af;">HttpContext</span>.Current = <span style="color:blue;">null</span>;    <span style="color:#2b91af;">UserProfileManager </span>profileManager = <span style="color:blue;">new </span><span style="color:#2b91af;">UserProfileManager</span>(context);    <span style="color:#2b91af;">UserProfile </span>user = profileManager.GetUserProfile(<span style="color:#a31515;">&quot;DOMAIN\userName&quot;</span>);    writer.Write(user.PersonalUrl);    <span style="color:#2b91af;">HttpContext</span>.Current = currentContext;});</pre>
<pre class="code">The important part of this code snippet is setting null as value to the current HTTP context while reading from the user profile store. Without this action, you&#39;ll get access errors and not be able to reach the profile store.</pre>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/23/anonymous-access-and-user-profile-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming with Anonymous Accessable Portals</title>
		<link>http://vspug.com/nezihtinas/2009/03/23/programming-with-anonymous-accessable-portals/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/23/programming-with-anonymous-accessable-portals/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:13:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Let&#39;s say, you have a portal that can be accessed with anonymous access and the anonymous users will reach a data on SharePoint that anonymous users can not reach. You can use the code below to accomplish this:
SPSecurity.RunWithElevatedPrivileges(delegate(){&#160;&#160;&#160; SPSite sc = new SPSite(SPContext.Current.Site.ID);&#160;&#160;&#160; foreach (SPUser user in sc.RootWeb.Groups[&#34;Portal Owners&#34;].Users)&#160;&#160;&#160; {&#160;&#160;&#160;&#160;&#160;&#160;&#160; Response.Write(user.Name + &#34;&#60;br /&#62;&#34;);&#160;&#160;&#160; }});
The [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#39;s say, you have a portal that can be accessed with anonymous access and the anonymous users will reach a data on SharePoint that anonymous users can not reach. You can use the code below to accomplish this:</p>
<p><span style="color:#2b91af;">SPSecurity</span>.RunWithElevatedPrivileges(<span style="color:blue;">delegate</span>()<br />{<br />&nbsp;&nbsp;&nbsp; <span style="color:#2b91af;">SPSite </span>sc = <span style="color:blue;">new </span><span style="color:#2b91af;">SPSite</span>(<span style="color:#2b91af;">SPContext</span>.Current.Site.ID);<br />&nbsp;&nbsp;&nbsp; <span style="color:blue;">foreach </span>(<span style="color:#2b91af;">SPUser </span>user <span style="color:blue;">in </span>sc.RootWeb.Groups[<span style="color:#a31515;">&quot;Portal Owners&quot;</span>].Users)<br />&nbsp;&nbsp;&nbsp; {<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Response.Write(user.Name + <span style="color:#a31515;">&quot;&lt;br /&gt;&quot;</span>);<br />&nbsp;&nbsp;&nbsp; }<br />});</p>
<p>The RunWithElevatedPrivileges method makes the code run with the account which is the application pool identity of the web application the code runs in.</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/23/programming-with-anonymous-accessable-portals/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To get the choices on a Choice field programmatically &#8230;</title>
		<link>http://vspug.com/nezihtinas/2009/03/23/to-get-the-choices-on-a-choice-field-programmatically/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/23/to-get-the-choices-on-a-choice-field-programmatically/#comments</comments>
		<pubDate>Mon, 23 Mar 2009 22:04:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[&#8230; you can use the code below:
SPSite sc = new SPSite(&#34;http://portal&#34;);SPWeb rootWeb = sc.RootWeb;SPField state = rootWeb.Fields[&#34;State&#34;];XmlDocument doc = new XmlDocument();doc.LoadXml(durum.SchemaXml);foreach (XmlNode&#160;choice in doc.SelectNodes(&#34;//CHOICE&#34;))&#160;&#160;&#160; Console.WriteLine(choice.InnerText);sc.Close();
]]></description>
			<content:encoded><![CDATA[<p>&#8230; you can use the code below:</p>
<p><span style="color:#2b91af;">SPSite </span>sc = <span style="color:blue;">new </span><span style="color:#2b91af;">SPSite</span>(<span style="color:#a31515;">&quot;http://portal&quot;</span>);<br /><span style="color:#2b91af;">SPWeb </span>rootWeb = sc.RootWeb;<br /><span style="color:#2b91af;">SPField </span>state = rootWeb.Fields[<span style="color:#a31515;">&quot;State&quot;</span>];<br /><span style="color:#2b91af;">XmlDocument </span>doc = <span style="color:blue;">new </span><span style="color:#2b91af;">XmlDocument</span>();<br />doc.LoadXml(durum.SchemaXml);<br /><span style="color:blue;">foreach </span>(<span style="color:#2b91af;">XmlNode&nbsp;</span>choice <span style="color:blue;">in </span>doc.SelectNodes(<span style="color:#a31515;">&quot;//CHOICE&quot;</span>))<br />&nbsp;&nbsp;&nbsp; <span style="color:#2b91af;">Console</span>.WriteLine(choice.InnerText);<br />sc.Close();</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/23/to-get-the-choices-on-a-choice-field-programmatically/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The document could not be opened for editing error</title>
		<link>http://vspug.com/nezihtinas/2009/03/19/the-document-could-not-be-opened-for-editing-error/</link>
		<comments>http://vspug.com/nezihtinas/2009/03/19/the-document-could-not-be-opened-for-editing-error/#comments</comments>
		<pubDate>Thu, 19 Mar 2009 12:53:00 +0000</pubDate>
		<dc:creator>kurtlubakla</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you try to open an Office document on a SharePoint document library and the document only opens in&#160;read-only mode or if you get a &#34;The document could not be opened for editing. A Windows SharePoint Services compatible application could not be found to edit the document.&#34; error when you click on the &#34;Edit in [...]]]></description>
			<content:encoded><![CDATA[<div>If you try to open an Office document on a SharePoint document library and the document only opens in&nbsp;read-only mode or if you get a &quot;The document could not be opened for editing. A Windows SharePoint Services compatible application could not be found to edit the document.&quot; error when you click on the &quot;Edit in &#8230;&quot; item on the documents menu, it means that the hotfix at <a href="http://support.microsoft.com/kb/938888">http://support.microsoft.com/kb/938888</a> is missing on the client machine. To download and install the hotfix or getting the latest updates from Microsoft Update will resolve the issue.</div>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nezihtinas/2009/03/19/the-document-could-not-be-opened-for-editing-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
