<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments for Koen's Weblog</title>
	<atom:link href="http://koenvosters.wordpress.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://koenvosters.wordpress.com</link>
	<description>SharePoint developer with a life!</description>
	<lastBuildDate>Thu, 12 Nov 2009 08:37:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on HOWTO : Create a Site with a custom template through code and assign specific user security (User has no rights to create a site). by koenvosters</title>
		<link>http://koenvosters.wordpress.com/2009/09/07/howto-create-a-site-with-a-custom-template-through-code-and-assign-specific-user-security-user-has-no-rights-to-create-a-site/#comment-76</link>
		<dc:creator>koenvosters</dc:creator>
		<pubDate>Thu, 12 Nov 2009 08:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/09/07/howto-create-a-site-with-a-custom-template-through-code-and-assign-specific-user-security-user-has-no-rights-to-create-a-site/#comment-76</guid>
		<description>KS, you don&#039;t need RunWithElevatedPrivileges to call webservices. To use Ajax you do need to modify your web.config to support it. 
I suppose you are asking the question because you are experiencing the double hop issue?
You can call webservices by making use of DefaultCredentials
http://support.microsoft.com/kb/813834
Double hop is explained here
http://blogs.msdn.com/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx
So you can either use the method described in the support or use Kerberos authentication.

Did this answer your question?</description>
		<content:encoded><![CDATA[<p>KS, you don&#8217;t need RunWithElevatedPrivileges to call webservices. To use Ajax you do need to modify your web.config to support it.<br />
I suppose you are asking the question because you are experiencing the double hop issue?<br />
You can call webservices by making use of DefaultCredentials<br />
<a href="http://support.microsoft.com/kb/813834" rel="nofollow">http://support.microsoft.com/kb/813834</a><br />
Double hop is explained here<br />
<a href="http://blogs.msdn.com/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx" rel="nofollow">http://blogs.msdn.com/knowledgecast/archive/2007/01/31/the-double-hop-problem.aspx</a><br />
So you can either use the method described in the support or use Kerberos authentication.</p>
<p>Did this answer your question?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO : Create a Site with a custom template through code and assign specific user security (User has no rights to create a site). by KS</title>
		<link>http://koenvosters.wordpress.com/2009/09/07/howto-create-a-site-with-a-custom-template-through-code-and-assign-specific-user-security-user-has-no-rights-to-create-a-site/#comment-75</link>
		<dc:creator>KS</dc:creator>
		<pubDate>Wed, 11 Nov 2009 17:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/09/07/howto-create-a-site-with-a-custom-template-through-code-and-assign-specific-user-security-user-has-no-rights-to-create-a-site/#comment-75</guid>
		<description>Koen,

Is it possible to execute Ajax code (ex. a web service call) in sharepoint with elevated privileges? 

Thanks,</description>
		<content:encoded><![CDATA[<p>Koen,</p>
<p>Is it possible to execute Ajax code (ex. a web service call) in sharepoint with elevated privileges? </p>
<p>Thanks,</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Add a button to the ribbon in SharePoint 2010 by Leon Zandman</title>
		<link>http://koenvosters.wordpress.com/2009/11/05/howto-add-a-button-to-the-ribbon-in-sharepoint-2010/#comment-73</link>
		<dc:creator>Leon Zandman</dc:creator>
		<pubDate>Thu, 05 Nov 2009 20:45:18 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/11/05/howto-add-a-button-to-the-ribbon-in-sharepoint-2010/#comment-73</guid>
		<description>I&#039;ve heard some rumours that Microsoft is developing Ribbon tooling for SharePoint 2010. Maybe it will be included in the RTM?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard some rumours that Microsoft is developing Ribbon tooling for SharePoint 2010. Maybe it will be included in the RTM?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by sahridhayan</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-67</link>
		<dc:creator>sahridhayan</dc:creator>
		<pubDate>Mon, 31 Aug 2009 07:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-67</guid>
		<description>Hi, 

for both of you some update.

At site level we cannot attach event handler is the issue which i faced,

visit this link for more information.

http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/e932cbb9-186c-4150-acd3-86af494401af


Thanks for input,

sahridhayan</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>for both of you some update.</p>
<p>At site level we cannot attach event handler is the issue which i faced,</p>
<p>visit this link for more information.</p>
<p><a href="http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/e932cbb9-186c-4150-acd3-86af494401af" rel="nofollow">http://social.msdn.microsoft.com/forums/en-US/sharepointdevelopment/thread/e932cbb9-186c-4150-acd3-86af494401af</a></p>
<p>Thanks for input,</p>
<p>sahridhayan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by koenvosters</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-66</link>
		<dc:creator>koenvosters</dc:creator>
		<pubDate>Fri, 21 Aug 2009 12:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-66</guid>
		<description>Yes, if that happens it means it can&#039;t find your CheckValue column. Take into account that CheckValue is case sensitive :p
A good check would be to make sure that it is not null, but that was not the point of my post :-) Glad you figured it out.</description>
		<content:encoded><![CDATA[<p>Yes, if that happens it means it can&#8217;t find your CheckValue column. Take into account that CheckValue is case sensitive :p<br />
A good check would be to make sure that it is not null, but that was not the point of my post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  Glad you figured it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by sheetal</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-65</link>
		<dc:creator>sheetal</dc:creator>
		<pubDate>Fri, 21 Aug 2009 10:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-65</guid>
		<description>Thanks koenvosters!

I have tried debugging it and foundout that this line : 
if (properties.AfterProperties[&quot;CheckValue&quot;].ToString() == &quot;dontadd&quot;) 
was throwing an exception :
System.NullReferenceException was unhandled by user code
  Message=&quot;Object reference not set to an instance of an object.&quot;

I couldn&#039;t find the reason of this exception but i uninstalled and build and deployed again, it worked for me.

Sahridhayan : I have tried this for both list and document Library..worked fine for me.
If in the feature.xml , the scope is given as &#039;Web&#039; , you will find the eventhandler at site features level, if you give it as &#039;Site&#039; , you will need to activate it from the sitecollection features page.</description>
		<content:encoded><![CDATA[<p>Thanks koenvosters!</p>
<p>I have tried debugging it and foundout that this line :<br />
if (properties.AfterProperties["CheckValue"].ToString() == &#8220;dontadd&#8221;)<br />
was throwing an exception :<br />
System.NullReferenceException was unhandled by user code<br />
  Message=&#8221;Object reference not set to an instance of an object.&#8221;</p>
<p>I couldn&#8217;t find the reason of this exception but i uninstalled and build and deployed again, it worked for me.</p>
<p>Sahridhayan : I have tried this for both list and document Library..worked fine for me.<br />
If in the feature.xml , the scope is given as &#8216;Web&#8217; , you will find the eventhandler at site features level, if you give it as &#8216;Site&#8217; , you will need to activate it from the sitecollection features page.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by sahridhayan</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-63</link>
		<dc:creator>sahridhayan</dc:creator>
		<pubDate>Wed, 19 Aug 2009 09:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-63</guid>
		<description>Just want to add few more info,
in either sitecollection features and site features. i dont feature (Event handler listed)
i am using WSS 3.0</description>
		<content:encoded><![CDATA[<p>Just want to add few more info,<br />
in either sitecollection features and site features. i dont feature (Event handler listed)<br />
i am using WSS 3.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by sahridhayan</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-62</link>
		<dc:creator>sahridhayan</dc:creator>
		<pubDate>Wed, 19 Aug 2009 09:18:40 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-62</guid>
		<description>Hi,

I did not find the feature listed as you pointed out (because i have done this for a Document Library). Hope it is a different take?

But i tested like this it works.

1. i went to the document library, click &quot;New&quot; button for creating a new document.
2. Word opens, and i typed content, save-&gt; prompt -&gt; enter value &quot;CheckValue&quot; i give
&quot;dontadd&quot; it stops me from saving. If i give any other value i allows to save.
3. I went an uploading a document, it prompts, but does not stop, it allows to save for any value.
4. i edited the 1st document, in word, and saved, again prompts, this time no stopping!

bit confused.

any direction which step is lost?

thanks,
sahridhayan</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did not find the feature listed as you pointed out (because i have done this for a Document Library). Hope it is a different take?</p>
<p>But i tested like this it works.</p>
<p>1. i went to the document library, click &#8220;New&#8221; button for creating a new document.<br />
2. Word opens, and i typed content, save-&gt; prompt -&gt; enter value &#8220;CheckValue&#8221; i give<br />
&#8220;dontadd&#8221; it stops me from saving. If i give any other value i allows to save.<br />
3. I went an uploading a document, it prompts, but does not stop, it allows to save for any value.<br />
4. i edited the 1st document, in word, and saved, again prompts, this time no stopping!</p>
<p>bit confused.</p>
<p>any direction which step is lost?</p>
<p>thanks,<br />
sahridhayan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by koenvosters</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-61</link>
		<dc:creator>koenvosters</dc:creator>
		<pubDate>Tue, 18 Aug 2009 11:32:20 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-61</guid>
		<description>Are you sure you activated the feature?</description>
		<content:encoded><![CDATA[<p>Are you sure you activated the feature?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on HOWTO: Create an Event Handler for SharePoint(MOSS 2007) by sahridhayan</title>
		<link>http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-60</link>
		<dc:creator>sahridhayan</dc:creator>
		<pubDate>Tue, 18 Aug 2009 10:15:53 +0000</pubDate>
		<guid isPermaLink="false">http://koenvosters.wordpress.com/2009/07/31/howto-create-an-event-handler-for-sharepointmoss-2007/#comment-60</guid>
		<description>1.Me too faced the same, but from VS it says successfully built, and deployed &quot;Done!&quot;

2.It does not list the event handler in SP. (basically it does not get published)

3.So i went on using this 
http://www.wssdemo.com/Lists/Resources/DispForm.aspx?ID=731

4.just for deployment. Great Success!, no extra step, just point the location
and add the event handler, by giving your class name, sequence, type.

5.and the i used the inspector as mentioned above  now it shows the event handled.
6.and then i tested the event handler work. it did work, but few clarifications will post separately.

Thank you for wonderful tool put to gether.

sahridhayan</description>
		<content:encoded><![CDATA[<p>1.Me too faced the same, but from VS it says successfully built, and deployed &#8220;Done!&#8221;</p>
<p>2.It does not list the event handler in SP. (basically it does not get published)</p>
<p>3.So i went on using this<br />
<a href="http://www.wssdemo.com/Lists/Resources/DispForm.aspx?ID=731" rel="nofollow">http://www.wssdemo.com/Lists/Resources/DispForm.aspx?ID=731</a></p>
<p>4.just for deployment. Great Success!, no extra step, just point the location<br />
and add the event handler, by giving your class name, sequence, type.</p>
<p>5.and the i used the inspector as mentioned above  now it shows the event handled.<br />
6.and then i tested the event handler work. it did work, but few clarifications will post separately.</p>
<p>Thank you for wonderful tool put to gether.</p>
<p>sahridhayan</p>
]]></content:encoded>
	</item>
</channel>
</rss>