<?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>Dev Team Assemble &#187; SharePoint</title>
	<atom:link href="http://www.calvinirwin.net/tag/sharepoint/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.calvinirwin.net</link>
	<description>Evil beware!</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQL Server Recovery Model &#8211; Modification Script</title>
		<link>http://www.calvinirwin.net/2011/10/20/sql-server-recovery-model-modification-script/</link>
		<comments>http://www.calvinirwin.net/2011/10/20/sql-server-recovery-model-modification-script/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 15:59:41 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=298</guid>
		<description><![CDATA[I often find in my sharepoint development environments that I have issues with transaction logs filling up.  This gives me the "Error" page with no indication of what the problem is...yes I can go and change the &#60;customErrors&#62; tag to set the customer errors mode to off and add the callstack to the page [...]]]></description>
			<content:encoded><![CDATA[<p>I often find in my sharepoint development environments that I have issues with transaction logs filling up.  This gives me the "Error" page with no indication of what the problem is...yes I can go and change the &lt;customErrors&gt; tag to set the customer errors mode to off and add the callstack to the page but it still doesn't address the problem.  I whipped this script up because the dev sql server we are using has well over a hundred db's on it and I didn't fell like manually typing the ALTER DATABASE [xxx] SET RECOVERY SIMPLE for each one or doing the clickity click thing either.  Now the solution below probably breaks lots of best practices and such but it works for what I wanted it to do....which is modify all existing db's recovery mode.  To modify new db's recovery mode, just set the model db's option to simple and voila..you are ready to go.
</p>
<p>
Quick note: <strong>YOU PROBABLY DO NOT WANT TO EVER...I MEAN EVER...USE THIS ON A PRODUCTION SYSTEM.</strong>
</p>
<p><code language='sql'><br />
*/</p>
<p>	Modify th recovery model for all databases on your server</p>
<p>*/</p>
<p>	DECLARE @lasterror int</p>
<p>	DECLARE @sql nvarchar(max)</p>
<p>	DECLARE @dbname nvarchar(100)</p>
<p>	DECLARE @dbid int</p>
<p>	DECLARE @recModel int</p>
<p>	-- cycle the log</p>
<p>	exec sp_cycle_errorlog </p>
<p>	CREATE Table #dbInfo</p>
<p>	(</p>
<p>		database_id int NOT NULL,</p>
<p>		dbName nvarchar(100) NOT NULL,</p>
<p>		recoveryModel int</p>
<p>	)</p>
<p>	--SELECT database_id, [name], recovery_model FROM sys.databases order by database_id</p>
<p>	SELECT TOP 1 @dbid = database_id FROM sys.databases where database_id > 4  ORDER BY database_id asc;</p>
<p>	SELECT @dbname = [name] FROM sys.databases where database_id = @dbid;</p>
<p>	SELECT @recModel = recovery_model FROM sys.databases where database_id = @dbid;</p>
<p>	-- begin backup process</p>
<p>	WHILE @dbid > 0</p>
<p>	BEGIN</p>
<p>		INSERT INTO #dbInfo (database_id, dbName, recoveryModel) VALUES (@dbid, @dbname, @recModel);</p>
<p>		IF @recModel = 1</p>
<p>		BEGIN</p>
<p>			SELECT @sql = 'ALTER DATABASE [' + @dbname + '] SET RECOVERY SIMPLE'</p>
<p>			EXEC sp_executesql @sql</p>
<p>			SELECT @lasterror = @@ERROR</p>
<p>			IF @lasterror <> 0</p>
<p>				-- log the error to the message console</p>
<p>				PRINT 'ERROR: Changing the recovery mode for database : ' + @dbname + ' with error number ' + CAST(@lasterror as nvarchar(25))</p>
<p>			ELSE</p>
<p>				PRINT 'Recovery mode changed to simple (3) for database : ' + @dbname</p>
<p>		END</p>
<p>		-- get a new record</p>
<p>		SELECT @dbid = 0;</p>
<p>		SELECT TOP 1 @dbid =  database_id FROM sys.databases where database_id > 4 and</p>
<p>			database_id NOT IN (SELECT DISTINCT x.database_id FROM #dbInfo x);</p>
<p>		SELECT @dbname = [name] FROM sys.databases where database_id = @dbid;</p>
<p>		SELECT @recModel = recovery_model FROM sys.databases where database_id = @dbid;</p>
<p>	END	</p>
<p>	DROP Table #dbInfo</p>
<p>	SELECT database_id, [name], recovery_model FROM sys.databases order by database_id</p>
<p>	GO</p>
<p></code></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/moss+2007' rel='tag' target='_self'>moss 2007</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/SQL+Server' rel='tag' target='_self'>SQL Server</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2011/10/20/sql-server-recovery-model-modification-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 FBA- Upload Mutiple Documents Missing From Menu</title>
		<link>http://www.calvinirwin.net/2011/10/17/sharepoint-upload-multiple-documents-missing/</link>
		<comments>http://www.calvinirwin.net/2011/10/17/sharepoint-upload-multiple-documents-missing/#comments</comments>
		<pubDate>Mon, 17 Oct 2011 15:14:40 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[FBA]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=292</guid>
		<description><![CDATA[Scenario: Forms Based Authentication on an external facing portal.  Users are having trouble (as in not able too) uploading multiple documents at once.
This was a pretty easy fix....Enable Client Integration for the given website zone in Central Administration.



Technorati Tags: Configuration, FBA, moss 2007, SharePoint


]]></description>
			<content:encoded><![CDATA[<p><strong>Scenario</strong>: Forms Based Authentication on an external facing portal.  Users are having trouble (as in not able too) uploading multiple documents at once.</p>
<p>This was a pretty easy fix....<strong>Enable Client Integration </strong>for the given website zone in <strong>Central Administration</strong>.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/FBA' rel='tag' target='_self'>FBA</a>, <a class='technorati-link' href='http://technorati.com/tag/moss+2007' rel='tag' target='_self'>moss 2007</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2011/10/17/sharepoint-upload-multiple-documents-missing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Help My Content Database is gone!!! &#8211; SharePoint Versions are Wrong</title>
		<link>http://www.calvinirwin.net/2010/09/28/help-my-content-database-is-gone-sharepoint-versions-are-wrong/</link>
		<comments>http://www.calvinirwin.net/2010/09/28/help-my-content-database-is-gone-sharepoint-versions-are-wrong/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 13:20:06 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Content Database]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Version]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=258</guid>
		<description><![CDATA[So I was trying to restore a content db from production into my dev box the other day and got the following error:
Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version [...]]]></description>
			<content:encoded><![CDATA[<p>So I was trying to restore a content db from production into my dev box the other day and got the following error:</p>
<blockquote><p>Your backup is from a different version of Windows SharePoint Services and cannot be restored to a server running the current version. The backup file should be restored to a server with version '12.0.0.6510'</p></blockquote>
<p>Ahh ok...so my dev box is out of sync no biggie, it was't a real pressing update anyway.  So I figured I would go back to my site to finish up some dev tasks and to my dismay....the site was gone.   Ummmm...hello?!?!?!</p>
<p>Turns out, the restore process (via 'stsadm -o restore -url <a href="http://omg.net">http://omg.net</a> -filename c:\arrggggh.bak') wipes out your content db.  Great so now I HAVE to update my dev box to the version of the production server (which isn't a bad idea...just rather make that choice myself!).</p>
<p>Here is a great resource for figuring out which updates you need:</p>
<p><a href="http://sharepointadminwiki.com/display/SharePointAdministrationWiki/SharePoint+Versions">http://sharepointadminwiki.com/display/SharePointAdministrationWiki/SharePoint+Versions</a></p>
<p>To determine your version of SharePoint go to Central Admin &gt; Operation &gt; Servers in Farm</p>
<p>HTH</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Content+Database' rel='tag' target='_self'>Content Database</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/Version' rel='tag' target='_self'>Version</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2010/09/28/help-my-content-database-is-gone-sharepoint-versions-are-wrong/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint, Webservices and URL Rewrite&#8230;</title>
		<link>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/</link>
		<comments>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 12:55:01 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[url rewriter]]></category>
		<category><![CDATA[WebServices]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=255</guid>
		<description><![CDATA[So I was having a strange problem in SharePoint the other day trying to run a webservice from a client script.  Every time I called the service (in this case and .asmx in the layouts dir) it was doing nothing...no communication at all with the service.  What made this particularly strange is that this exact [...]]]></description>
			<content:encoded><![CDATA[<p>So I was having a strange problem in SharePoint the other day trying to run a webservice from a client script.  Every time I called the service (in this case and .asmx in the layouts dir) it was doing nothing...no communication at all with the service.  What made this particularly strange is that this exact same setup was working fine for everyone else in my team...figures.</p>
<p>When I ran the web methods from the service page itself (which loaded just fine) I got the following error :<a href="/ThreadNavigation.aspx?PostID=1278431&amp;NavType=Previous"><span> </span></a> <strong>Request format is unrecognized for URL unexpectedly ending in  '/[webmethod_name]'.</strong> Didn't make sense...I checked my web configuration and compared it against the other people in my team and all was well.  I tried following Microsoft's recommendation of adding the following snippet to the system.web section of the config file.</p>
<p>&lt;<span>webServices</span>&gt;<br />
&lt;<span>protocols</span>&gt;<br />
&lt;<span>add</span><span> name=</span><span>"HttpGet"</span>/&gt;<br />
&lt;<span>add</span><span> name=</span><span>"HttpPost"</span>/&gt;<br />
&lt;/<span>protocols</span>&gt;<br />
&lt;/<span>webServices</span>&gt;</p>
<p>All the above did was give me a 500 error.</p>
<p>After spending waaaaaaaaay to much time on the problem...a colleague of mine and I finally discovered that it was due to the Lower case rewrite inbound rule (converts the entire address to lower case).  Apparently webmethod names are case sensitive in the address bar (this was not a SharePoint problem)...the documentation is here on msdn:  <a href="http://msdn.microsoft.com/en-us/library/0c515353(VS.71).aspx">http://msdn.microsoft.com/en-us/library/0c515353(VS.71).aspx </a></p>
<p>So turning off the rule and everything started to work again.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/url+rewriter' rel='tag' target='_self'>url rewriter</a>, <a class='technorati-link' href='http://technorati.com/tag/WebServices' rel='tag' target='_self'>WebServices</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2010/07/28/sharepoint-webservices-and-url-rewrite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint 2007 on Windows 2008 R2 x64</title>
		<link>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/</link>
		<comments>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/#comments</comments>
		<pubDate>Tue, 01 Dec 2009 16:11:00 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[windows 2008 r2]]></category>
		<category><![CDATA[x64]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=239</guid>
		<description><![CDATA[I was trying to install install SharePoint 2007 onto Windows 2008 r2 and was getting a strange error referencing KB article 962935. Funny enough this article is not live yet so it left me a little unhappy. Apprarently Microsoft does not support the distributed SP1 installation package of SharePoint for this version of the OS. [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to install install SharePoint 2007 onto Windows 2008 r2 and was getting a strange error referencing KB article 962935. Funny enough this article is not live yet so it left me a little unhappy. Apprarently Microsoft does not support the distributed SP1 installation package of SharePoint for this version of the OS. Turns out Jei Li posting on his msdn blog detailing how to go about creating a slipstreamed installation for SP2 on this server <a href="http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx">Click here for the article</a>. Basically the steps are (pretty much word for word from Jei Li's blog):</p>
<ul>
<li>Install .Net Framework 3.5 SP1 in the features applet</li>
<li>Copy the installtion media contents to a folder on the computer (c:\install)</li>
<li>Download the<a href="http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en"> WSS x64 SP package </a>and the <a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082">MOSS 2007 SP2 x64 </a></li>
<li>Delete everything inside <strong>Updates</strong> folder in the install folder you setup.</li>
<li>Open a command prompt,  change directory to the folder you put the downloaded patches, and run the following two commands: 
<ul>
<li>wssv3sp2-kb953338-x64-fullfile-en-us.exe /extract:<strong>[Path to installation bits]</strong>\Updates /quiet</li>
<li>officeserver2007sp2-kb953334-x64-fullfile-en-us.exe /extract:<strong> [Path to installation bits]</strong>\Updates /quiet</li>
</ul>
</li>
<li>Delete the <strong>wsssetup.dll</strong> filein the updates dir. This is a very important step so please don’t miss it.</li>
<li>If you also need the Cumulative Updates to be applied when install SharePoint, download the latest Windows SharePoint Services 3.0 and SharePoint Server 2007 Cumulative Update packages and extract them into <strong>Updates</strong> folder like step 4.</li>
<li>Your slipstream build of SharePoint Server 2007 is done!</li>
<li>Go and install it on your Windows Server 2008 R2 box, after the installation, the site version will show <strong>12.0.0.6421 </strong>or possibly a higher version.</li>
</ul>
<p>Please reference Jei Li's post for furthur instuctions.  I only posted all the steps here because things have a mysterious way of dissappearing or not appearing at all on Microsofts site.</p>
<p>After doing all of this everything seems to be fine...seems to be <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>Links</p>
<ul>
<li><a href="http://technet.microsoft.com/en-us/library/cc261890.aspx">http://technet.microsoft.com/en-us/library/cc261890.aspx</a></li>
<li><a href="http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx">http://blogs.msdn.com/sharepoint/archive/2009/10/02/install-sharepoint-server-2007-on-windows-server-2008-r2.aspx</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=b7816d90-5fc6-4347-89b0-a80deb27a082</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=79BADA82-C13F-44C1-BDC1-D0447337051B&amp;displaylang=en</a></li>
</ul>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/server' rel='tag' target='_self'>server</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/Windows' rel='tag' target='_self'>Windows</a>, <a class='technorati-link' href='http://technorati.com/tag/windows+2008+r2' rel='tag' target='_self'>windows 2008 r2</a>, <a class='technorati-link' href='http://technorati.com/tag/x64' rel='tag' target='_self'>x64</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/12/01/sharepoint-2007-on-windows-2008-r2-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Collection Images and ImageFieldValue</title>
		<link>http://www.calvinirwin.net/2009/11/26/site-collection-images-and-imagefieldvalue/</link>
		<comments>http://www.calvinirwin.net/2009/11/26/site-collection-images-and-imagefieldvalue/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 03:33:46 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=237</guid>
		<description><![CDATA[One of the things I was working on today was trying to get an actual image from the library was that initially I was expecting to get a PublishingImage.  All the samples on MSDN and the ones strewn about the web refer to using the ImageFieldValue and getting it from a field in the SPListItem.  [...]]]></description>
			<content:encoded><![CDATA[<p>One of the things I was working on today was trying to get an actual image from the library was that initially I was expecting to get a PublishingImage.  All the samples on MSDN and the ones strewn about the web refer to using the ImageFieldValue and getting it from a field in the SPListItem.  Like outlined on <a href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.publishing.fields.imagefieldvalue.aspx">MSDN </a>:</p>
<pre class="csharp">  <span style="color: #008080; font-style: italic;">// Retrieve the current value from an SPListItem with a</span>
  <span style="color: #008080; font-style: italic;">// column of the ImageField type with the name imageFieldName</span>
  ImageFieldValue currentFieldValue =
        listItemWithImageField<span style="color: #000000;">&#91;</span>imageFieldName<span style="color: #000000;">&#93;</span> <span style="color: #0600FF;">as</span> ImageFieldValue;</pre>
<p>The problem is this only works for images that are in a list, like the PublishingRollupImage of a page that links to an image in the Site Collection Images library.  The actual images in the library are stored as documents (Referenced using SPFile) so in order utilize them I need to extract the information out and create an image tag for it...like so:</p>
<pre class="csharp">&nbsp;
     ImageFieldValue imageValue = <a href="http://www.google.com/search?q=new+msdn.microsoft.com"><span style="color: #008000;">new</span></a> ImageFieldValue<span style="color: #000000;">&#40;</span>
          <span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">Format</span><span style="color: #000000;">&#40;</span><span style="color: #808080;">&quot;&lt;img src=<span style="color: #008080; font-weight: bold;">\&quot;</span>{0}<span style="color: #008080; font-weight: bold;">\&quot;</span> alt=<span style="color: #008080; font-weight: bold;">\&quot;</span>{1}<span style="color: #008080; font-weight: bold;">\&quot;</span> /&gt;&quot;</span>,
          file.<span style="color: #0000FF;">Url</span>, file.<span style="color: #0000FF;">Title</span> == <span style="color: #0600FF;">null</span> ? <span style="color: #FF0000;">string</span>.<span style="color: #0000FF;">Empty</span> : file.<span style="color: #0000FF;">Title</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>;
&nbsp;</pre>
<p>Now that I had the ImageFieldValue it was easy to work with.  I could manipulate many aspects of the image using this object and then save it for rendering using ToString().  Funny thing is for my purposes (ImageGallery xml generation) I didn't even end up needing this code after all...frustrating but a good learning experience.  </p>
<p>Props to <a href="http://vlifeblog.com">Phanat Chan</a> as he did the initial development on this.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Development' rel='tag' target='_self'>Development</a>, <a class='technorati-link' href='http://technorati.com/tag/moss+2007' rel='tag' target='_self'>moss 2007</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/11/26/site-collection-images-and-imagefieldvalue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variations Failed: An error was encountered performing this operation. You may re-try the operation&#8230;</title>
		<link>http://www.calvinirwin.net/2009/10/30/variations-failed-an-error-was-encountered-performing-this-operation-you-may-re-try-the-operation/</link>
		<comments>http://www.calvinirwin.net/2009/10/30/variations-failed-an-error-was-encountered-performing-this-operation-you-may-re-try-the-operation/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 20:16:27 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[moss 2007]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[variations]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=225</guid>
		<description><![CDATA[So I got this error the other day when putting together a dev site collection usign varations:
An error was encountered performing this operation. You may re-try the operation, and you may need to clean up the half-created data first before re-trying. If the problem persists, please contact your system administrator
This was actually a fairly easy [...]]]></description>
			<content:encoded><![CDATA[<p>So I got this error the other day when putting together a dev site collection usign varations:</p>
<p><em>An error was encountered performing this operation. You may re-try the operation, and you may need to clean up the half-created data first before re-trying. If the problem persists, please contact your system administrator</em></p>
<p>This was actually a fairly easy fix for me.  I simply had to enable the publishing features in my site.  Which is funny...because they should have been on but I must have overlooked that.  <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Configuration' rel='tag' target='_self'>Configuration</a>, <a class='technorati-link' href='http://technorati.com/tag/error' rel='tag' target='_self'>error</a>, <a class='technorati-link' href='http://technorati.com/tag/moss+2007' rel='tag' target='_self'>moss 2007</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/variations' rel='tag' target='_self'>variations</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/10/30/variations-failed-an-error-was-encountered-performing-this-operation-you-may-re-try-the-operation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint Conference SPC09 Day 3 Review</title>
		<link>http://www.calvinirwin.net/2009/10/22/sharepoint-conference-spc09-day-3-review/</link>
		<comments>http://www.calvinirwin.net/2009/10/22/sharepoint-conference-spc09-day-3-review/#comments</comments>
		<pubDate>Thu, 22 Oct 2009 15:59:55 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[web parts]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=221</guid>
		<description><![CDATA[Day three was a lot of fun as I got to spend three hours in the labs and ran through some pretty cool stuff.  Linq to Sharepoint, Upgrading sites, REST API etc.
As far as the sessions went I was hoping the MultiLingual sites session was going to make me happy with some great news about [...]]]></description>
			<content:encoded><![CDATA[<p>Day three was a lot of fun as I got to spend three hours in the labs and ran through some pretty cool stuff.  Linq to Sharepoint, Upgrading sites, REST API etc.</p>
<p>As far as the sessions went I was hoping the MultiLingual sites session was going to make me happy with some great news about variations.  Instead it seems to be status quo on that system with MS playing the line that you need to plan ahead for this...makes sense but not always possible.  The multi language user interface or MUI for all the chrome is available in every site now and you can switch languages off the site actions bar.</p>
<p>MindSharp had an awesome evangelistical session in the big room on Developiong with REST and LINQ in Sharepoint 2010.  This was another really great session on developing against the new Client Object Model, the Server OM, the ListData.svc REST service.</p>
<p>All in all it was another good day...If I didn't have to spend thenight doing homework it actually would haev been mouch more fun <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' /> </p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/conference' rel='tag' target='_self'>conference</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/web+parts' rel='tag' target='_self'>web parts</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/10/22/sharepoint-conference-spc09-day-3-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sharepoint Conference SPC09 Day 2 Review</title>
		<link>http://www.calvinirwin.net/2009/10/21/sharepoint-conference-spc09-day-2-review/</link>
		<comments>http://www.calvinirwin.net/2009/10/21/sharepoint-conference-spc09-day-2-review/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:01:20 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[SharePoint 2007]]></category>
		<category><![CDATA[web parts]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=219</guid>
		<description><![CDATA[The second day of the conference was great and a couple of sessions really stood out above the others in my mind....there was a great session in the morning on web part development and some of the new things coming up in that.  AJAX is baked into SP now which is great but there is [...]]]></description>
			<content:encoded><![CDATA[<p>The second day of the conference was great and a couple of sessions really stood out above the others in my mind....there was a great session in the morning on web part development and some of the new things coming up in that.  AJAX is baked into SP now which is great but there is also a bit of a learning curve surrounding XSS and making sure we understand cross-site scripting and how SharePoint really cracks down on this.</p>
<p>There was an amazing session on SharePoints new COM or client object model that exposes all sharepoint objects to the client (.NET CLR, silverlight and javascript).  Essentially we will be able to a LOT more work on the client side which makes me feel warm inside.</p>
<p>I finally got to play around with SharePoint 2010  in the labs which was great.  I was dying to get a feel for the product because it feels weird listening to all these sessions without actually having your hands on it.  I definitely will be spending more time in the labs.</p>
<p>The Huey Lewis and the News Beach Party was a lot of fun but I left there feeling a little...drunk for lack of a better word.  Good times in vegas...</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/conference' rel='tag' target='_self'>conference</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/web+parts' rel='tag' target='_self'>web parts</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/10/21/sharepoint-conference-spc09-day-2-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Conference SPC09 Day 1 Review</title>
		<link>http://www.calvinirwin.net/2009/10/20/sharepoint-conference-spc09-day-1-review/</link>
		<comments>http://www.calvinirwin.net/2009/10/20/sharepoint-conference-spc09-day-1-review/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 16:25:55 +0000</pubDate>
		<dc:creator>Calvin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[conference]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SPC09]]></category>

		<guid isPermaLink="false">http://www.calvinirwin.net/?p=215</guid>
		<description><![CDATA[Yesterday started with a hangover...for me.  On Sunday there was a SharePint event at the Eye Candy bar in the middle of Mandalay Bay and I was one of the  unfortunate souls whohappened to have drank too much    The Keynotes were pretty cool...nothing overly stand out there was a lot of talk about [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday started with a hangover...for me.  On Sunday there was a SharePint event at the Eye Candy bar in the middle of Mandalay Bay and I was one of the  unfortunate souls whohappened to have drank too much <img src='http://www.calvinirwin.net/wp-includes/images/smilies/icon_neutral.gif' alt=':|' class='wp-smiley' />   The Keynotes were pretty cool...nothing overly stand out there was a lot of talk about the new product and moving forward and a couple of demos that probably were a little too long.  Truth be told my butt hurt from sitting through almost 3 hours of Keynotes so I was happy when it was done.</p>
<p>In the afternoon the actual session began.  for me it was the <strong>Whats New For Developer Overview</strong>, <strong>Visual Studio 2010 Tools Overview</strong> and<strong> Web Content Management in SharePoint 2010</strong>.  We covered a lot of ground in the first two and and they were very much an overview of all the features available.  Things like running SP on the desktop client (x64 win7 or vista), visual studio 2010 build, debug, deploy, the developer dashboard, Linq to SharePoint (YES), the ribbon and sandboxed solutions.</p>
<p>The final session (the web content management one) was a bit of a disappointment.  It was a level 300 session and seemed like they dumbed it down for beginners, i mean they were teaching us how to make web pages via the UI.   There was some interesting stuff in the presentation but at no point did they really dive in and demo things like the variation model improvements or content deployment fixes they have made.  It was just alluded to.</p>
<p>Either way it was a pretty good day...met some great people from all over the world so far and I hope that continues.</p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/conference' rel='tag' target='_self'>conference</a>, <a class='technorati-link' href='http://technorati.com/tag/SharePoint' rel='tag' target='_self'>SharePoint</a>, <a class='technorati-link' href='http://technorati.com/tag/SPC09' rel='tag' target='_self'>SPC09</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.calvinirwin.net/2009/10/20/sharepoint-conference-spc09-day-1-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

