<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Neil Richards</title>
	<atom:link href="http://www.neilrichards.net/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.neilrichards.net</link>
	<description>Neil on SharePoint</description>
	<lastBuildDate>Thu, 06 Oct 2011 12:51:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on Rendering html in a SharePoint Dialog requires a DOM element and not a String by Show html in ModalDialog &#171; Sharepoint. Kunskap. Upptäckter på resan.</title>
		<link>http://www.neilrichards.net/general/rendering-html-in-a-sharepoint-dialog-requires-a-dom-element-and-not-a-string#comment-65</link>
		<dc:creator>Show html in ModalDialog &#171; Sharepoint. Kunskap. Upptäckter på resan.</dc:creator>
		<pubDate>Thu, 06 Oct 2011 12:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=124#comment-65</guid>
		<description>[...] We can use ModalDialogs to show not only pages, but some html: [...]</description>
		<content:encoded><![CDATA[<p>[...] We can use ModalDialogs to show not only pages, but some html: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing document icons from search results with FAST for SharePoint by Bastiaan Kortenbout</title>
		<link>http://www.neilrichards.net/fast/missing-document-icons-from-search-results-with-fast-for-sharepoint#comment-64</link>
		<dc:creator>Bastiaan Kortenbout</dc:creator>
		<pubDate>Wed, 20 Jul 2011 07:57:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=184#comment-64</guid>
		<description>Hi Neil. Thanks for blogging about this bug. I wrote a Custom Pipeline Extension (C#) to change the contentclass of items that exist inside a custom document library. After hooking my fix in the FAST pipeline, document icons are displayed perfectly. Send me an e-mail or contact me through Twitter (@baskb) and I will send you the solution. Maybe you can add it to your blogpost?</description>
		<content:encoded><![CDATA[<p>Hi Neil. Thanks for blogging about this bug. I wrote a Custom Pipeline Extension (C#) to change the contentclass of items that exist inside a custom document library. After hooking my fix in the FAST pipeline, document icons are displayed perfectly. Send me an e-mail or contact me through Twitter (@baskb) and I will send you the solution. Maybe you can add it to your blogpost?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debugging FAST for SharePoint : Part 2 – the FFDumper; inspecting crawled properties by Karah</title>
		<link>http://www.neilrichards.net/fast/debugging-fast-for-sharepoint-part-2-%e2%80%93-the-ffdumper-inspecting-crawled-properties#comment-60</link>
		<dc:creator>Karah</dc:creator>
		<pubDate>Sat, 16 Jul 2011 16:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=153#comment-60</guid>
		<description>Knolegwde wants to be free, just like these articles!</description>
		<content:encoded><![CDATA[<p>Knolegwde wants to be free, just like these articles!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing the SharePoint 2010 Breadcrumb by Phil Izod</title>
		<link>http://www.neilrichards.net/general/fixing-the-sharepoint-2010-breadcrumb#comment-46</link>
		<dc:creator>Phil Izod</dc:creator>
		<pubDate>Wed, 22 Jun 2011 10:11:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=83#comment-46</guid>
		<description>Quick google, quick copy, quick paste.

Job done. Many thanks.</description>
		<content:encoded><![CDATA[<p>Quick google, quick copy, quick paste.</p>
<p>Job done. Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing the SharePoint 2010 Breadcrumb by fabio</title>
		<link>http://www.neilrichards.net/general/fixing-the-sharepoint-2010-breadcrumb#comment-45</link>
		<dc:creator>fabio</dc:creator>
		<pubDate>Tue, 21 Jun 2011 15:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=83#comment-45</guid>
		<description>thanks
very good</description>
		<content:encoded><![CDATA[<p>thanks<br />
very good</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8216;Webservice&#8217; is undefined effor with ASP.NET AJAX by Brian</title>
		<link>http://www.neilrichards.net/development/webservice-is-undefined-effor-with-aspnet-ajax#comment-34</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 26 May 2011 02:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=51#comment-34</guid>
		<description>omg, finally! Thanks for the solution. In .Net 4.0 fully qualifying the web service isn&#039;t required in JS, but when I moved my project down to 3.5 to match production, sure enough this exact problem reared it&#039;s head. Thanks again.</description>
		<content:encoded><![CDATA[<p>omg, finally! Thanks for the solution. In .Net 4.0 fully qualifying the web service isn&#8217;t required in JS, but when I moved my project down to 3.5 to match production, sure enough this exact problem reared it&#8217;s head. Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Fixing the SharePoint 2010 Breadcrumb by typika</title>
		<link>http://www.neilrichards.net/general/fixing-the-sharepoint-2010-breadcrumb#comment-44</link>
		<dc:creator>typika</dc:creator>
		<pubDate>Wed, 25 May 2011 15:35:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=83#comment-44</guid>
		<description>This post is very helpful!! thanks.</description>
		<content:encoded><![CDATA[<p>This post is very helpful!! thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on &#8216;Webservice&#8217; is undefined effor with ASP.NET AJAX by Carlos Chiari</title>
		<link>http://www.neilrichards.net/development/webservice-is-undefined-effor-with-aspnet-ajax#comment-33</link>
		<dc:creator>Carlos Chiari</dc:creator>
		<pubDate>Thu, 12 May 2011 21:31:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=51#comment-33</guid>
		<description>I just had this problem and thought I&#039;d post it out there so people who are banging their heads against their desk can hopefully solve their problem.
Everything worked in DEV (.Net 4, IIS7) but when I moved it to my company&#039;s production env, i started getting this &quot;Undefined&quot; error.
I&#039;m going to list all the things I tried because it&#039;s a compilation of 12 hours of digging through google and maybe one of the below will help your problem.

Browser
I&#039;m using IE9, and I tried every &quot;Compatibility Mode&quot; it had under Dev Tools (F12).  I also tried adding the production site to my Trusted Sites and Intranet Sites.  I also lowered my security settings as low as they would go and still nothing.
I also tried Firefox 4 and Chrome - neither one worked with the production site, but did work with my DEV site.

WebService.asmx
I played a thousand variations here.  I tried everything from changing &quot;Namespace := &quot;myWSNamespace&quot; to blank, my webservice&#039;s URL, to wrapping the class in a Namespace.
Some sites suggested you had to specify the namespace because it&#039;s part of how you reference the service in your javascript code. Didn&#039;t work for me.

 _
 _
 _  
Public Class myWSClass
Inherits System.Web.Services.WebService 

	 _
	Public Function isActive() As String  
        Return &quot;True&quot;
    End Function

Script Manager
I used the following scriptmanager.  It didn&#039;t matter if the webservice was in a folder called &quot;services&quot; on the root or in the same folder as the javascript code.  It did NOT work.
All folder and subfolders had ASPNET user account with FULL permissions.  Still nothing.


	
		
	

            
Javascript            
Finally, the problem child. The following ExecuteProcess() function is called by an HTML button.  I played for hours with the namespaces.
Some sites say you have to follow the following format: Namespace.Class.Function()  
I mix and matched namespaces, class names and then some. In the end what worked was Class.Function().  Not sure if this is a .Net 4 thing (versus a previous .Net framework), but that&#039;s what worked for me.

function ExecuteProcess() {
	myWSClass.isActive(SucceededCallback);
} //End Function

function SucceededCallback(result) {
	var strWSResults = result;
} //End Function


But it still didn&#039;t work in production!  So here are two more things I did that eventually got it to work:

Upon closer look at the &quot;View Source&quot; I noticed this line: 


This means the browser was linking to the service via the following URL:  http://yourdomain.com/myWSClass.asmx/jsdebug The URL downloads a JS file that Javascript uses to talk to make calls to the webservice. 
When i went directly to the URL, my devbox prompted me to download a JS file, but in production it wasn&#039;t, instead it was generating some error message.

I researched the &quot;jsdebug error&quot; and found this article at stackoverflow.com
http://stackoverflow.com/questions/5382239/request-for-wstestservice-asmx-jsdebug-returns-500-error-on-server-fine-in-devel

The poster was able to solve the problem by re-registering .Net 4:
C:WindowsMicrosoft.NETFramework64v4.0.30319&gt;aspnet_regiis -i

OK! This ALMOST got me there.  I found another article that clued me into adding FULL namespaces when calling assemblies in webservices.

So even though my webservice code had &quot;IMPORTS SYSTEM.DATA&quot; and was compiling correctly, it was still erroring in production.  Not sure why - but i went ahead and changed all my
ds = New DataSet
to
ds = New System.Data.DataSet

I added full namespaces to ALLLLL the different places in the webservice and FINALLY it all works in production.  
Again, not sure which one specific thing I tried fixed it, but hopefully this will help you.

Carlos</description>
		<content:encoded><![CDATA[<p>I just had this problem and thought I&#8217;d post it out there so people who are banging their heads against their desk can hopefully solve their problem.<br />
Everything worked in DEV (.Net 4, IIS7) but when I moved it to my company&#8217;s production env, i started getting this &#8220;Undefined&#8221; error.<br />
I&#8217;m going to list all the things I tried because it&#8217;s a compilation of 12 hours of digging through google and maybe one of the below will help your problem.</p>
<p>Browser<br />
I&#8217;m using IE9, and I tried every &#8220;Compatibility Mode&#8221; it had under Dev Tools (F12).  I also tried adding the production site to my Trusted Sites and Intranet Sites.  I also lowered my security settings as low as they would go and still nothing.<br />
I also tried Firefox 4 and Chrome &#8211; neither one worked with the production site, but did work with my DEV site.</p>
<p>WebService.asmx<br />
I played a thousand variations here.  I tried everything from changing &#8220;Namespace := &#8220;myWSNamespace&#8221; to blank, my webservice&#8217;s URL, to wrapping the class in a Namespace.<br />
Some sites suggested you had to specify the namespace because it&#8217;s part of how you reference the service in your javascript code. Didn&#8217;t work for me.</p>
<p> _<br />
 _<br />
 _<br />
Public Class myWSClass<br />
Inherits System.Web.Services.WebService </p>
<p>	 _<br />
	Public Function isActive() As String<br />
        Return &#8220;True&#8221;<br />
    End Function</p>
<p>Script Manager<br />
I used the following scriptmanager.  It didn&#8217;t matter if the webservice was in a folder called &#8220;services&#8221; on the root or in the same folder as the javascript code.  It did NOT work.<br />
All folder and subfolders had ASPNET user account with FULL permissions.  Still nothing.</p>
<p>Javascript<br />
Finally, the problem child. The following ExecuteProcess() function is called by an HTML button.  I played for hours with the namespaces.<br />
Some sites say you have to follow the following format: Namespace.Class.Function()<br />
I mix and matched namespaces, class names and then some. In the end what worked was Class.Function().  Not sure if this is a .Net 4 thing (versus a previous .Net framework), but that&#8217;s what worked for me.</p>
<p>function ExecuteProcess() {<br />
	myWSClass.isActive(SucceededCallback);<br />
} //End Function</p>
<p>function SucceededCallback(result) {<br />
	var strWSResults = result;<br />
} //End Function</p>
<p>But it still didn&#8217;t work in production!  So here are two more things I did that eventually got it to work:</p>
<p>Upon closer look at the &#8220;View Source&#8221; I noticed this line: </p>
<p>This means the browser was linking to the service via the following URL:  <a href="http://yourdomain.com/myWSClass.asmx/jsdebug" rel="nofollow">http://yourdomain.com/myWSClass.asmx/jsdebug</a> The URL downloads a JS file that Javascript uses to talk to make calls to the webservice.<br />
When i went directly to the URL, my devbox prompted me to download a JS file, but in production it wasn&#8217;t, instead it was generating some error message.</p>
<p>I researched the &#8220;jsdebug error&#8221; and found this article at stackoverflow.com<br />
<a href="http://stackoverflow.com/questions/5382239/request-for-wstestservice-asmx-jsdebug-returns-500-error-on-server-fine-in-devel" rel="nofollow">http://stackoverflow.com/questions/5382239/request-for-wstestservice-asmx-jsdebug-returns-500-error-on-server-fine-in-devel</a></p>
<p>The poster was able to solve the problem by re-registering .Net 4:<br />
C:WindowsMicrosoft.NETFramework64v4.0.30319&gt;aspnet_regiis -i</p>
<p>OK! This ALMOST got me there.  I found another article that clued me into adding FULL namespaces when calling assemblies in webservices.</p>
<p>So even though my webservice code had &#8220;IMPORTS SYSTEM.DATA&#8221; and was compiling correctly, it was still erroring in production.  Not sure why &#8211; but i went ahead and changed all my<br />
ds = New DataSet<br />
to<br />
ds = New System.Data.DataSet</p>
<p>I added full namespaces to ALLLLL the different places in the webservice and FINALLY it all works in production.<br />
Again, not sure which one specific thing I tried fixed it, but hopefully this will help you.</p>
<p>Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing document icons from search results with FAST for SharePoint by admin</title>
		<link>http://www.neilrichards.net/fast/missing-document-icons-from-search-results-with-fast-for-sharepoint#comment-63</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Tue, 10 May 2011 15:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=184#comment-63</guid>
		<description>Thanks for the question Mikael,

We did discuss that approach with our PSS engineer but the solution wasn&#039;t scalable for several reasons which I&#039;ll list below

	Our client&#039;s farm is effectively multi-tenant, meaning we have different FAST search centers, one for each internal customer. This would require manual updates to the search results for each new search ui
	The xml passed back to the web part has the specific file name for each icon included. We would need to name explicit icon files whose name *could* change in the future. Unlikely, but possible. Same goes for a FAST CU adding indexing capability over new file types (you&#039;d need to update the xslt)
The xslt for Local Sites Search is not customisable (this goes to a page called something like /_layouts/OSSSearchResults.aspx)


It would be possible to workaround in specific circumstances, but we felt the long-term approach for the platform justified the Custom Pipeline extension.</description>
		<content:encoded><![CDATA[<p>Thanks for the question Mikael,</p>
<p>We did discuss that approach with our PSS engineer but the solution wasn&#8217;t scalable for several reasons which I&#8217;ll list below</p>
<p>	Our client&#8217;s farm is effectively multi-tenant, meaning we have different FAST search centers, one for each internal customer. This would require manual updates to the search results for each new search ui<br />
	The xml passed back to the web part has the specific file name for each icon included. We would need to name explicit icon files whose name *could* change in the future. Unlikely, but possible. Same goes for a FAST CU adding indexing capability over new file types (you&#8217;d need to update the xslt)<br />
The xslt for Local Sites Search is not customisable (this goes to a page called something like /_layouts/OSSSearchResults.aspx)</p>
<p>It would be possible to workaround in specific circumstances, but we felt the long-term approach for the platform justified the Custom Pipeline extension.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Missing document icons from search results with FAST for SharePoint by Mikael Svenson</title>
		<link>http://www.neilrichards.net/fast/missing-document-icons-from-search-results-with-fast-for-sharepoint#comment-62</link>
		<dc:creator>Mikael Svenson</dc:creator>
		<pubDate>Sun, 08 May 2011 20:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.neilrichards.net/blog/?p=184#comment-62</guid>
		<description>Wouldn&#039;t it be easier to modify the xslt and render the icon based on either the file extension or the mime type, instead of changing the contentclass?</description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t it be easier to modify the xslt and render the icon based on either the file extension or the mime type, instead of changing the contentclass?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

