<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>SharePoint Sharpener &#187; Trouble-shooting</title>
	<atom:link href="http://sharepointsharpener.wordpress.com/category/trouble-shooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointsharpener.wordpress.com</link>
	<description>Obsessively Sharpening SharePoint</description>
	<lastBuildDate>Mon, 19 Oct 2009 21:48:56 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='sharepointsharpener.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a13c576c6a4d38c391bc0a6d1d7261ba?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>SharePoint Sharpener &#187; Trouble-shooting</title>
		<link>http://sharepointsharpener.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://sharepointsharpener.wordpress.com/osd.xml" title="SharePoint Sharpener" />
		<item>
		<title>Crawl Problem with Multiple Value Lookup Fields Acknowledged by Microsoft</title>
		<link>http://sharepointsharpener.wordpress.com/2009/08/13/crawl-problem-with-multiple-value-lookup-fields-acknowledged-by-microsoft/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/08/13/crawl-problem-with-multiple-value-lookup-fields-acknowledged-by-microsoft/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 07:39:27 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[crawl]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[kb]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/08/13/crawl-problem-with-multiple-value-lookup-fields-acknowledged-by-microsoft/</guid>
		<description><![CDATA[Last year we at PeopleNet ran into a problem when using lists with many columns, i.e. around 1600!
Indexing such a list would almost always fail with a timeout or out of memory error in the log, even though SharePoint is supposed to be able to handle at least 2000 columns without performance issues.
We corresponded back [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=109&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Last year we at PeopleNet ran into a problem when using lists with many columns, i.e. around 1600!</p>
<p>Indexing such a list would almost always fail with a timeout or out of memory error in the log, even though SharePoint is supposed to be able to handle at least 2000 columns without performance issues.</p>
<p>We corresponded back and forth with a Microsoft support engineer about the problem and it turned out that lists with many multiple value lookup fields will bring the SQL Server to its knees fairly quickly.</p>
<p>Microsoft has recently released a <a href="http://support.microsoft.com/kb/970196" target="_blank">KB article</a> in relation to this, however, it doesn’t specifically single out multiple value lookup fields as the culprit, although they almost always are.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=109&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/08/13/crawl-problem-with-multiple-value-lookup-fields-acknowledged-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>
	</item>
		<item>
		<title>Access Denied When Trying to Create a New Page on a Publishing Site</title>
		<link>http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 14:05:18 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[master page]]></category>
		<category><![CDATA[master page gallery]]></category>
		<category><![CDATA[page layouts]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[site settings]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/</guid>
		<description><![CDATA[From time to time you may encounter that a user on a publishing site is denied access to creating pages, even if the Create Page link in the Site Actions menu hasn&#8217;t been security trimmed.
This is probably due to the user not having read access to the the master page gallery.
&#160;
Solution
To remedy the problem, go [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=87&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>From time to time you may encounter that a user on a publishing site is denied access to creating pages, even if the <em>Create Page</em> link in the <em>Site Actions</em> menu hasn&#8217;t been security trimmed.</p>
<p>This is probably due to the user not having read access to the the master page gallery.</p>
<p>&nbsp;</p>
<p><strong>Solution</strong></p>
<p>To remedy the problem, go to <em>Site Actions</em> &gt; <em>Site Settings</em> &gt; <em>Modify All Site Settings</em> &gt; <em>Master Page and Page Layouts</em>. This takes you to the master page gallery.</p>
<p>Now go to <em>Settings</em> &gt; <em>Document Library Settings</em> &gt; <em>Permissions for this Document Library</em> and give the user (or the group he belongs to) read permission.</p>
<p>&nbsp;</p>
<p><img style="border-width:0;" border="0" alt="Permissions: Master Page Gallery" src="http://sharepointsharpener.files.wordpress.com/2009/02/image.png?w=588&#038;h=217" width="588" height="217"></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/87/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/87/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/87/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=87&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/02/06/access-denied-when-trying-to-create-a-new-page-on-a-publishing-site/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/02/image.png" medium="image">
			<media:title type="html">Permissions: Master Page Gallery</media:title>
		</media:content>
	</item>
		<item>
		<title>Developing Workflows Not Possible on 64-Bit SharePoint</title>
		<link>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 22:17:50 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/</guid>
		<description><![CDATA[As most companies are moving to the 64-bit platform of Windows Server and MOSS, more SharePoint developers are adopting this as their main dev environment.
However, if you plan to develop SharePoint workflows in Visual Studio 2008 on your new 64-bit box, you&#8217;re going to be disappointed.
Upon creating a new workflow in VS, an &#8220;Object reference [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=78&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As most companies are moving to the 64-bit platform of Windows Server and MOSS, more SharePoint developers are adopting this as their main dev environment.</p>
<p>However, if you plan to develop SharePoint workflows in Visual Studio 2008 on your new 64-bit box, you&#8217;re going to be disappointed.</p>
<p>Upon creating a new workflow in VS, an &#8220;Object reference not set to an instance of an object&#8221;-error pops up:</p>
<p>&nbsp;</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="119" alt="Object reference not set to an instance of an object" src="http://sharepointsharpener.files.wordpress.com/2009/01/image1.png?w=332&#038;h=119" width="332" border="0"> </p>
<p>&nbsp;</p>
<p>You can still get to the next step in the process where you have to chose the site which will be used to debug the workflow. Here too, you will be faced with an error:</p>
<p>&nbsp;</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="152" alt="SharePoint site location entered is not valid. The SharePoint site at --- could not be found. Verify that you have typed the URL correctly. If the URL should be serving content, the system administrator may need to add a new request URL mapping to the intended location" src="http://sharepointsharpener.files.wordpress.com/2009/01/image2.png?w=631&#038;h=152" width="631" border="0"></p>
<p>&nbsp;</p>
<p><strong>The solution</strong></p>
<p>Well, there isn&#8217;t any. Not right now anyway.</p>
<p>The only thing you can do is to continue developing in your old 32-bit environment and then move your WSP to the 64-bit box for installation.</p>
<p>All this is not a bug per se, rather, it&#8217;s down to Microsoft&#8217;s lack of resources in their dev team:</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="61" alt="" src="http://sharepointsharpener.files.wordpress.com/2009/01/image3.png?w=532&#038;h=61" width="532" border="0">&nbsp;<br />(<a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=325668" target="_blank">source</a>)</p>
<p>Hmm&#8230;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/78/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/78/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/78/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=78&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/01/12/developing-workflows-not-possible-on-64-bit-sharepoint/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image1.png" medium="image">
			<media:title type="html">Object reference not set to an instance of an object</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image2.png" medium="image">
			<media:title type="html">SharePoint site location entered is not valid. The SharePoint site at --- could not be found. Verify that you have typed the URL correctly. If the URL should be serving content, the system administrator may need to add a new request URL mapping to the intended location</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image3.png" medium="image" />
	</item>
		<item>
		<title>Item.Update() vs. Item.SystemUpdate() &#8211; Post Service Pack 1</title>
		<link>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/</link>
		<comments>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/#comments</comments>
		<pubDate>Thu, 08 Jan 2009 08:53:22 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Optimisation]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[event]]></category>
		<category><![CDATA[event handler]]></category>
		<category><![CDATA[eventhandler]]></category>
		<category><![CDATA[service pack 1]]></category>
		<category><![CDATA[sp1]]></category>
		<category><![CDATA[systemupdate]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[workflow]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/</guid>
		<description><![CDATA[Many of you have probably encountered the problem where a workflow triggers itself several times because the code carries out one or more Item.Update() commands. This can be extremely annoying because running extra workflows can be taxing on the server &#8211; even if you make sure that the extra workflows don&#8217;t make any changes to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=73&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Many of you have probably encountered the problem where a workflow triggers itself several times because the code carries out one or more Item.Update() commands. This can be extremely annoying because running extra workflows can be taxing on the server &#8211; even if you make sure that the extra workflows don&#8217;t make any changes to the element.</p>
<p>Then, you may have discovered Item.SystemUpdate() which in theory should rid the list of the all the extra instances of workflows because it doesn&#8217;t trigger an update event and thus flies under the radar of the workflow engine.</p>
<p>This seemed to work just fine for a while. Lately, however, it seems that SystemUpdate() has startet triggering events just like a normal Update().</p>
<p>&nbsp;</p>
<p><strong>Post Service Pack 1?</strong></p>
<p>I found that many of my workflows now started behaving differently, i.e. they began triggering multiple instances of workflows.</p>
<p>It took me a while to realise that it probably was a &#8220;bug fix&#8221; in SharePoint SP1 that was causing the problem.</p>
<p>A glance at the <a href="http://msdn.microsoft.com/en-us/library/ms461526.aspx" target="_blank">documentation for SystemUpdate()</a> reveals that events are indeed triggered:</p>
<p><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" height="64" alt="image" src="http://sharepointsharpener.files.wordpress.com/2009/01/image.png?w=689&#038;h=64" width="689" border="0"> </p>
<p>There is no mention of SP1 but I assume that this was when the changes were made.</p>
<p>&nbsp;</p>
<p><strong>Solution</strong></p>
<p>This is bad news for many developers but obviously a design decision at Microsoft so things probably won&#8217;t be changed back to the way they were.</p>
<p>From now on you have to make sure that your workflows only make changes to elements when needed. I.e. you need to only use Update() and SystemUpdate() when they are really needed and thereby minimise the number of redundant workflow cycles.</p>
<p>Alternatively, you could look into programming your own event handlers to obtain more granular control of when events are triggered. I may explore this subject in a future post.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=73&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2009/01/08/itemupdate-vs-itemsystemupdate-post-service-pack-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2009/01/image.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Script Error in RTF Editor &#8211; Work-around</title>
		<link>http://sharepointsharpener.wordpress.com/2008/06/27/script-error-in-rtf-editor-work-around/</link>
		<comments>http://sharepointsharpener.wordpress.com/2008/06/27/script-error-in-rtf-editor-work-around/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 09:06:28 +0000</pubDate>
		<dc:creator>Thomas Sondergaard</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Trouble-shooting]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[rtf editor]]></category>

		<guid isPermaLink="false">http://sharepointsharpener.wordpress.com/2008/06/27/script-error-in-rtf-editor-work-around/</guid>
		<description><![CDATA[If you have worked with a localised version of SharePoint you may have encountered the annoying RTF editor script error.
Basically, the problem renders all instances of the RTF editor unusable, across the MOSS installation due to a common javascript error.
 
Symptoms
Every time a user opens an RTF editor and starts typing, a JavaScript error is fired, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=10&subd=sharepointsharpener&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you have worked with a localised version of SharePoint you may have encountered the annoying RTF editor script error.</p>
<p>Basically, the problem renders all instances of the RTF editor unusable, across the MOSS installation due to a common javascript error.</p>
<p> </p>
<p><strong>Symptoms</strong></p>
<p>Every time a user opens an RTF editor and starts typing, a JavaScript error is fired, making typing almost impossible. This problem seems to be present in only some installations of SharePoint with regional language packs installed.</p>
<p>Here&#8217;s a screenshot of a Danish RTF editor with the script error:</p>
<p><a href="http://sharepointsharpener.files.wordpress.com/2008/06/image.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" src="http://sharepointsharpener.files.wordpress.com/2008/06/image-thumb.png?w=614&#038;h=438" border="0" alt="image" width="614" height="438" /></a></p>
<p>The screenshot is from an English MOSS server with  the Danish language pack installed.</p>
<p>As annoying as the script error may be, it&#8217;s even more aggrevating that the error doesn&#8217;t occur on all servers with this exact setup. This means you can&#8217;t predict if a server is going to have this problem, purely based on the configuration.</p>
<p> </p>
<p><strong>Cause</strong></p>
<p>The problem seems to be caused by bad code in one or more of the JavaScript files in the LAYOUTS folder. As you may know, the LAYOUTS folder is common for all sites on the MOSS server, i.e. all folders named <em>_layouts</em> is mapped to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS.</p>
<p>I can only speculate about how this can happen, but perhaps some versions (but not all) of the language packs include faulty JavaScript files. This could explain why this problem doesn&#8217;t occur on all MOSS servers with language packs.</p>
<p> </p>
<p><strong>Solution</strong></p>
<p>Microsoft hasn&#8217;t released any fixes to counter this problem and there is no indication as to when or, indeed, if this will happen.</p>
<p>Obviously, my client needed a fix ASAP and this is what I came up with:</p>
<p>First, I installed <a href="http://www.fiddlertool.com" target="_blank">Fiddler HTTP Debugger</a> to determine which JavaScript files load when the RTF editor is launched.</p>
<p>Fiddler came up with the following list of files:</p>
<p><a href="http://sharepointsharpener.files.wordpress.com/2008/06/image1.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;" src="http://sharepointsharpener.files.wordpress.com/2008/06/image-thumb1.png?w=572&#038;h=136" border="0" alt="image" width="572" height="136" /></a></p>
<p>Note that 1030 directory is where the Danish files are located (1033 is English).</p>
<p>I now had a fairly good idea of where the bug was located but I didn&#8217;t have the patience to go through all that JavaScript code! Instead I copied the above 7 files from a healthy MOSS server (with Danish language pack) &#8211; and lo and behold &#8211; everything worked just fine.</p>
<p>My money is on <em>HtmlEditor.js</em> as the most likely culprit but I haven&#8217;t checked up on this.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/sharepointsharpener.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/sharepointsharpener.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/sharepointsharpener.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/sharepointsharpener.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/sharepointsharpener.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/sharepointsharpener.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/sharepointsharpener.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/sharepointsharpener.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/sharepointsharpener.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/sharepointsharpener.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/sharepointsharpener.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/sharepointsharpener.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=sharepointsharpener.wordpress.com&blog=4068218&post=10&subd=sharepointsharpener&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://sharepointsharpener.wordpress.com/2008/06/27/script-error-in-rtf-editor-work-around/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0dfb315d39c37443371df076767fa665?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">thomassondergaard</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2008/06/image-thumb.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>

		<media:content url="http://sharepointsharpener.files.wordpress.com/2008/06/image-thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
	</channel>
</rss>