<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" version="2.0">
  <channel>
    <title>Adventures in SPWonderland. - Bugs</title>
    <link>http://blogs.flexnetconsult.co.uk/colinbyrne/</link>
    <description>Taking apart and putting back together</description>
    <language>en-us</language>
    <copyright>Colin Byrne</copyright>
    <lastBuildDate>Thu, 27 Mar 2008 08:42:00 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>webparts@flexnetconsult.co.uk</managingEditor>
    <webMaster>webparts@flexnetconsult.co.uk</webMaster>
    <item>
      <trackback:ping>http://blogs.flexnetconsult.co.uk/colinbyrne/Trackback.aspx?guid=f1be83c7-0b1e-4704-9df3-31a306868451</trackback:ping>
      <pingback:server>http://blogs.flexnetconsult.co.uk/colinbyrne/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,f1be83c7-0b1e-4704-9df3-31a306868451.aspx</pingback:target>
      <dc:creator>Colin Byrne</dc:creator>
      <wfw:comment>http://blogs.flexnetconsult.co.uk/colinbyrne/CommentView,guid,f1be83c7-0b1e-4704-9df3-31a306868451.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.flexnetconsult.co.uk/colinbyrne/SyndicationService.asmx/GetEntryCommentsRss?guid=f1be83c7-0b1e-4704-9df3-31a306868451</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
I'm doing a <a href="http://suguk.org/forums/thread/8918.aspx">presentation tonight
for SUGUK</a> on Silverlight in sharePoint and wanted to demo some of the <a href="http://www.ssblueprints.net/sharepoint/">Silverlight
Blueprints for SharePoint</a>.
</p>
        <p>
Naturally I hit a few issues along the way so I thought I'd pass a few tips on. 
</p>
        <p>
A major requirement is to have .Net 3.5 and AJAX running on your SharePoint site.
If you configure AJAX by hand as I did check this <a href="http://msdn2.microsoft.com/en-us/library/bb861898.aspx">MSDN
article</a> for configuring AJAX but use 3.5.0.0 as the version number. 
</p>
        <p>
I configured AJAX by hand but there is also a <a href="http://www.codeplex.com/features " temp_href="http://www.codeplex.com/features ">CodePlex
feature</a> that can install AJAX on all your WFE.
</p>
        <p>
It will also help to have Visual Studio 2008 and the Silverlight SDk installed on
your dev box.
</p>
        <p>
The first issue is that none of the XAP's as shipped will work on my machine. You'll
get an error like this
</p>
        <p>
 
</p>
        <p>
          <img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SL Controls Error 2.JPG" border="0" />
        </p>
        <p>
 
</p>
        <p>
checking the XAP files shows the shipped one has this as the first line of the manifest.
</p>
        <p>
&lt;Deployment xmlns="<a href="http://schemas.microsoft.com/client/2007/deployment">http://schemas.microsoft.com/client/2007/deployment</a>"
xmlns:x="<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>"
EntryPointAssembly="SL.XAML.Navigation" EntryPointType="SL.XAML.Navigation.App"&gt;
</p>
        <p>
but if I recompile the source I get 
</p>
        <p>
&lt;Deployment xmlns="<a href="http://schemas.microsoft.com/client/2007/deployment">http://schemas.microsoft.com/client/2007/deployment</a>"
xmlns:x="<a href="http://schemas.microsoft.com/winfx/2006/xaml">http://schemas.microsoft.com/winfx/2006/xaml</a>"
EntryPointAssembly="SL.XAML.Navigation" EntryPointType="SL.XAML.Navigation.App" RuntimeVersion="2.0.30226.2"&gt;
</p>
        <p>
The missing RuntimeVersion seems the key here, looks like the U2U folks were running
a slightly different build of chiron the XAP compiler and certainly the Silverlight
2 runtime on my machine wont run a XAP without it.
</p>
        <p>
So the fix is to recompile the Silverlight Applications and redeploy the XAP to the
ClientBin directory in your IIS website directory.
</p>
        <p>
Second and more bizarre is the Navigation Sample. If you try to run it you get an
error about being unable to load the Assembly. 
</p>
        <p>
The problem here is that the PublicKey for the SL.Controls.Navigation.Dll is wrong
in the MasterPage.
</p>
        <p>
 
</p>
        <p>
 
</p>
        <p>
          <img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SL Controls Error.GIF" border="0" />
        </p>
        <p>
The MasterPage has 4aec304184eb9a69 when the DLL has bb99f30c0098259c. 
</p>
        <p>
The Fix is to change the MasterPage Register TagPrefix line to bb99f30c0098259c. You
can use SharePoint Designer or uninstall the feature change it and then
reinstall, reactivate.
</p>
        <p>
This will happen when you dev with an internal snk file which has your company private
keys in it and then decide you've got to change it before you ship. I've done exactly
the same thing myself, it really helps to test it on a single machine outside your
company first.
</p>
        <p>
And IT LIVES
</p>
        <p>
          <img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SSNavDemo.gif" border="0" />
        </p>
        <p>
 
</p>
        <img width="0" height="0" src="http://blogs.flexnetconsult.co.uk/colinbyrne/aggbug.ashx?id=f1be83c7-0b1e-4704-9df3-31a306868451" />
      </body>
      <title>Fix: Getting the Silverlight Blueprints for SharePoint to work</title>
      <guid isPermaLink="false">http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,f1be83c7-0b1e-4704-9df3-31a306868451.aspx</guid>
      <link>http://blogs.flexnetconsult.co.uk/colinbyrne/2008/03/27/FixGettingTheSilverlightBlueprintsForSharePointToWork.aspx</link>
      <pubDate>Thu, 27 Mar 2008 08:42:00 GMT</pubDate>
      <description>&lt;p&gt;
I'm doing a &lt;a href="http://suguk.org/forums/thread/8918.aspx"&gt;presentation tonight
for SUGUK&lt;/a&gt;&amp;nbsp;on Silverlight in sharePoint and wanted to demo some of the &lt;a href="http://www.ssblueprints.net/sharepoint/"&gt;Silverlight
Blueprints for SharePoint&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Naturally I hit a few issues along the way so I thought I'd pass a few tips on. 
&lt;/p&gt;
&lt;p&gt;
A major requirement is to have .Net 3.5 and AJAX running on your SharePoint site.
If you configure AJAX by hand as I did check this &lt;a href="http://msdn2.microsoft.com/en-us/library/bb861898.aspx"&gt;MSDN
article&lt;/a&gt;&amp;nbsp;for configuring AJAX but use 3.5.0.0 as the version number. 
&lt;/p&gt;
&lt;p&gt;
I configured AJAX by hand but there is also a &lt;a href="http://www.codeplex.com/features " temp_href="http://www.codeplex.com/features "&gt;CodePlex
feature&lt;/a&gt; that can install AJAX on all your WFE.
&lt;/p&gt;
&lt;p&gt;
It will also help to have Visual Studio 2008 and the Silverlight SDk installed on
your dev box.
&lt;/p&gt;
&lt;p&gt;
The first issue is that none of the XAP's as shipped will work on my machine. You'll
get an error like this
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SL Controls Error 2.JPG" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
checking the XAP files shows the shipped one has this as the first line of the manifest.
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Deployment xmlns="&lt;a href="http://schemas.microsoft.com/client/2007/deployment"&gt;http://schemas.microsoft.com/client/2007/deployment&lt;/a&gt;"
xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;"
EntryPointAssembly="SL.XAML.Navigation" EntryPointType="SL.XAML.Navigation.App"&amp;gt;
&lt;/p&gt;
&lt;p&gt;
but if I recompile the source I get 
&lt;/p&gt;
&lt;p&gt;
&amp;lt;Deployment xmlns="&lt;a href="http://schemas.microsoft.com/client/2007/deployment"&gt;http://schemas.microsoft.com/client/2007/deployment&lt;/a&gt;"
xmlns:x="&lt;a href="http://schemas.microsoft.com/winfx/2006/xaml"&gt;http://schemas.microsoft.com/winfx/2006/xaml&lt;/a&gt;"
EntryPointAssembly="SL.XAML.Navigation" EntryPointType="SL.XAML.Navigation.App" RuntimeVersion="2.0.30226.2"&amp;gt;
&lt;/p&gt;
&lt;p&gt;
The missing RuntimeVersion seems the key here, looks like the U2U folks were running
a slightly different build of chiron the XAP compiler and certainly the Silverlight
2 runtime on my machine wont run a XAP without it.
&lt;/p&gt;
&lt;p&gt;
So the fix is to recompile the Silverlight Applications and redeploy the XAP to the
ClientBin directory in your&amp;nbsp;IIS website directory.
&lt;/p&gt;
&lt;p&gt;
Second and more bizarre is the Navigation Sample. If you try to run it you get an
error about being unable to load the Assembly. 
&lt;/p&gt;
&lt;p&gt;
The problem here is that the PublicKey for the SL.Controls.Navigation.Dll is wrong
in the MasterPage.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SL Controls Error.GIF" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
The MasterPage has 4aec304184eb9a69 when the DLL has bb99f30c0098259c. 
&lt;/p&gt;
&lt;p&gt;
The Fix is to change the MasterPage Register TagPrefix line to bb99f30c0098259c.&amp;nbsp;You
can use SharePoint Designer or&amp;nbsp;uninstall the feature&amp;nbsp;change it and then
reinstall, reactivate.
&lt;/p&gt;
&lt;p&gt;
This will happen when you dev with an internal snk file which has your company private
keys in it and then decide you've got to change it before you ship. I've done exactly
the same thing myself, it really helps to test it on a single machine outside your
company first.
&lt;/p&gt;
&lt;p&gt;
And IT LIVES
&lt;/p&gt;
&lt;p&gt;
&lt;img src="http://blogs.flexnetconsult.co.uk/colinbyrne/content/binary/SSNavDemo.gif" border=0&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.flexnetconsult.co.uk/colinbyrne/aggbug.ashx?id=f1be83c7-0b1e-4704-9df3-31a306868451" /&gt;</description>
      <comments>http://blogs.flexnetconsult.co.uk/colinbyrne/CommentView,guid,f1be83c7-0b1e-4704-9df3-31a306868451.aspx</comments>
      <category>AJAX</category>
      <category>Bugs</category>
      <category>Sharepoint 2007</category>
      <category>Silverlight</category>
      <category>WebParts</category>
    </item>
    <item>
      <trackback:ping>http://blogs.flexnetconsult.co.uk/colinbyrne/Trackback.aspx?guid=77cc91d1-2187-46a3-ade3-db593f1cd69f</trackback:ping>
      <pingback:server>http://blogs.flexnetconsult.co.uk/colinbyrne/pingback.aspx</pingback:server>
      <pingback:target>http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,77cc91d1-2187-46a3-ade3-db593f1cd69f.aspx</pingback:target>
      <dc:creator>Colin Byrne</dc:creator>
      <wfw:comment>http://blogs.flexnetconsult.co.uk/colinbyrne/CommentView,guid,77cc91d1-2187-46a3-ade3-db593f1cd69f.aspx</wfw:comment>
      <wfw:commentRss>http://blogs.flexnetconsult.co.uk/colinbyrne/SyndicationService.asmx/GetEntryCommentsRss?guid=77cc91d1-2187-46a3-ade3-db593f1cd69f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There is an issue outstanding in WSS that is causing a few of the people who download
our free Flash Web Parts grief.  
</p>
        <p>
The issue shows up when anonymous users hit a web page with our Web Parts on it and
they get authentication prompts. 
</p>
        <p>
I've gone into detail into how we get SharePoint data into flash <a href="http://blogs.flexnetconsult.co.uk/colinbyrne/default,month,2006-01.aspx" target="_blank">here</a>.
We call owssvr.dll via HTTP get, pass it some parameters and get the xml data back.
Great, this has been around and working since 2001. Unfortunately in WSS 3 (and MOSS)
an authentication request is sent back for anonymous users even if all the settings
are configured correctly. SP1 doesn't fix this either.
</p>
        <p>
The issue has been open with PSS since late last year with no progress. Another conversation
this week assured me this be actioned..still waiting.
</p>
        <p>
Its a dismal situation and I apologise to anybody who has wasted time on trying to
get our Web Parts to work. 
</p>
        <p>
I'm trying not to think about the resources been expended on Office 14 when issues
like this remain outstanding.
</p>
        <img width="0" height="0" src="http://blogs.flexnetconsult.co.uk/colinbyrne/aggbug.ashx?id=77cc91d1-2187-46a3-ade3-db593f1cd69f" />
      </body>
      <title>SharePoint bug: URL Protocol prompts for anonymous users</title>
      <guid isPermaLink="false">http://blogs.flexnetconsult.co.uk/colinbyrne/PermaLink,guid,77cc91d1-2187-46a3-ade3-db593f1cd69f.aspx</guid>
      <link>http://blogs.flexnetconsult.co.uk/colinbyrne/2008/03/20/SharePointBugURLProtocolPromptsForAnonymousUsers.aspx</link>
      <pubDate>Thu, 20 Mar 2008 17:32:25 GMT</pubDate>
      <description>&lt;p&gt;
There is an issue outstanding in WSS that is causing a few of the people who download
our free Flash Web Parts grief.&amp;nbsp; 
&lt;/p&gt;
&lt;p&gt;
The issue shows up when anonymous users hit a web page with our Web Parts on it and
they get authentication prompts. 
&lt;/p&gt;
&lt;p&gt;
I've gone into detail into how we get SharePoint data into flash &lt;a href="http://blogs.flexnetconsult.co.uk/colinbyrne/default,month,2006-01.aspx" target="_blank"&gt;here&lt;/a&gt;.
We call owssvr.dll via HTTP get, pass it some parameters and get the xml data back.
Great, this has been around and working since 2001. Unfortunately in WSS 3 (and MOSS)
an authentication request is sent back for anonymous users even if all the settings
are configured correctly. SP1 doesn't fix this either.
&lt;/p&gt;
&lt;p&gt;
The issue has been open with PSS since late last year with no progress. Another conversation
this week assured me this be actioned..still waiting.
&lt;/p&gt;
&lt;p&gt;
Its a dismal situation and I apologise to anybody who has wasted time on trying to
get our Web Parts to work. 
&lt;/p&gt;
&lt;p&gt;
I'm trying not to think about the resources been expended on Office 14 when issues
like this remain outstanding.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blogs.flexnetconsult.co.uk/colinbyrne/aggbug.ashx?id=77cc91d1-2187-46a3-ade3-db593f1cd69f" /&gt;</description>
      <comments>http://blogs.flexnetconsult.co.uk/colinbyrne/CommentView,guid,77cc91d1-2187-46a3-ade3-db593f1cd69f.aspx</comments>
      <category>Bugs</category>
      <category>Sharepoint 2007</category>
    </item>
  </channel>
</rss>