<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SharePoint Coder</title>
	<atom:link href="http://sharepointcoder.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://sharepointcoder.com</link>
	<description>SharePoint and .Net Development</description>
	<lastBuildDate>Wed, 28 Jul 2010 20:35:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SharePoint upload size limit with IIS7</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-upload-size-limit-iis7/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-upload-size-limit-iis7/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 17:56:17 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[maxRequestLength]]></category>
		<category><![CDATA[SharePoint Upload Size]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=348</guid>
		<description><![CDATA[To increase the SharePoint size limit along with the timeout you will need to change the settings in 4 locations. . . Before making changes to any of the web.config files please make sure to create backups before editing them. Also under no circumstances should you copy web.config files from one server to another. Doing [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-upload-size-limit-iis7%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-upload-size-limit-iis7%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>To increase the SharePoint size limit along with the timeout you will need to change the settings in 4 locations.  </p>
<p>.<br />
.<br />
Before making changes to any of the web.config files please make sure to create backups before editing them.  Also under no circumstances should you copy web.config files from one server to another.  Doing so will break your environment.<br />
.<br />
.</p>
<p>1. Central Administration <span style="font-family:Wingdings">à</span> Application Settings <span style="font-family:Wingdings">à</span> Web Application general settings <span style="font-family:Wingdings">à</span> Change your Web application URL then update the Maximum upload size</p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/07/Central-Admin-Max-Upload-Size.jpg" rel="lightbox[348]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/Central-Admin-Max-Upload-Size-300x105.jpg" alt="" title="Central Admin Max Upload Size" width="300" height="105" class="alignnone size-medium wp-image-344" /></a></p>
<p> 2. Update the Web Application&#8217;s Web.config file that you increased in step 1.  In my case I am updating the 80 web application which is located under <em>C:\inetpub\wwwroot\wss\VirtualDirectories\80\web.config</em></p>
<p>Replace:<br />
  <a href="http://sharepointcoder.com/wp-content/uploads/2010/07/MaxRequestLength.jpg" rel="lightbox[348]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/MaxRequestLength.jpg" alt="" title="MaxRequestLength" width="372" height="48" class="alignnone size-full wp-image-379" /></a></p>
<p>with<br />
<a href="http://sharepointcoder.com/wp-content/uploads/2010/07/MaxRequestLength-After.jpg" rel="lightbox[348]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/MaxRequestLength-After.jpg" alt="" title="MaxRequestLength After" width="520" height="50" class="alignnone size-full wp-image-380" /></a></p>
<p> 3. Update SharePoint web services Web.config under <em>C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS<br />
</em><br />
Typically you only need to update the upload.aspx section but in my case I was using a custom code that uploaded documents via the copy.aspx web service so I had to include that section as well since it is not in the web.config out of the box</p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/07/072810_1755_SharePointu11.png" rel="lightbox[348]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/072810_1755_SharePointu11.png" alt="" title="MaxRequestLength" width="624" height="120" class="alignnone size-full wp-image-349" /></a></p>
<p> 4.  If you are running windows server 2008 and still having issues uploading larger files add the following under the &lt;configuration&gt; section into your web applications web.config file from step 1</p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/07/web-config-change.jpg" rel="lightbox[348]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/web-config-change.jpg" alt="" title="web config change" width="422" height="143" class="alignnone size-full wp-image-382" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-upload-size-limit-iis7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Document ID Service</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-2010-document-id-service-3/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-2010-document-id-service-3/#comments</comments>
		<pubDate>Mon, 19 Jul 2010 15:43:12 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[Services]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Configure Document ID Service]]></category>
		<category><![CDATA[DocID]]></category>
		<category><![CDATA[Document ID Service]]></category>
		<category><![CDATA[Parmenter]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/uncategorized/sharepoint-2010-document-id-service-3/</guid>
		<description><![CDATA[I have been doing a lot of research lately on the Document ID service for a presentation and lab that I&#8217;ll be giving at the KnowledgdeLake Summit this week and through I would share some of the things I found out. Some general setup information Active Document ID Service Site Actions &#8211;&#62; Site Settings &#8211;&#62; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010-document-id-service-3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010-document-id-service-3%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p><span style="font-family: times new roman; font-size: 12pt">I have been doing a lot of research lately on the Document ID service for a presentation and lab that I&#8217;ll be giving at the KnowledgdeLake Summit this week and through I would share some of the things I found out.      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>Some general setup information</strong>      <br /></span></p>
<ol>
<li>
<div>Active Document ID Service        </div>
<ol>
<li>Site Actions &#8211;&gt; Site Settings &#8211;&gt; Manage Site Collection Features (Under Site Collection Administration)          </li>
</ol>
</li>
<li>
<div>Configure Document ID Service        </div>
<ol>
<li>Site Actions &#8211;&gt; Site Settings &#8211;&gt; Document ID Settings (Under Site Collection Administration)          </li>
<li>Check Assign Document IDs          </li>
<li>Enter in Document ID Prefix </li>
</ol>
<p>&#160;</p>
</li>
</ol>
<p><strong>Activating the Document ID Service adds the following fields to the Document Content Type</strong>    </p>
<ul>
<li>
<div>Document ID        </div>
<ul>
<li>This is the only field you can see inside the library          </li>
<li>Unique ID assigned by the service to the document          </li>
</ul>
</li>
<li>
<div>Static URL        </div>
<ul>
<li>URL used to lookup the document          </li>
</ul>
</li>
<li>
<div>Persist ID        </div>
<ul>
<li>Used to determine if the existing Document ID should be kept or reassigned </li>
</ul>
</li>
</ul>
<p>&#160;</p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>Other things you should know about DocID Service</strong>      <br /></span></p>
<ol>
<li>
<div><strong>Document IDs within a library are created off of the Library ID and ID of the document within the list          <br /></strong></div>
<p><span style="font-family: times new roman; font-size: 12pt">When you first upload a document the Document ID URL is immediately available example: <a href="http://kldemo:81/_layouts/DocIdRedir.aspx?ID=SUMMIT-2-12">http://kldemo:81/_layouts/DocIdRedir.aspx?ID=SUMMIT-2-12</a>          <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>Library ID (2) &#8211; ID (12) </strong>          <br /></span></p>
</li>
<li><strong>Events Added to each library test        <br /></strong></li>
</ol>
<ul style="margin-left: 72pt">
<li>ItemAdded      </li>
<li>ItemUpdated      </li>
</ul>
<p><span style="font-family: times new roman; font-size: 12pt">I could not find the ItemUpdated listed event anywhere on MSDN for Document IDs but I can only assume it is firing that event because if you upload documents before the service is enabled then edit a document after the service is turned on it will create a document id. </span></p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>Testing Moving a document across libraries within a site collection </strong></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">Now that I had the Document ID service setup and working I went ahead and tried moving the document within the site collection to verify the document id would remain the same.      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">Instead of writing code to invoke the SPFile.MoveTo method (which is documented as the only way the document will retain the current Document ID) I want to try moving the document via windows explorer like the good old days in 2007. If you need help getting this up and running on Windows 2008 I posted on that <a href="http://sharepointcoder.com/sharepoint/sharepoint-2010/access-sharepoint-2010-sites-and-libraries-via-unc" target="_blank">Here</a>      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">Turns out if you browse to the library using UNC <span style="text-decoration: underline">\\kldemo@81\Documents</span> the SPFile.MoveTo method is not called because the Document ID get updated to a new value. However if you use the <strong><em>Open with Explorer</em></strong> option within the source and destination libraries you can right click on the file in one location and paste it into the other which does retain the original Document ID </span></p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>After moving the document       <br /></strong></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">The link to the document via the Document ID static URL is only as good as your last crawl!! If you have uploaded the document and a crawl has not occurred you will still be able to access the document via the link until the document has been moved. The link will become valid again once the document has been crawled.      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">There are two tables inside the <em>Search Service Application PropertyStoreDB GUID</em> database.      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt"></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">MSSDocResults     <br /></span></p>
<p style="margin-left: 18pt"><span style="font-family: times new roman; font-size: 12pt"><strong>Table Columns       <br /></strong></span></p>
<ol style="margin-left: 72pt">
<li><span style="font-family: times new roman; font-size: 12pt">DocID       <br /></span></li>
<li>
<div><span style="font-family: times new roman; font-size: 12pt">URL          <br /></span></div>
<ol>
<li><span style="font-family: times new roman; font-size: 12pt">URL to the document in SharePoint           <br /></span></li>
<li>
<div><span style="font-family: times new roman; font-size: 12pt">This value gets updated during each crawl              <br /></span></div>
</li>
</ol>
</li>
</ol>
<p><span style="font-family: times new roman; font-size: 12pt">MSSDocProps     <br /></span></p>
<p style="margin-left: 18pt"><span style="font-family: times new roman; font-size: 12pt"><strong>Table Columns       <br /></strong></span></p>
<ol style="margin-left: 72pt">
<li><span style="font-family: times new roman; font-size: 12pt">DocID – Ties back to the DocID in MSSDocResults       <br /></span></li>
<li><span style="font-family: times new roman; font-size: 12pt">strVal2 – Holds the DocID Static URL <a href="http://kldemo:81/_layouts/DocIdRedir.aspx?ID=SUMMIT-2-12">http://kldemo:81/_layouts/DocIdRedir.aspx?ID=SUMMIT-2-12</a>        <br /></span></li>
</ol>
<p><span style="font-family: times new roman; font-size: 12pt"></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">** <strong>NOTE:&#160; Do not edit values directly in the SharePoint databases or the database structure.&#160; I provided this information for that purpose only… Information </strong></span></p>
<p><span style="font-family: times new roman; font-size: 12pt"></span></p>
<p><span style="font-family: times new roman; font-size: 12pt"><strong>Conclusion </strong>      <br /></span></p>
<p><span style="font-family: times new roman; font-size: 12pt">Document ID service is a feature that was highly requested by many of our SharePoint 2007 customers and I&#8217;m sure will be deploying it frequently going forward. However one of the reservations I have is enabling this feature in a Migration scenario or a high load time because of the ItemAdded event that will be fired for every document will significantly decrease the performance. So instead I will not enable the Document ID service until all documents have been uploaded. Then inside Central Admin I will fire off the Document ID Service timer job now instead of waiting the week (Default) for the Document ID properties to be set. </span></p>
<p><span style="font-family: times new roman; font-size: 12pt">The performance degradation is an item I plan on testing here soon and will report back if I see any issues during migrations / high peak times </span></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-2010-document-id-service-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access SharePoint 2010 Sites and Libraries via UNC</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-2010/access-sharepoint-2010-sites-and-libraries-via-unc/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-2010/access-sharepoint-2010-sites-and-libraries-via-unc/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 21:16:50 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[Desktop Experience]]></category>
		<category><![CDATA[WebClient]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=272</guid>
		<description><![CDATA[While I was building one of my labs to demonstrate the Document ID feature &#8212; where you can move documents within a site collection and it reatins your Document ID &#8212; I tried to UNC into my SharePoint site \\KLDemo\Documents and I get the typical error &#8220;Windows cannot access \\KLDemo\Documents&#8221; In the past turning on [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010%2Faccess-sharepoint-2010-sites-and-libraries-via-unc%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010%2Faccess-sharepoint-2010-sites-and-libraries-via-unc%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>While I was building one of my labs to demonstrate the Document ID feature &#8212; where you can move documents within a site collection and it reatins your Document ID &#8212; I tried to UNC into my SharePoint site \\KLDemo\Documents and I get the typical error &#8220;Windows cannot access \\KLDemo\Documents&#8221;<br />
</br><br />
<a href="http://sharepointcoder.com/wp-content/uploads/2010/07/Windows-cannot-access-Network-error.png" rel="lightbox[272]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/Windows-cannot-access-Network-error.png" alt="" title="Windows cannot access - Network error" width="523" height="155" class="alignnone size-full wp-image-273" /></a><br />
</br></p>
<p>In the past turning on the WebClient service fixed the issue but that service no longer exists on Windows Server 2008&#8230; Or does it?? Well after banging my head against the wall I decided to install Desktop experience to see if that fixed my issue (Server Manager &#8211;> Features &#8211;> Add New Feature &#8211;> Desktop Experience)<br />
</br><br />
<a href="http://sharepointcoder.com/wp-content/uploads/2010/07/Desktop-Experience.png" rel="lightbox[272]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/Desktop-Experience.png" alt="" title="Desktop Experience" width="784" height="589" class="alignnone size-full wp-image-274" /></a><br />
</br><br />
Turns out the WebClient Service does exist for Server 2008 you just have to install the desktop experience to get it there.<br />
</br><br />
How to access SharePoint using UNC</p>
<p>  If your site is under port 80 you can use  <b>\\kldemo\Documents</b></p>
<p>  But what happens if your SharePoint site is under a different port?  Just replace the : with an @ symbol so you end up with <b>\\kldemo@81\Documents</b><br />
</br></p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/07/SharePoint-2010-UNC.png" rel="lightbox[272]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/SharePoint-2010-UNC.png" alt="" title="SharePoint 2010 UNC" width="577" height="288" class="alignnone size-full wp-image-280" /></a></p>
<p></br></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-2010/access-sharepoint-2010-sites-and-libraries-via-unc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Could not find stored procedure &#8216;proc_ar_BumpCacheInvalidationCounter&#8217;</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/could-not-find-stored-procedure-proc_ar_bumpcacheinvalidationcounter/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/could-not-find-stored-procedure-proc_ar_bumpcacheinvalidationcounter/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 20:34:21 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=243</guid>
		<description><![CDATA[The SQL error that it cannot find the stored procedure &#8216;proc_ar_BumpCacheInvalidationCounter&#8217; is a known issue with SharePoint Standard version because BDC is not active in that version. There are some &#8220;fixes&#8221; out there that tell you to modify the database&#8230; I however would not follow their advice since that breaks the SharePoint golden rule &#8212; [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2007-sharepoint%2Fcould-not-find-stored-procedure-proc_ar_bumpcacheinvalidationcounter%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2007-sharepoint%2Fcould-not-find-stored-procedure-proc_ar_bumpcacheinvalidationcounter%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>The SQL error that it cannot find the stored procedure &#8216;proc_ar_BumpCacheInvalidationCounter&#8217; is a known issue with SharePoint Standard version because BDC is not active in that version.  </p>
<p>There are some <i>&#8220;fixes&#8221;</i> out there that tell you to modify the database&#8230; I however would not follow their advice since that breaks the SharePoint golden rule &#8212; <b>DO NOT Modify the Databases</b></p>
<p>Instead I would create an event log filter to remove that error since it can be &#8220;safely ignored&#8221;.</p>
<p><a href="http://bit.ly/9GCMJp">Link to a MSDN blog on the issue</a></p>
<p><b>SQL ERROR</b><br />
<code><br />
[2575512]  SharePointServer.domain.net.msgs red Sat Jul 03 13:11:10 CDT<br />
2010 [SHAREPOINTSERVER.domain.net]</p>
<p>App: E 'Sat Jul 03 13:00:47 2010': Office SharePoint Server 7888 - " A runtime exception was detected.<br />
Details follow.<br />
Message: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.</p>
<p>Techinal Details:<br />
System.Data.SqlClient.SqlException: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.<br />
   at System.Data.SqlClient.SqlConnection.OnError(SqlException<br />
exception, Boolean breakConnection)</p>
<p>   at<br />
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateO<br />
bject stateObj)<br />
   at<br />
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br />
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader<br />
ds, RunBehavior runBehavior, String resetOptionsString)<br />
   at<br />
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior<br />
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean<br />
async)<br />
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(Comma"<br />
App: E 'Sat Jul 03 13:00:45 2010': Office SharePoint Server 7888 - " A runtime exception was detected.<br />
Details follow.<br />
Message: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.</p>
<p>Techinal Details:<br />
System.Data.SqlClient.SqlException: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.<br />
   at System.Data.SqlClient.SqlConnection.OnError(SqlException<br />
exception, Boolean breakConnection)</p>
<p>   at<br />
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateO<br />
bject stateObj)<br />
   at<br />
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br />
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader<br />
ds, RunBehavior runBehavior, String resetOptionsString)<br />
   at<br />
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior<br />
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean<br />
async)<br />
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(Comma"<br />
App: E 'Sat Jul 03 12:59:47 2010': Office SharePoint Server 7888 - " A runtime exception was detected.<br />
Details follow.<br />
Message: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.</p>
<p>Techinal Details:<br />
System.Data.SqlClient.SqlException: Could not find stored procedure 'proc_ar_BumpCacheInvalidationCounter'.<br />
   at System.Data.SqlClient.SqlConnection.OnError(SqlException<br />
exception, Boolean breakConnection)</p>
<p>   at<br />
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateO<br />
bject stateObj)<br />
   at<br />
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)<br />
   at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader<br />
ds, RunBehavior runBehavior, String resetOptionsString)<br />
   at<br />
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior<br />
cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean<br />
async)<br />
   at System.Data.SqlClient.SqlCommand.RunExecuteReader(Comma"<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/could-not-find-stored-procedure-proc_ar_bumpcacheinvalidationcounter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete SharePoint Timer Jobs</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/deleteconfigurationobject/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/deleteconfigurationobject/#comments</comments>
		<pubDate>Tue, 06 Jul 2010 19:49:25 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[stsadm]]></category>
		<category><![CDATA[delete timer job]]></category>
		<category><![CDATA[deleteconfigurationobject]]></category>
		<category><![CDATA[execadmsvcjobs]]></category>
		<category><![CDATA[STSADM]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=237</guid>
		<description><![CDATA[I was looking for a way to delete a timer job because from the UI you can only disable the job not delete. So I turned to the webs looking and kept running into deletessptimerjob which doesn&#8217;t help me very much since this job is not an SSP timer job. So digging through the different [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2007-sharepoint%2Fdeleteconfigurationobject%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2007-sharepoint%2Fdeleteconfigurationobject%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I was looking for a way to delete a timer job because from the UI you can only disable the job not delete.  So I turned to the webs looking and kept running into deletessptimerjob which doesn&#8217;t help me very much since this job is not an SSP timer job.</p>
<p>So digging through the different stsadm commands I found </p>
<pre name="code" class="c#">
 stsadm.exe -o deleteconfigurationobject -id <GUID>
</pre>
<p>which did the trick for me.  </p>
<p>To find the GUID browse to Central Admin &#8211;> Operations then under Global Configuration select <i>Timer Job Definitions</i> then click on the timer job you want to delete.</p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/07/Timer-Job.png" rel="lightbox[237]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/07/Timer-Job.png" alt="" title="Timer Job" width="908" height="126" class="alignnone size-full wp-image-238" /></a></p>
<p>From there you can get the GUID of the timer job by replacing the %2D with a &#8211; and you will have your Object ID / GUID and in this case it is e464bf23-2eec-4a19-b283-5b3fbb1080df</p>
<pre name="code" class="c#">
 stsadm.exe -o deleteconfigurationobject -id e464bf23-2eec-4a19-b283-5b3fbb1080df
</pre>
<p>then if you want to Execute your timer job immediately run the following command</p>
<pre name="code" class="c#">
stsadm -o execadmsvcjobs
</pre>
<p>Remember to test all changes in a development / staging environment first before running any commands especially deletes against production.  And always remember to make plenty of backups!</p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-2007-sharepoint/deleteconfigurationobject/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EML to HTML</title>
		<link>http://sharepointcoder.com/code/eml-html/</link>
		<comments>http://sharepointcoder.com/code/eml-html/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 14:27:56 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[.Net]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[EML]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=227</guid>
		<description><![CDATA[I was recently tasked with converting emails from lotus notes in the form of .EML over to TIFF images. The toolkits I found out there didn&#8217;t seem to work quite the way I wanted. So I decided to write my own EML parse class If open the .EML file in Notepad you can easily start [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fcode%2Feml-html%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fcode%2Feml-html%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I was recently tasked with converting emails from lotus notes in the form of .EML over to TIFF images.  The toolkits I found out there didn&#8217;t seem to work quite the way I wanted.  So I decided to write my own EML parse class</p>
<p>If open the .EML file in Notepad you can easily start to see patterns inside the file.  </p>
<p>Here is the header information where you can grab the typical email info: To, From, dates and subject line</p>
<p><code><br />
x-sender: serderEmail@company.com<br />
x-receiver: ReceiverEmail@company.com<br />
Received: from email ([10.165.128.41]) by Email with Microsoft SMTPSVC(7.5.7600.16544);<br />
	 Thu, 17 Jun 2010 14:49:37 +0100<br />
Subject: This is my test eml message<br />
X-Priority: 3 (Normal)<br />
Auto-Submitted: auto-generated<br />
From: serderEmail@company.com<br />
To: ReceiverEmail@company.com<br />
Message-ID: <OFDB24A05A.5C1D2708-ON80257745.004C098A-80257745.004C098C@notes.royalsun.com><br />
Date: Thu, 17 Jun 2010 14:50:31 +0100<br />
X-MIMETrack: Serialize by Router on IELSPKI2/Servers/INT/RoyalSun(Release 8.0.2FP1|January<br />
 12, 2009) at 17/06/2010 14:50:34<br />
MIME-Version: 1.0<br />
Content-type: multipart/mixed;<br />
	Boundary="0__=0FBBFDD6DFDF8F1A8f9e8a93df938690918c0FBBFDD6DFDF8F1A"<br />
Return-Path: test.development@company.com<br />
X-OriginalArrivalTime: 17 Jun 2010 13:49:38.0013 (UTC) FILETIME=[ED6C40D0:01CB0E23]<br />
</code></p>
<p>After the main subject data you will find that each section contains Boundary data before and after which really helps on splitting up each section.  </p>
<p>&#8211;1__=0FBBFDD7DFCBBE928f9e8a93df938690918c0FBBFDD7DFCBBE92<br />
Content-type: text/html; charset=ISO-8859-1<br />
Content-Disposition: inline<br />
Content-transfer-encoding: quoted-printable</p>
<p>Section data</p>
<p>&#8211;1__=0FBBFDD7DFCBBE928f9e8a93df938690918c0FBBFDD7DFCBBE92&#8211;</p>
<p>Here is my main code block that reads in line by line then splits it apart into separate sections an depending on the encoding and mime type (text/html, application/msword, ect..) decode and save so the attachments can be extracted if needed.</p>
<pre name="code" class="c#">
        public void LoadEMLMessage(string FilePath)
        {
            FileInfo emlMessage = new FileInfo(FilePath);
            string line = string.Empty;
            bool ReadHeaderDeatil = true;

            //Start reading through the file
            using (StreamReader sr = new StreamReader(emlMessage.FullName))
            {
                while ((line = sr.ReadLine()) != null)
                {

                    if (ReadHeaderDeatil &#038;&#038; (_emlProperties.BoundaryList == null || !_emlProperties.LineContainsBoundary(line)))
                    {
                        _emlProperties.LoadProperties(line);
                        continue;
                    }
                    else if (ReadHeaderDeatil)
                    {
                        ReadHeaderDeatil = false;
                        continue;
                    }

                    //Read Section Data
                    _sections.Add(ReadSectionData(line, sr));

                }
            }
        }
</pre>
<p>parsing out the separate sections of an EML file turned out to be easier than first thought just one thing to keep in mind test test test with as many emails as you can.  Each email I received to test with was a little different than the last so the irregularities really helped me fine tune my code.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/code/eml-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Forums</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-forums/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-forums/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 21:16:12 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Forum]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=216</guid>
		<description><![CDATA[In the past I have not spent much time on the Microsoft Forums and instead went straight to the blogs for information and answers to the questions I have. Hence the reason why I started this blog (just like anyone else) in hopes that I could give back just a fraction of what I have [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-forums%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-forums%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>In the past I have not spent much time on the Microsoft Forums and instead went straight to the blogs for information and answers to the questions I have.  Hence the reason why I started this blog (just like anyone else) in hopes that I could give back just a fraction of what I have received from the SharePoint community over the years.  </p>
<p>In not contributing on the SharePoint forums I feel that was an oversight on my part as those forums are a huge part of the SharePoint community as well.  So just recently I made it a goal of mine to contribute what I can to the SharePoint forms (both 2007 &#038; 2010).  In doing so I have actually learned more about 2010 from many of the MVP&#8217;s and other SharePoint folks out like myself reaching out and answering some questions.</p>
<p>Microsoft SharePoint Forum:  <a href="http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint">http://social.msdn.microsoft.com/Forums/en-US/category/sharepoint </a></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-forums/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Saturday Ozarks &#8211; part 2</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-saturday/sharepoint-saturday-ozarks-part-2/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-saturday/sharepoint-saturday-ozarks-part-2/#comments</comments>
		<pubDate>Sat, 12 Jun 2010 22:00:01 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SharePoint Saturday]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=186</guid>
		<description><![CDATA[I just finished my first speaking presentation at SharePoint Saturday Ozarks today and it was a blast presenting on ECM for SharePoint and will just have to wait on the feed back to see what else I can add/change and keep those slides evolving. I will be adding my slides from today next week. In [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-saturday%2Fsharepoint-saturday-ozarks-part-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-saturday%2Fsharepoint-saturday-ozarks-part-2%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>I just finished my first speaking presentation at SharePoint Saturday Ozarks today and it was a blast presenting on ECM for SharePoint and will just have to wait on the<br />
feed back to see what else I can add/change and keep those slides evolving.  I will be adding my slides from today next week.</p>
<p>In the mean time I&#8217;m prepping for KnowledgeLake&#8217;s Summit next month where I&#8217;ll be covering BCS and Document ID&#8217;s in depth for a few hours.  I know a <em>little</em> about BCS but that is a topic I can&#8217;t wait to dive and and learn about.</p>
<div style="width:425px" id="__ss_4498783"><strong style="display:block;margin:12px 0 4px"><a href="http://www.slideshare.net/SharePointCoder/ecm-with-sharepoint-sps-ozarks" title="ECM with SharePoint - SPSOzarks">ECM with SharePoint &#8211; SPS Ozarks</a></strong><object id="__sse4498783" width="425" height="355"><param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepointsaturdayozarks-nonotes-100614122952-phpapp02&#038;stripped_title=ecm-with-sharepoint-sps-ozarks" /><param name="allowFullScreen" value="true"/><param name="allowScriptAccess" value="always"/><embed name="__sse4498783" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=sharepointsaturdayozarks-nonotes-100614122952-phpapp02&#038;stripped_title=ecm-with-sharepoint-sps-ozarks" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"></embed></object>
<div style="padding:5px 0 12px">View more <a href="http://www.slideshare.net/">presentations</a> from <a href="http://www.slideshare.net/SharePointCoder">SharePointCoder</a>.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-saturday/sharepoint-saturday-ozarks-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Saturday Ozarks</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-saturday-ozarks/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-saturday-ozarks/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 16:45:41 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Saturday]]></category>
		<category><![CDATA[SharePoint Saturday Ozarks]]></category>
		<category><![CDATA[SPSOzarks]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=179</guid>
		<description><![CDATA[As of this morning my slides are complete so now I can relax a little and enjoy the ride! I&#8217;m looking forward to a great SharePoint Saturday Ozarks as this will be my first speaking event&#8230; I&#8217;ll be coving ECM for SharePoint which is a very broad topic but I&#8217;ll do my best to rein [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-saturday-ozarks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-saturday-ozarks%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>As of this morning my slides are complete so now I can relax a little and enjoy the ride!</p>
<p>I&#8217;m looking forward to a great SharePoint Saturday Ozarks as this will be my first speaking event&#8230; I&#8217;ll be coving ECM for SharePoint which is a very broad topic but I&#8217;ll do my best to rein it in a little and cover some of my top ECM featurs that ROCK!  </p>
<p><img src="http://www.sharepointsaturday.org/ozarks/SiteImages/SharePointSatOzarks.png" alt="SharePoint Saturday Ozarks" /></p>
<p><a href="http://sharepointcoder.com/wp-content/uploads/2010/06/SPSOzarks.png" rel="lightbox[179]"><img src="http://sharepointcoder.com/wp-content/uploads/2010/06/SPSOzarks-224x300.png" alt="" title="SPSOzarks" width="224" height="300" class="alignnone size-medium wp-image-187" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-saturday-ozarks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2010 Beta Exams</title>
		<link>http://sharepointcoder.com/sharepoint/sharepoint-2010-beta-exams/</link>
		<comments>http://sharepointcoder.com/sharepoint/sharepoint-2010-beta-exams/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 16:45:22 +0000</pubDate>
		<dc:creator>AP</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[2010 Beta Exam]]></category>
		<category><![CDATA[SharePoiint 2010]]></category>

		<guid isPermaLink="false">http://sharepointcoder.com/?p=174</guid>
		<description><![CDATA[Just completed my first of 2 SharePoint 2010 beta exams. I took the 71-667 exam today and will just have to wait for another 8 weeks or so to see how I did.. Now in the mean time I&#8217;ll have to prep for the 71-573 beta exam next week.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010-beta-exams%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsharepointcoder.com%2Fsharepoint%2Fsharepoint-2010-beta-exams%2F&amp;source=SharePointCoder&amp;style=normal&amp;service=TinyURL.com" height="61" width="50" /><br />
			</a>
		</div>
<p>Just completed my first of 2 SharePoint 2010 beta exams.  I took the 71-667 exam today and will just have to wait for another 8 weeks or so to see how I did.. Now in the mean time I&#8217;ll have to prep for the 71-573 beta exam next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://sharepointcoder.com/sharepoint/sharepoint-2010-beta-exams/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
