<?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/"
	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>acveer</title>
	<atom:link href="http://acveer.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://acveer.wordpress.com</link>
	<description>Another Technical Blogger</description>
	<lastBuildDate>Mon, 13 Feb 2012 17:40:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='acveer.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>acveer</title>
		<link>http://acveer.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://acveer.wordpress.com/osd.xml" title="acveer" />
	<atom:link rel='hub' href='http://acveer.wordpress.com/?pushpress=hub'/>
		<item>
		<title>To set the Title for a BPEL instance Name.</title>
		<link>http://acveer.wordpress.com/2011/06/22/to-set-the-title-for-a-bpel-instance-name/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/to-set-the-title-for-a-bpel-instance-name/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 18:51:50 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[ORACLE SOA 11G]]></category>
		<category><![CDATA[Oracle SOA BPEL]]></category>
		<category><![CDATA[SOA BPEL 11g]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=116</guid>
		<description><![CDATA[use ora:setCompositeInstanceTitle() in Java_Embedding or in an Assign Statement. for example : puts the instance name as &#8220;LOGIN:User1&#8243; in the em console<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=116&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>use <em><strong>ora:setCompositeInstanceTitle()</strong></em> in Java_Embedding or in an Assign Statement.</p>
<p>for example :</p>
<p><pre class="brush: xml;">

&lt;assign name=&quot;assign_InstanceTitle&quot;&gt;
&lt;copy&gt;
&lt;from&gt;ora:setCompositeInstanceTitle(concat(&quot;LOGIN:&quot;,string($inputVariable.request/ns5:Username))))&lt;/from&gt;
&lt;to&gt;$instanceTitle&lt;/to&gt;
&lt;/copy&gt;
&lt;/assign&gt;

</pre></p>
<p>puts the instance name as &#8220;LOGIN:User1&#8243; in the em console</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/116/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/116/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/116/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=116&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/to-set-the-title-for-a-bpel-instance-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Prevent CSRF (Cross Site Request Forgery) Attacks in SharePoint Application Pages.</title>
		<link>http://acveer.wordpress.com/2011/06/22/prevent-csrf-cross-site-request-forgery-attacks-in-sharepoint-application-pages/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/prevent-csrf-cross-site-request-forgery-attacks-in-sharepoint-application-pages/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 18:46:50 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=112</guid>
		<description><![CDATA[Cross-Site Request Forgery (CSRF) is an attack outlined in the OWASP Top 10 whereby a malicious website will send a request to a web application that a user is already authenticated against from a different website.  Much detailed &#38; better explanation is here To prevent CSRF attacks in SharePoint application pages, which POST&#8217;s (http) data [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=112&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Cross-Site Request Forgery (CSRF)</strong> is an attack outlined in the OWASP Top 10 whereby a malicious website will send a request to a web application that a user is already authenticated against from a different website.  Much detailed &amp; better explanation is <a title="CSRF" href="http://www.veracode.com/security/csrf" target="_blank">here</a></p>
<p>To prevent CSRF attacks in SharePoint application pages, which POST&#8217;s (http) data to the server, use SharePoint FormDigest Control. This FormDigest Control inserts a generated digest (token) into the form page, when it is requested (usually through GET )&amp; in the code behind we can validate this token using <span class="Apple-style-span" style="font-family:Consolas, Monaco, monospace;font-size:12px;line-height:18px;white-space:pre;"><a title="SPUtility.ValidateFormDigest" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.utilities.sputility.validateformdigest.aspx" target="_blank">SPUtility.ValidateFormDigest()</a></span>to make sure that the form/page is not tampered with.  Its a good practice to validate the FormDigest in the code behind, which writes data to the DB/Server/SP list,..ideally any write operation that uses  <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spsecurity.runwithelevatedprivileges.aspx">RunWithElevatedPrivileges</a> . Two steps:</p>
<p><strong>1</strong>. Initialize FormDigest control in the custom application page.</p>
<p><pre class="brush: csharp;"> &lt;SharePoint:FormDigest runat=&quot;server&quot;/&gt;</pre></p>
<p><strong>2</strong>. Check for</p>
<p><pre class="brush: csharp;">SPUtility.ValidateFormDigest()</pre></p>
<p>in the code behind POST methods of application pages to make sure that the form is not tampered with.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/112/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/112/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/112/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=112&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/prevent-csrf-cross-site-request-forgery-attacks-in-sharepoint-application-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Deploying referenced project assemblies to GAC through sharepoint WSP</title>
		<link>http://acveer.wordpress.com/2011/06/22/deploying-referenced-project-assemblies-to-gac-through-sharepoint-wsp/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/deploying-referenced-project-assemblies-to-gac-through-sharepoint-wsp/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 18:34:35 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=108</guid>
		<description><![CDATA[To deploy referenced project assemblies to GAC through SharePoint WSP: 1. Open the Package designer in the SharePoint project. 2. Select the Advanced tab. 3. Click the Add button. 4. Select the Add Assembly from Project Output menu item. 5. Use the Source Project dropdown to select which project in your solution should have its [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=108&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>To deploy referenced project assemblies to GAC through SharePoint WSP:</p>
<p>1. Open the Package designer in the SharePoint project.<br />
2. Select the Advanced tab.<br />
3. Click the Add button.<br />
4. Select the Add Assembly from Project Output menu item.<br />
5. Use the Source Project dropdown to select which project in your solution should have its assembly included.<br />
6. Make sure the Deployment Target is set to GlobalAssemblyCache.<br />
7. Click OK, Build &amp; Deploy the Solution, the referenced assemblies should be in GAC.</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=108&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/deploying-referenced-project-assemblies-to-gac-through-sharepoint-wsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Get maxPwdAge for a Domain in AD.</title>
		<link>http://acveer.wordpress.com/2011/06/22/get-maxpwdage-for-a-domain-in-ad/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/get-maxpwdage-for-a-domain-in-ad/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 17:57:53 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=95</guid>
		<description><![CDATA[Get Domain level directory entry with username/password, get the property value for &#8216;maxPwdAge&#8216; (which would be System.__ComObject) Convert System.__ComObject to datetime/int. We have to use COM Interop Libraries for this one, ActiveDs.dll (you can find it on the web) For more information on converting Large Integer Property Type, please check http://msdn.microsoft.com/en-us/library/ms817837<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=95&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Get Domain level directory entry with username/password, get the property value for &#8216;<strong>maxPwdAge</strong>&#8216; (which would be <em>System.__ComObject</em>)<br />
Convert <em>System.__ComObject</em> to datetime/int.<br />
We have to use COM Interop Libraries for this one, <strong>ActiveDs.dll</strong> (you can find it on the web)</p>
<p><pre class="brush: csharp;">
System.Int64 largeInt=0;
IADsLargeInteger int64Val = (IADsLargeInteger) ent.Properties[&quot;maxPwdAge&quot;].Value;
largeInt = int64Val.HighPart * 0x100000000 + int64Val.LowPart;
Console.WriteLine(largeInt);
long ticks = Math.Abs((long)largeInt);
TimeSpan passwordAge = TimeSpan.FromTicks(ticks);
Console.WriteLine(&quot;PasswordAge={0}&quot;,passwordAge );
Console.WriteLine(&quot;PasswordAge in Days={0}&quot;, passwordAge.Days);
</pre></p>
<p>For more information on converting Large Integer Property Type, please check <a href="http://msdn.microsoft.com/en-us/library/ms817837" target="_blank">http://msdn.microsoft.com/en-us/library/ms817837</a></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=95&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/get-maxpwdage-for-a-domain-in-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;Please close SPWeb objects when you are done with all objects obtained from them, but not before&#8221;</title>
		<link>http://acveer.wordpress.com/2011/06/22/please-close-spweb-objects-when-you-are-done-with-all-objects-obtained-from-them-but-not-before/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/please-close-spweb-objects-when-you-are-done-with-all-objects-obtained-from-them-but-not-before/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 17:06:20 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=89</guid>
		<description><![CDATA[DO NOT use SPList directly from methods in webparts &#38; application pages. SPList is a sharepoint object &#38; will instantiate a new SPWeb Object, if used outside of its parent SPweb object. Always perform operation on SPObjects with in the SPWeb(parent SPObject) context. or else We will get the exception with this message : &#8220;Please [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=89&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DO NOT use SPList directly from methods in webparts &amp; application pages. SPList is a sharepoint object &amp; will instantiate a new SPWeb Object,<br />
if used outside of its parent SPweb object. Always perform operation on SPObjects with in the SPWeb(parent SPObject) context.</p>
<p>or else<br />
We will get the exception with this message : &#8220;<em>Please close SPWeb objects when you are done with all objects obtained from them, but not before</em>&#8220;</p>
<p>Muchos Muchos Gracias to Jonas for the explanation &amp; pattern in this <a href="http://community.bamboosolutions.com/blogs/bambooteamblog/archive/2009/09/29/suppose-we-don-t-dispose.aspx" target="_blank">article </a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/89/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/89/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/89/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=89&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/please-close-spweb-objects-when-you-are-done-with-all-objects-obtained-from-them-but-not-before/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Anonymous Custom Application Pages in SharePoint Sites.</title>
		<link>http://acveer.wordpress.com/2011/06/22/anonymous-custom-application-pages-in-sharepoint-sites/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/anonymous-custom-application-pages-in-sharepoint-sites/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:58:19 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=85</guid>
		<description><![CDATA[We sometimes want custom application pages in SharePoint solution , which needs to be enabled for anonymous access, for example: SiteLogin.aspx or AppError.aspx. By default, when we create an custom application page in visual studio in a SharePoint 2010 solution, it inherits from Microsoft.SharePoint.WebControls.LayoutsBasePage . so by default this custom application page needs login To [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=85&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We sometimes want custom application pages in SharePoint solution , which needs to be enabled for anonymous access, for example: SiteLogin.aspx or AppError.aspx. By default, when we create an custom application page in visual studio in a SharePoint 2010 solution, it inherits from <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.layoutspagebase.aspx" target="_blank">Microsoft.SharePoint.WebControls.LayoutsBasePage</a> . so by default this custom application page needs login</p>
<p>To make an application page anonymous, just Inherit from <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webcontrols.unsecuredlayoutspagebase.aspx" target="_blank">Microsoft.SharePoint.WebControls.UnsecuredLayoutsPageBase</a> &amp; override <em>AllowAnonymousAccess</em>()  property to return true;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=85&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/anonymous-custom-application-pages-in-sharepoint-sites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Recycle IIS Application Pool&#8217;: 0x80070005Access denied</title>
		<link>http://acveer.wordpress.com/2011/06/22/recycle-iis-application-pool-0x80070005access-denied/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/recycle-iis-application-pool-0x80070005access-denied/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:45:14 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=82</guid>
		<description><![CDATA[While deploying SharePoint 2010 solution from Visual Studio 2010, we often stumble upon the below deployment error: Recycle IIS Application Pool&#8217;: &#60;nativehr&#62;0&#215;80070005&#60;/nativehr&#62;&#60;nativestack&#62;&#60;/nativestack&#62;Access denied Solution: The Deploy Solution user that is running the visual Studio needs to be site collection Admin on the site , in my case, its Domain\Administrator<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=82&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While deploying SharePoint 2010 solution from Visual Studio 2010, we often stumble upon the below deployment error:</p>
<p>Recycle IIS Application Pool&#8217;: &lt;nativehr&gt;0&#215;80070005&lt;/nativehr&gt;&lt;nativestack&gt;&lt;/nativestack&gt;Access denied</p>
<p>Solution: The Deploy Solution user that is running the visual Studio needs to be site collection Admin on the site , in my case, its Domain\Administrator</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/82/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/82/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/82/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=82&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/recycle-iis-application-pool-0x80070005access-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Extending the Active Directory User Schema</title>
		<link>http://acveer.wordpress.com/2011/06/22/extending-the-active-directory-user-schema/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/extending-the-active-directory-user-schema/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:38:04 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=78</guid>
		<description><![CDATA[Active Directory user schema has enough properties/attributes to cover most user profile information, but in some cases , we might need to extend this schema to add our own custom attributes. Microsoft Active Directory provides this capability to customize the user schema at various domain/forest hierarchy levels. The below article was tremendously helpful for us [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=78&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Active Directory user schema has enough properties/attributes to cover most user profile information, but in some cases , we might need to extend this schema to add our own custom attributes. Microsoft Active Directory provides this capability to customize the user schema at various domain/forest hierarchy levels. The below article was tremendously helpful for us to achieve this. Thanks a lot Kurt Hudson.</p>
<p>http://www.informit.com/articles/article.aspx?p=169630&#038;seqNum=3</p>
<p>Unique X.500 Object Id: is an  unique object identifier for an attribute. This is NOT auto-generated when extending user schema, we need to come up with one or use this <a title="OIDGEN.VBS" href="http://gallery.technet.microsoft.com/scriptcenter/56b78004-40d0-41cf-b95e-6e795b2e8a06" target="_blank">script </a>to generate one. For more information, please check <a href="http://msdn.microsoft.com/en-us/library/ms677620.aspx" target="_blank">Obtaining an Object Identifier from Microsoft</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=78&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/extending-the-active-directory-user-schema/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Getting the Current Logged in user in SharePoint 2010</title>
		<link>http://acveer.wordpress.com/2011/06/22/getting-the-current-logged-in-user-in-sharepoint-2010/</link>
		<comments>http://acveer.wordpress.com/2011/06/22/getting-the-current-logged-in-user-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 16:14:11 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=62</guid>
		<description><![CDATA[We all know the below way to get the current logged in user in SharePoint: but this actually returns the user account running the application pool identity for that site.(if the application pool is configured to run as a standalone/service user account)) Another way to get the current context logged in user is through ensuring [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=62&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We all know the below way to get the current logged in user in SharePoint:</p>
<p><pre class="brush: csharp;">
SPWeb web = SPContext.Current.Web;
SPUser user = web.CurrentUser;
</pre></p>
<p>but this actually returns the user account running the application pool identity for that site.(if the application pool is configured to run as a standalone/service user account))<br />
Another way to get the current context logged in user is through ensuring the login name:</p>
<p><pre class="brush: csharp;">
SPWeb web = SPContext.Current.Web;
string loginName = System.Threading.Thread.CurrentPrincipal.Identity.Name
SPUser user = web.EnsureUser(@&quot;i:&quot; + loginName ); // Had to Append &quot;i:&quot; in my case of Custom Authentication Providers
</pre></p>
<p>For more information, please check out <a title="SPWeb.EnsureUser" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spweb.ensureuser.aspx" target="_blank">SPWeb.EnsureUser</a></p>
<p>Once we have current SPUser Object, we can also get to his SP Security Groups :</p>
<p><pre class="brush: csharp;">
SPUser user = web.EnsureUser(@&quot;i:&quot; + loginName );
SPGroupCollection userGroups = user.Groups;
foreach (SPGroup spgroup in userGroups)
{
}
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=62&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/06/22/getting-the-current-logged-in-user-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>
	</item>
		<item>
		<title>Deploying SSRS 2008 Reports in sharepoint integrated mode.</title>
		<link>http://acveer.wordpress.com/2011/03/07/deploying-srss-reports-to-sp2010/</link>
		<comments>http://acveer.wordpress.com/2011/03/07/deploying-srss-reports-to-sp2010/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 03:05:34 +0000</pubDate>
		<dc:creator>acveer</dc:creator>
				<category><![CDATA[Sharepoint 2010]]></category>
		<category><![CDATA[SQL Server Reporting Services]]></category>

		<guid isPermaLink="false">http://acveer.wordpress.com/?p=51</guid>
		<description><![CDATA[While deploying SSRS (SQL Server Reporting services) in SharePoint Integration mode, the deployment Path URL&#8217;s must be absolute (this includes  http://, the site collection, the path to the site,the library,). For example : TargetServerURL - indicates which site to deploy the report. In the above example, I deployed it to a Sub-site &#8216;Reports&#8217;. We can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=51&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While deploying SSRS (SQL Server Reporting services) in <em>SharePoint Integration mode</em>, the deployment Path URL&#8217;s must be <em>absolute </em>(this includes  http://, the site collection, the path to the site,the library,). For example :</p>
<p><a href="http://acveer.files.wordpress.com/2011/03/srss_project-deployment-properties.jpg"></a><a href="http://acveer.files.wordpress.com/2011/03/srss_project-deployment-properties.jpg"><img class="alignleft size-full wp-image-54" title="SRSS_Project-Deployment-Properties" src="http://acveer.files.wordpress.com/2011/03/srss_project-deployment-properties.jpg?w=600&#038;h=311" alt="" width="600" height="311" /></a></p>
<p><em>TargetServerURL </em>- indicates which site to deploy the report. In the above example, I deployed it to a Sub-site &#8216;Reports&#8217;. We can even deploy it at site collection level. i.e <em>http://dev:3660</em></p>
<p><em>TargetDataSourceFolder </em>- A regular SharePoint data connection library to store &amp; may be share the data source used by the report.</p>
<p><em>TargetReportFolder</em> &#8211; A regular SharePoint  library to save the report.</p>
<p>During deployment via Business Intelligence Visual Studio, it may ask for appropriate account privileges.  Successful Output below : &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Deploying to http://dev:3660/Reports<br />
Deploying data source &#8216;http://dev:3660/reports/ReportsDataSource/AWDataSource.rsds&#8217;.<br />
Deploying report &#8216;http://dev:3660/reports/AWReports/AWVendors.rdl&#8217;.<br />
Deploy complete &#8212; 0 errors, 0 warnings<br />
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========<br />
========== Deploy: 1 succeeded, 0 failed, 0 skipped ==========</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/acveer.wordpress.com/51/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/acveer.wordpress.com/51/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/acveer.wordpress.com/51/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=acveer.wordpress.com&amp;blog=18880728&amp;post=51&amp;subd=acveer&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://acveer.wordpress.com/2011/03/07/deploying-srss-reports-to-sp2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9096cc09982a912b87bb3b2251da5b58?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">acveer</media:title>
		</media:content>

		<media:content url="http://acveer.files.wordpress.com/2011/03/srss_project-deployment-properties.jpg" medium="image">
			<media:title type="html">SRSS_Project-Deployment-Properties</media:title>
		</media:content>
	</item>
	</channel>
</rss>
