<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;C0EHQnc9fip7ImA9WhRXFU4.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344</id><updated>2011-12-21T21:27:13.966-08:00</updated><category term="change list column width" /><category term="Mail" /><category term="SPListItem.Update ()" /><category term="SPD Workflow vs VS workflow" /><category term="SPListItem.SystemUpdate ()" /><category term="Remove / Hide the Approval and Collect Feedback" /><category term="Space in URL of current list item" /><category term="Deploying a User Control in MOSS 2007 with Feature" /><category term="document library column width issue" /><category term="MailMessage" /><category term="myschema.cs" /><category term="Deserialize" /><category term="programmatically Upload file in sharepoint Library" /><category term="Xsd.exe" /><category term="MySchema.xsd" /><category term="Deploying ascx file in moss 2007" /><category term="Workflow Status Fields Named/Value Pairs" /><category term="ListTemplateId for Event List" /><category term="Sharepoint designer workflow" /><category term="SmtpClient" /><category term="Sharepoint Designer workflow Vs Visual Studio workflow" /><category term="List column width issue" /><category term="SPGlobalAdmin" /><category term="Error &quot;401 Unauthorized&quot; For MOSS FBA" /><title>Share Point Developer Blog</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://maanusblogs.blogspot.com/" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SharePointDeveloperBlog" /><feedburner:info uri="sharepointdeveloperblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;Dk4ERX4_fSp7ImA9WxFSFko.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-1663288077158142865</id><published>2010-04-19T04:00:00.000-07:00</published><updated>2010-04-19T04:01:44.045-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-19T04:01:44.045-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Remove / Hide the Approval and Collect Feedback" /><title>Remove / Hide the "Approval" and "Collect Feedback" workflow in the "Start a New Workflow" page.</title><content type="html">&lt;strong&gt;Solution :&lt;/strong&gt; Go to : Shared Service Administrator &amp;gt; Site Setting &amp;gt; Site Content Type Gallery &amp;gt; Site Content Type,&lt;br /&gt;
&lt;br /&gt;
Select 'Document' or that content type where you want to remove 'Approval' or 'Collect Feedback' OOB Workflows.&lt;br /&gt;
&lt;br /&gt;
Click 'WorkFlow Settings' &amp;gt; remove the 'Approval' and 'Collect Feedback'&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;It is recommended to create your own site content type to do this otherwise all those&amp;nbsp;document libraries will be affected which have that content type.&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-1663288077158142865?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Oud2gH2Fy58QvV9CaGByB125Dyo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oud2gH2Fy58QvV9CaGByB125Dyo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Oud2gH2Fy58QvV9CaGByB125Dyo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Oud2gH2Fy58QvV9CaGByB125Dyo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/3fCZ8yMzUMM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/1663288077158142865/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2010/04/remove-hide-approval-and-collect.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1663288077158142865?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1663288077158142865?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/3fCZ8yMzUMM/remove-hide-approval-and-collect.html" title="Remove / Hide the &quot;Approval&quot; and &quot;Collect Feedback&quot; workflow in the &quot;Start a New Workflow&quot; page." /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2010/04/remove-hide-approval-and-collect.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcGR3Yyeip7ImA9WxFTFU4.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-6558809981704663270</id><published>2010-02-05T02:01:00.000-08:00</published><updated>2010-04-05T22:00:26.892-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-05T22:00:26.892-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Deploying a User Control in MOSS 2007 with Feature" /><category scheme="http://www.blogger.com/atom/ns#" term="Deploying ascx file in moss 2007" /><title>Deploying a User Control in MOSS 2007 with Feature</title><content type="html">&lt;div&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;To deploy our user control, Follow below given steps,&lt;br /&gt;
 Copy the user controls ascx and cs into directory&lt;br /&gt;
~\12\template\controltemplates&lt;br /&gt;
Need to create two file Feature.xml and Control.xml&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif;"&gt;Feature.xml&lt;br /&gt;
—————–&lt;br /&gt;
#?xml version="1.0″ encoding="utf-8″ ?#&lt;br /&gt;
#Feature Id="Generate New GUID"&lt;br /&gt;
Title="UserControlTest"&lt;br /&gt;
Scope="Farm"&lt;br /&gt;
Description="UserControlTest"&lt;br /&gt;
Version="1.0.0.0"&lt;br /&gt;
xmlns="http://schemas.microsoft.com/sharepoint/"&lt;br /&gt;
Hidden="FALSE"#&lt;br /&gt;
#ElementManifests#&lt;br /&gt;
#ElementManifest Location="control.xml" /#&lt;br /&gt;
#/ElementManifests#&lt;br /&gt;
#/Feature#&lt;br /&gt;
&lt;br /&gt;
You can define you feature scope in xml attribute 'Scope'.Here we are using farm level for this feature.&lt;br /&gt;
&lt;br /&gt;
control.xml&lt;br /&gt;
—————–&lt;br /&gt;
#?xml version="1.0″ encoding="utf-8″ ?#&lt;br /&gt;
#Elements xmlns=”http://schemas.microsoft.com/sharepoint/"#&lt;br /&gt;
#Control Id="UserControlTest"&lt;br /&gt;
Controlsrc="~/_controltemplates/ UserControlTest.ascx" Sequence="90″#&lt;br /&gt;
#/Control#&lt;br /&gt;
#/Elements#&lt;br /&gt;
&lt;br /&gt;
Create a folder to keep these xml files&lt;br /&gt;
~\12\TEMPLATE\FEATURES\#Folder Name#&lt;br /&gt;
&lt;br /&gt;
Copy the both files feature and control in the above location&lt;br /&gt;
~\12\TEMPLATE\FEATURES\#Folder Name#\Feature.xml&lt;br /&gt;
~\12\TEMPLATE\FEATURES\#Folder Name#\control.xml&lt;br /&gt;
&lt;br /&gt;
Now use stsadm to register feature&lt;br /&gt;
stsadm -o installfeature -filename CustomQuickLaunch\Feature.xml&lt;br /&gt;
&lt;br /&gt;
Now Open the aspx page on which you want to deploy the control in SharePoint designer add this where you want to deploy the control&lt;br /&gt;
&lt;br /&gt;
#SharePoint:DelegateControl ControlId="UserControlTest" runat="server"##/SharePoint:DelegateControl#&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-6558809981704663270?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iKa7v0orhP5OiQXiTgbOyTaAZOA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iKa7v0orhP5OiQXiTgbOyTaAZOA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iKa7v0orhP5OiQXiTgbOyTaAZOA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iKa7v0orhP5OiQXiTgbOyTaAZOA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/NM0AHtIu8hQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/6558809981704663270/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2010/02/deploying-user-control-in-moss-2007.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6558809981704663270?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6558809981704663270?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/NM0AHtIu8hQ/deploying-user-control-in-moss-2007.html" title="Deploying a User Control in MOSS 2007 with Feature" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2010/02/deploying-user-control-in-moss-2007.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ck8CRH49fyp7ImA9WxFTFU4.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-9088934454266236981</id><published>2010-02-05T01:57:00.000-08:00</published><updated>2010-04-05T22:14:25.067-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-04-05T22:14:25.067-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint Designer workflow Vs Visual Studio workflow" /><category scheme="http://www.blogger.com/atom/ns#" term="SPD Workflow vs VS workflow" /><title>Custom Workflow in SharePoint (Sharepoint Designer Vs Visual Studio)</title><content type="html">&lt;table border="1" style="width: 100%;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;table style="width: 100%;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: Arial, sans-serif; font-size: medium;"&gt;Using SharePoint Designer&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Using Visual Studio&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan="2"&gt;&lt;br /&gt;
&lt;hr /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Can write only sequential workflows.&lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Can write both sequential and state machine workflows.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Automatic deployment against the specific list or library against which workflow is being designed. &lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Can be deployed as a feature. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Logic is defined declaratively using Steps which comprises of Conditions and Actions &lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Logic could be defined through custom code written using C# or VB.NET. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflows could be associated to a specific list or library.&lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflow can be authored as Template which once deployed could be associated with any list or library. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflow modifications not possible. &lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflow modifications are possible using Modification forms built using ASP.NET or InfoPath form. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflow markup, rules all are stored as a document library on the site. &lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Workflows are compiled as an .NET assembly. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Can’t be debugged. &lt;/span&gt;&lt;/td&gt;&lt;td valign="top"&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: medium; vertical-align: top;"&gt;Debugging is possible using Visual Studio. &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-9088934454266236981?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NGFGZW4iMmmiCdHeYBDnjwLq-3E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NGFGZW4iMmmiCdHeYBDnjwLq-3E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NGFGZW4iMmmiCdHeYBDnjwLq-3E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NGFGZW4iMmmiCdHeYBDnjwLq-3E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/r93BmlJx0vg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/9088934454266236981/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2010/02/custom-workflow-in-sharepoint.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/9088934454266236981?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/9088934454266236981?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/r93BmlJx0vg/custom-workflow-in-sharepoint.html" title="Custom Workflow in SharePoint (Sharepoint Designer Vs Visual Studio)" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2010/02/custom-workflow-in-sharepoint.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak8GQHw7cSp7ImA9WxBREk4.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-8064398416786485766</id><published>2009-12-30T21:50:00.000-08:00</published><updated>2009-12-30T21:53:41.209-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-30T21:53:41.209-08:00</app:edited><title>View a detailed error in sharepoint</title><content type="html">&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;To View a detailed error in sharepoint, you need to follow below steps in your site’s web.config file . &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;strong&gt;Step 1:&lt;/strong&gt; Change 'CallStack' value from false to true in SafeMode attribute as shown below.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[SafeMode MaxControls="200" CallStack="false" .../]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;To &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[SafeMode MaxControls="200" CallStack="true" .../]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;strong&gt;Step2:&lt;/strong&gt; Change 'customErrors' tag mode from ‘On’ to ‘Off’.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[customErrors mode="On" /]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;To&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[customErrors mode="Off" /]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;strong&gt;Step3:&lt;/strong&gt; Change 'Debug' from 'false' to 'true' in 'Compilation' attribute.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[compilation batch="false" debug="false"]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;To&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;[compilation batch="false" debug="true"]&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;"&gt;&lt;strong&gt;Step 4:&lt;/strong&gt; Restart the IIS.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-8064398416786485766?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/cAZmSTzV28ZPkJHKxOEGRv2pzLM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cAZmSTzV28ZPkJHKxOEGRv2pzLM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/cAZmSTzV28ZPkJHKxOEGRv2pzLM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/cAZmSTzV28ZPkJHKxOEGRv2pzLM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/N-uLoVlHYdE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/8064398416786485766/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/12/view-detailed-error-in-sharepoint.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/8064398416786485766?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/8064398416786485766?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/N-uLoVlHYdE/view-detailed-error-in-sharepoint.html" title="View a detailed error in sharepoint" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/12/view-detailed-error-in-sharepoint.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkABQHo4fip7ImA9WxBREk4.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-3498824098554206790</id><published>2009-09-29T03:48:00.000-07:00</published><updated>2009-12-30T21:52:31.436-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-30T21:52:31.436-08:00</app:edited><title>An error has occurred after workflow completed MOSS 2007</title><content type="html">&lt;span style="font-size: 85%;"&gt;If you have a "built in" or custom approval workflow setup for your document library. The workflow runs correctly, however sometimes you look at the workflow status, you may receive an error after the task has been approved and completed such as,&lt;br /&gt;
Event Type: Error User ID: System Account Description: An error has occurred in [your workflow name].&lt;br /&gt;
&lt;strong&gt;Resolution:&lt;/strong&gt; There is a section "Post-completion Workflow Activities", where you can check "Update the approval status (use this workflow to control content approval)". If you check this option, and you do NOT have content approval enabled on the library level, you get the system account error message. If you do not check it, everything works fine.&lt;/span&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0470402512&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=0470533331&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1430227060&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;iframe align="left" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=1430227818&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr" style="align: left; height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-3498824098554206790?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/pQS0xOJgtDu9jwQ0pG8YWCKGD_Q/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pQS0xOJgtDu9jwQ0pG8YWCKGD_Q/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/pQS0xOJgtDu9jwQ0pG8YWCKGD_Q/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/pQS0xOJgtDu9jwQ0pG8YWCKGD_Q/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/YRO0QjLV4Fc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/3498824098554206790/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/09/error-has-occurred-after-workflow.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3498824098554206790?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3498824098554206790?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/YRO0QjLV4Fc/error-has-occurred-after-workflow.html" title="An error has occurred after workflow completed MOSS 2007" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/09/error-has-occurred-after-workflow.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEUNQHgyfip7ImA9WxBSFEU.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-1119332926864066652</id><published>2009-09-03T03:58:00.000-07:00</published><updated>2009-12-22T03:44:51.696-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T03:44:51.696-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Sharepoint designer workflow" /><category scheme="http://www.blogger.com/atom/ns#" term="Space in URL of current list item" /><title>Most common problems in SharePoint naming: spaces</title><content type="html">&lt;span style="font-size:85%;"&gt;When I did create a workflow action, Using SharePoint Designer 2007, which emails the URL of the current item in a list. I did use below lookup items in my workflow mail&lt;br /&gt;
1-[%LISTNAME: Encoded Absolute URL %]&lt;br /&gt;
2-[%LISTNAME: Server Relative URL%]&lt;br /&gt;
3-[%LISTNAME: URL Path %]&lt;br /&gt;
4-[%LISTNAME: Path %]&lt;br /&gt;
&lt;br /&gt;
There is one problem which will always occur and another which may occur, depending upon the naming convention you use for your lists.&lt;br /&gt;
&lt;br /&gt;
Problem 1: ID number pulled from URL actions are appended with "_.000" in case 1, 2 and 3.&lt;br /&gt;
Problem 2: In case 4, Spaces within list names are sometimes ignored, sometimes not. i.e. "My Test List" could be translated into "My Test %20List" - causing a 404 error during the URL lookup.&lt;br /&gt;
&lt;br /&gt;
Solution: Here I am solving problem 2. It works for me. According this,&lt;br /&gt;
&lt;br /&gt;
You need to rename your lists to contain no spaces. Now this would seem easy to do - enter your list settings, go to Title, description and navigation, and change the name. This will not work as it seems to only change a pointer for SharePoint references, but not anything that has to do with URL paths.&lt;br /&gt;
&lt;br /&gt;
You need to rename the list itself within SharePoint Designer to have one single list name. Right-click on the selected list, select "rename" and rename the list to something without spaces. SharePoint Designer will save this information to your SharePoint site and references in all attached workflows will reflect these changes.&lt;br /&gt;
&lt;br /&gt;
Basically this changes internal name of list. Now you can rename list name again from SharePoint list setting, go to Title, description and navigation, and change the name, if you need to display list title with space to all.&lt;/span&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B0027Z1IF2&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001BNR3V4&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B000HCXKKI&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001W8X6AU&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-1119332926864066652?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Uo-twA1rj8RXcsGz_GCTLMZ3d6Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Uo-twA1rj8RXcsGz_GCTLMZ3d6Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Uo-twA1rj8RXcsGz_GCTLMZ3d6Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Uo-twA1rj8RXcsGz_GCTLMZ3d6Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/ZFYBnrPy9Wc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/1119332926864066652/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/09/most-common-problems-in-sharepoint.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1119332926864066652?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1119332926864066652?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/ZFYBnrPy9Wc/most-common-problems-in-sharepoint.html" title="Most common problems in SharePoint naming: spaces" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/09/most-common-problems-in-sharepoint.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEMQX88eip7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-100083460982327849</id><published>2009-09-02T00:07:00.000-07:00</published><updated>2009-12-22T21:04:40.172-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:04:40.172-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Error &quot;401 Unauthorized&quot; For MOSS FBA" /><title>Error "401 Unauthorized" For MOSS FBA</title><content type="html">&lt;span style="font-size:85%;"&gt;When you have SharePoint Server 2007 implementation with Form Based Authentication (FBA) and anonymous access turned on you may experience 401 Unauthorized when you visit the site like &lt;a href="http://xxxxxx/sites123/pages123/default.aspx"&gt;http://xxxxxx/sites123/pages123/default.aspx&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size:85%;"&gt;&lt;br /&gt;
Look into your web.config file for Web Application that you extended to use FBA for *compilation* tag and edit it to make it look like below. Save the web.config and give it a run.&lt;br /&gt;
&lt;br /&gt;
*compilation batch="false" debug="false" /*&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size:85%;"&gt;Note: Please replace * (Blogger not support HTML tagging)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size:85%;"&gt;&lt;br /&gt;
And also when you visit the URL could you please check which Zone does the site belong to in the IE status bar?&lt;br /&gt;
I suppose the URL belongs to the Local Intranet Zone or Trusted Sites which automatically log on with your current Windows credential. If your windows credential does not have the permission to access the site, you would get 401 Unauthorized error. If so, please remove the sites from the Local Intranet Zone or Trusted Sites and try again.&lt;br /&gt;
&lt;br /&gt;
Hope it will help !! :-)&lt;/span&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002LEXA64&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B000M8OX6W&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002PHMC9I&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002P8M8HS&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-100083460982327849?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/v8-FajiMjDptpUJBuTCc2GqAMpo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v8-FajiMjDptpUJBuTCc2GqAMpo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/v8-FajiMjDptpUJBuTCc2GqAMpo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/v8-FajiMjDptpUJBuTCc2GqAMpo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/2qE1Hyu_jWY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/100083460982327849/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/09/error-401-unauthorized-for-moss-fba.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/100083460982327849?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/100083460982327849?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/2qE1Hyu_jWY/error-401-unauthorized-for-moss-fba.html" title="Error &quot;401 Unauthorized&quot; For MOSS FBA" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/09/error-401-unauthorized-for-moss-fba.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAARHY4eCp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-514806565896373389</id><published>2009-08-25T21:40:00.000-07:00</published><updated>2009-12-22T21:05:45.830-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:05:45.830-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="List column width issue" /><category scheme="http://www.blogger.com/atom/ns#" term="change list column width" /><category scheme="http://www.blogger.com/atom/ns#" term="document library column width issue" /><title>Change SharePoint 'Document library/List' Column width</title><content type="html">&lt;span style="font-size:85%;"&gt;Sometimes we need to change default column width of document library/list.To change sharepoint document library/list column we need to add a content editor webpart on that perticular page and need to write below code as javascript script.&lt;/span&gt; &lt;span style="font-size:85%;"&gt;(use below code within javascript tag)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size:85%;"&gt;_spBodyOnLoadFunctionNames.push("ModifiyCommentWidth");&lt;br /&gt;
function ModifiyCommentWidth() {&lt;br /&gt;
for (var i = 0, l = document.getElementsByTagName("TH").length; i &lt; l; i++) {
var thisTH = document.getElementsByTagName("TH")[i];
if (thisTH.className == 'ms-vh2-nograd') {
&lt;strong&gt;                if (thisTH.innerText == 'Comments') {&lt;br /&gt;
thisTH.style.width = "300px";&lt;br /&gt;
}&lt;br /&gt;
&lt;/strong&gt;            }&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size:85%;"&gt;Please ensure tag name before use this line of code because this is not same for all. This is working in my case but you need to update tag names accordingly.&lt;/span&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002XITTXG&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002XDQHWW&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002JIO4JY&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002UUTCKC&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-514806565896373389?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/hO_RoVgz5Yx91tfcZHQ40ZWXgaw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hO_RoVgz5Yx91tfcZHQ40ZWXgaw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/hO_RoVgz5Yx91tfcZHQ40ZWXgaw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/hO_RoVgz5Yx91tfcZHQ40ZWXgaw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/ONuweKRmPw0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/514806565896373389/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/08/change-sharepoint-document-librarylist.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/514806565896373389?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/514806565896373389?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/ONuweKRmPw0/change-sharepoint-document-librarylist.html" title="Change SharePoint 'Document library/List' Column width" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/08/change-sharepoint-document-librarylist.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8FRXc-cSp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-3805337730372908644</id><published>2009-08-18T05:43:00.000-07:00</published><updated>2009-12-22T21:06:54.959-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:06:54.959-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ListTemplateId for Event List" /><title>ListTemplateId for Event List</title><content type="html">&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;GenericList&lt;/strong&gt; 100&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;DocumentLibrary&lt;/strong&gt; 101&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Survey&lt;/strong&gt; 102&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Links&lt;/strong&gt; 103&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Announcements&lt;/strong&gt; 104&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Contacts&lt;/strong&gt; 105&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Events&lt;/strong&gt; 106&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Tasks&lt;/strong&gt; 107&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;DiscussionBoard&lt;/strong&gt; 108&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;PictureLibrary&lt;/strong&gt; 109&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt; &lt;strong&gt;Events &lt;/strong&gt;= &lt;strong&gt;Calendar&lt;/strong&gt; = 106&lt;/span&gt;&lt;/p&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B0023B14TK&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001PY41YQ&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001OI2Z2I&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001P3O3MC&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-3805337730372908644?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MCkDDAgnLl-jcd-tgDBBiEj0h6w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MCkDDAgnLl-jcd-tgDBBiEj0h6w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MCkDDAgnLl-jcd-tgDBBiEj0h6w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MCkDDAgnLl-jcd-tgDBBiEj0h6w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/k0EvazFnvcY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/3805337730372908644/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/08/listtemplateid-for-event-list.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3805337730372908644?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3805337730372908644?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/k0EvazFnvcY/listtemplateid-for-event-list.html" title="ListTemplateId for Event List" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/08/listtemplateid-for-event-list.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8CSH85cSp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-6155172571241435923</id><published>2009-08-18T05:22:00.000-07:00</published><updated>2009-12-22T21:07:49.129-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:07:49.129-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Workflow Status Fields Named/Value Pairs" /><title>Workflow Status Fields Named/Value Pairs</title><content type="html">&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;p&gt;&lt;span style="font-size:85%;"&gt;Not Started &lt;strong&gt;0 &lt;/strong&gt;&lt;br /&gt;
Failed on Start &lt;strong&gt;1 &lt;/strong&gt;&lt;br /&gt;
In Progress &lt;strong&gt;2     &lt;/strong&gt;&lt;br /&gt;
Error Occurred &lt;strong&gt;3 &lt;/strong&gt;&lt;br /&gt;
Canceled &lt;strong&gt;4 &lt;/strong&gt;&lt;br /&gt;
Completed &lt;strong&gt;5 &lt;/strong&gt;&lt;br /&gt;
Failed on Start (retrying) &lt;strong&gt;6&lt;/strong&gt;&lt;br /&gt;
Error Occurred (retrying) &lt;strong&gt;7 &lt;/strong&gt;&lt;br /&gt;
Canceled &lt;strong&gt;15 &lt;/strong&gt;&lt;br /&gt;
Approved &lt;strong&gt;16 &lt;/strong&gt;&lt;br /&gt;
Rejected &lt;strong&gt;17 &lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0470533331&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1430227060&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1430227664&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1430228652&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-6155172571241435923?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8i0RHuHaj5JiYjancvBz8wY1IzU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8i0RHuHaj5JiYjancvBz8wY1IzU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8i0RHuHaj5JiYjancvBz8wY1IzU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8i0RHuHaj5JiYjancvBz8wY1IzU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/pl5vOM2yWoI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/6155172571241435923/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/08/workflow-status-fields-namedvalue-pairs.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6155172571241435923?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6155172571241435923?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/pl5vOM2yWoI/workflow-status-fields-namedvalue-pairs.html" title="Workflow Status Fields Named/Value Pairs" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/08/workflow-status-fields-namedvalue-pairs.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4AQngyfip7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-3838925018693649537</id><published>2009-06-10T02:39:00.001-07:00</published><updated>2009-12-22T21:09:03.696-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:09:03.696-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="programmatically Upload file in sharepoint Library" /><title>Programmatically Upload a file from Local path to sharepoint document library [c#]</title><content type="html">&lt;span style="font-family:verdana;font-size:85%;"&gt;Here code is using FileUpload control to get a file from local system path.After getting this local file path ,below is code which helps to add this file to sharepoint document library. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;
/*Function ‘isFileExist’ use to get local file path as 'sourceFilePath' and document library path as 'targetDocumentLibraryPath' it calls function 'UploadFile' to upload sourceFile in targetDocumentLibrary.*/&lt;br /&gt;
&lt;br /&gt;
public void isFileExist()&lt;br /&gt;
{&lt;br /&gt;
if(_fileUpload.HasFile)&lt;br /&gt;
{&lt;br /&gt;
string sourceFilePath = _fileUpload.PostedFile.FileName.ToString();&lt;br /&gt;
sourceFilePath = sourceFilePath.Replace("%20", " ");&lt;br /&gt;
sourceFilePath = sourceFilePath.Replace('\\', '/');&lt;br /&gt;
string targetDocumentLibraryPath = string.Empty;&lt;br /&gt;
using (SPSite osite = new SPSite(SiteURL))&lt;br /&gt;
{&lt;br /&gt;
targetDocumentLibraryPath = osite.Url + DocLibName + "/";&lt;br /&gt;
}&lt;br /&gt;
targetDocumentLibraryPath = targetDocumentLibraryPath.Replace("%20", " ");&lt;br /&gt;
targetDocumentLibraryPath = targetDocumentLibraryPath.Replace('\\', '/');&lt;br /&gt;
SPFile _File = UploadFile( _fileUpload.FileName, sourceFilePath, targetDocumentLibraryPath);&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/*Function ‘UploadFile’ takes file from local system as a stream and add this stream to sharepoint document library.*/&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;public SPFile UploadFile(string fileName, string srcUrl, string destUrl)&lt;br /&gt;
{&lt;br /&gt;
if (!File.Exists(srcUrl))&lt;br /&gt;
{&lt;br /&gt;
throw new ArgumentException(String.Format("{0} does not exist", srcUrl), "srcUrl");&lt;br /&gt;
}&lt;br /&gt;
SPWeb site = new SPSite(destUrl).OpenWeb();&lt;br /&gt;
FileStream fStream = File.OpenRead(srcUrl);&lt;br /&gt;
byte[] contents = new byte[fStream.Length];&lt;br /&gt;
fStream.Read(contents, 0, (int)fStream.Length);&lt;br /&gt;
fStream.Close();&lt;br /&gt;
SPFile uploadedFile = site.Folders[destUrl].Files.Add(destUrl + fileName, contents);&lt;br /&gt;
return uploadedFile;&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001P05NKG&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002QQ8EKO&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001P05NKG&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002QQ8AJY&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-3838925018693649537?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RpjzWvSIXWK0e3tGtcAW8T6-v00/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RpjzWvSIXWK0e3tGtcAW8T6-v00/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RpjzWvSIXWK0e3tGtcAW8T6-v00/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RpjzWvSIXWK0e3tGtcAW8T6-v00/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/6cPdGv0q5Qc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/3838925018693649537/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/06/programmatically-upload-file-from-local.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3838925018693649537?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/3838925018693649537?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/6cPdGv0q5Qc/programmatically-upload-file-from-local.html" title="Programmatically Upload a file from Local path to sharepoint document library [c#]" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/06/programmatically-upload-file-from-local.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cGRno8eCp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-1494957834702779531</id><published>2009-05-26T01:57:00.000-07:00</published><updated>2009-12-22T21:10:27.470-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:10:27.470-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SPListItem.SystemUpdate ()" /><category scheme="http://www.blogger.com/atom/ns#" term="SPListItem.Update ()" /><title>Difference between methods SPListItem.Update() and  SPListItem.SystemUpdate()</title><content type="html">&lt;span style="font-family:verdana;font-size:85%;"&gt;There are two methods provided by SharePoint object model to update a list item.&lt;br /&gt;
i) Update()&lt;br /&gt;
ii) SystemUpdate().&lt;br /&gt;
Both are working fine to update a list but there is some difference between both methods. Let’s see&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms461526.aspx"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;SPListItem.Update () &lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;: Updates the database with changes made to the list item.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;SPList list = web.Lists["myList"];&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;SPListItem item = list.Items[0];&lt;br /&gt;
item["myField"] = "my value";&lt;br /&gt;
item.Update();&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;This works fine and update particular list item. Basically this is creating new version of that list item. It update ‘Modified’ and ‘Modified by’ value as well.&lt;br /&gt;
But in some cases where no need to create new version of list item like during migration or some where there is no need to update modified date and modified by. For that situation function ‘SystemUpdate()’ works fine.&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/ms461526.aspx"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;SPListItem.SystemUpdate () &lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;: Updates the database with changes made to the list item, without effecting changes in the Modified or Modified By fields.&lt;br /&gt;
&lt;br /&gt;
SPList list = web.Lists["myList"];&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;SPListItem item = list.Items[0];&lt;br /&gt;
item["myField"] = "my value";&lt;br /&gt;
item.SystemUpdate();&lt;br /&gt;
&lt;br /&gt;
SystemUpdate method ignore changing modified date and modifier fields.&lt;br /&gt;
item.SystemUpdate(false);&lt;br /&gt;
If Argument 'false' use with this method than it tells that no new versions are expected. &lt;/span&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002ONCDVK&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002PY7OF8&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001VEBKGM&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B002ONCCFW&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-1494957834702779531?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LKHWaVZDQviGCByyRFAXYUZWoF4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LKHWaVZDQviGCByyRFAXYUZWoF4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LKHWaVZDQviGCByyRFAXYUZWoF4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LKHWaVZDQviGCByyRFAXYUZWoF4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/0AqIbTsKrbA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/1494957834702779531/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/05/difference-between-methods.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1494957834702779531?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/1494957834702779531?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/0AqIbTsKrbA/difference-between-methods.html" title="Difference between methods SPListItem.Update() and  SPListItem.SystemUpdate()" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/05/difference-between-methods.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cDSXk7eyp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-6684086727052147762</id><published>2009-05-18T02:53:00.000-07:00</published><updated>2009-12-22T21:11:18.703-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:11:18.703-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SmtpClient" /><category scheme="http://www.blogger.com/atom/ns#" term="MailMessage" /><category scheme="http://www.blogger.com/atom/ns#" term="SPGlobalAdmin" /><category scheme="http://www.blogger.com/atom/ns#" term="Mail" /><title>Sending mail in SharePoint [c# ]</title><content type="html">&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;We can send mail to any where with the help of c# custom code. Below given code use setting from ‘Outgoing e-mail setting’. This is out of box functionality of SharePoint. Therefore before using this code, configure this from Central Administration.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Libraries which you have to add above the code.&lt;br /&gt;
using System.Net.Mail;&lt;br /&gt;
using Microsoft.SharePoint;&lt;br /&gt;
&lt;br /&gt;
Below code shows functionality to send mail.&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;public void SendMail()&lt;br /&gt;
{&lt;br /&gt;
try&lt;br /&gt;
{&lt;br /&gt;
Microsoft.SharePoint.Administration.SPGlobalAdmin globAdmin = new Microsoft.SharePoint.Administration.SPGlobalAdmin();&lt;br /&gt;
MailMessage objEmail = new MailMessage(FromMail, ToMail,Subject,Body);&lt;br /&gt;
objEmail.IsBodyHtml = true;&lt;br /&gt;
objEmail.Priority = MailPriority.Normal;&lt;br /&gt;
SmtpClient smtp = new SmtpClient(globAdmin.OutboundSmtpServer);&lt;br /&gt;
smtp.Send(objEmail);&lt;br /&gt;
}&lt;br /&gt;
catch&lt;br /&gt;
{&lt;br /&gt;
throw;&lt;br /&gt;
}&lt;br /&gt;
}&lt;/span&gt;&lt;/p&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1590598083&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0470117567&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=0672329034&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=1590599136&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-6684086727052147762?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RD7QX0YBCUk-HqK8Z-8TB70EmFA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RD7QX0YBCUk-HqK8Z-8TB70EmFA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RD7QX0YBCUk-HqK8Z-8TB70EmFA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RD7QX0YBCUk-HqK8Z-8TB70EmFA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/qlIBMDZaYE8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/6684086727052147762/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/05/sending-mail-in-sharepoint-with-c-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6684086727052147762?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/6684086727052147762?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/qlIBMDZaYE8/sending-mail-in-sharepoint-with-c-code.html" title="Sending mail in SharePoint [c# ]" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/05/sending-mail-in-sharepoint-with-c-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YGQX89eSp7ImA9WxBSFUk.&quot;"><id>tag:blogger.com,1999:blog-7600830746676457344.post-7126328705713087068</id><published>2009-04-10T05:04:00.000-07:00</published><updated>2009-12-22T21:12:00.161-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-12-22T21:12:00.161-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Deserialize" /><category scheme="http://www.blogger.com/atom/ns#" term="Xsd.exe" /><category scheme="http://www.blogger.com/atom/ns#" term="MySchema.xsd" /><category scheme="http://www.blogger.com/atom/ns#" term="myschema.cs" /><title>Using browser enable Infopath form as a class [C#]</title><content type="html">&lt;span style="font-family:verdana;font-size:85%;"&gt;I was facing a problem when I had needed a dot net utility to get data from browser enable InfoPath form and save this to another custom list. These steps and code will help to use an browser enable InfoPath form as a Dot Net class.&lt;br /&gt;
For using browser enable InfoPath as a class first you need to follow these steps,&lt;br /&gt;
 Create a browser enable InfoPath Form.&lt;br /&gt;
 Save it’s source file by selecting ‘Save As Source Files…’.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;p&gt;&lt;a href="http://1.bp.blogspot.com/__yEci5XPWXw/Sd82oedSWeI/AAAAAAAAABg/oQ0Q86ONmGk/s1600-h/untitled1.JPG"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323033353573784034" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 288px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/__yEci5XPWXw/Sd82oedSWeI/AAAAAAAAABg/oQ0Q86ONmGk/s320/untitled1.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;
&lt;br /&gt;
After click ‘Save As Source Files…’, you need to provide path to save this form schema on your location. You can check that ‘MySchema.xsd’ will also one of all files saved on your provided path.&lt;br /&gt;
Now Go to Start Menu -&gt; All Programs -&gt;Microsoft Visual Studio 2005 -&gt; Visual Studio Tools -&gt;Visual Studio 2005 Command Prompt&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;a href="http://2.bp.blogspot.com/__yEci5XPWXw/Sd822m12wWI/AAAAAAAAABo/KdJu9eFOdIE/s1600-h/untitled2.JPG"&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;img id="BLOGGER_PHOTO_ID_5323033596342485346" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 64px; TEXT-ALIGN: center" alt="" src="http://2.bp.blogspot.com/__yEci5XPWXw/Sd822m12wWI/AAAAAAAAABo/KdJu9eFOdIE/s320/untitled2.JPG" border="0" /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;br /&gt;
&lt;br /&gt;
It will display Visual Studio Command prompt. Now navigate to your folder where you have save you InfoPath form schema (MySchema.xsd).&lt;br /&gt;
&lt;br /&gt;
Now you need to run command&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Xsd.exe /c /l:CS myschema.xsd&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Remember that source infopath form will be closed before executing this command.It will create “myschema.cs” in same folder. This class will look like this…&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
using System.Xml.Serialization;&lt;br /&gt;
&lt;br /&gt;
//&lt;br /&gt;
// This source code was auto-generated by xsd, Version=2.0.50727.42.&lt;br /&gt;
//&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
/// &lt;remarks&gt;&lt;br /&gt;
[System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.42")]&lt;br /&gt;
[System.SerializableAttribute()]&lt;br /&gt;
[System.Diagnostics.DebuggerStepThroughAttribute()]&lt;br /&gt;
[System.ComponentModel.DesignerCategoryAttribute("code")]&lt;br /&gt;
[System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true, Namespace="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-04-09T04:39:44")]&lt;br /&gt;
[System.Xml.Serialization.XmlRootAttribute(Namespace="http://schemas.microsoft.com/office/infopath/2003/myXSD/2008-04-09T04:39:44", IsNullable=false)]&lt;br /&gt;
public partial class myFields {&lt;br /&gt;
&lt;br /&gt;
---------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
you can use all properties of class ‘myFields’.&lt;br /&gt;
&lt;br /&gt;
Now as per requirement, Suppose there is a document library (Suppose _doclib) where all infopath forms has saved.Let take a item (Suppose ID = 1) of that library. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;strong&gt;&lt;u&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;C# Code: &lt;/span&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;
&lt;span style="font-family:verdana;font-size:85%;"&gt;SPListItem item = _doclib.Items.GetItemById(1);&lt;br /&gt;
SPFile InfoPathFile = item.File;&lt;br /&gt;
if (InfoPathFile != null)&lt;br /&gt;
{&lt;br /&gt;
Stream inStream = InfoPathFile.OpenBinaryStream(SPOpenBinaryOptions.None);&lt;br /&gt;
XmlTextReader reader = new XmlTextReader(inStream);&lt;br /&gt;
myFields objForm = (myFields)DeserializeFile(InfoPathFile, typeof(myFields));&lt;br /&gt;
}&lt;br /&gt;
protected static object DeserializeFile(SPFile myFile, Type myType)&lt;br /&gt;
{&lt;br /&gt;
MemoryStream fileStream = new MemoryStream(myFile.OpenBinary());&lt;br /&gt;
XmlReader reader = XmlReader.Create(fileStream);&lt;br /&gt;
XmlSerializer serializer = new XmlSerializer(myType);&lt;br /&gt;
return serializer.Deserialize(reader);&lt;br /&gt;
} &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:verdana;font-size:85%;"&gt;Now ‘objForm’ will have all values of that perticular infopath form.just use this objForm and enjoy…&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/p&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001PKEJYM&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001OC7ISK&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001SER492&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;iframe src="http://rcm.amazon.com/e/cm?t=maanu15@gmail.com&amp;o=1&amp;p=8&amp;l=bpl&amp;asins=B001O9ARDG&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;m=amazon&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" style="align:left;padding-top:5px;width:131px;height:245px;padding-right:10px;" align="left" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7600830746676457344-7126328705713087068?l=maanusblogs.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/bbaxpJ08zM7xmppAXpqeSGm5VPo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bbaxpJ08zM7xmppAXpqeSGm5VPo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/bbaxpJ08zM7xmppAXpqeSGm5VPo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/bbaxpJ08zM7xmppAXpqeSGm5VPo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SharePointDeveloperBlog/~4/3cbWWbcia_M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://maanusblogs.blogspot.com/feeds/7126328705713087068/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://maanusblogs.blogspot.com/2009/04/using-browser-enable-infopath-form-as.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/7126328705713087068?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/7600830746676457344/posts/default/7126328705713087068?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SharePointDeveloperBlog/~3/3cbWWbcia_M/using-browser-enable-infopath-form-as.html" title="Using browser enable Infopath form as a class [C#]" /><author><name>Maanu</name><uri>http://www.blogger.com/profile/15774785668246369002</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/__yEci5XPWXw/Sd82oedSWeI/AAAAAAAAABg/oQ0Q86ONmGk/s72-c/untitled1.JPG" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://maanusblogs.blogspot.com/2009/04/using-browser-enable-infopath-form-as.html</feedburner:origLink></entry></feed>

