<?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>Rajiv/Michael&#039;s SharePoint discoveries &#38; musings...</title>
	<atom:link href="http://vspug.com/nrdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://vspug.com/nrdev</link>
	<description>WSS/MOSS discoveries</description>
	<lastBuildDate>Tue, 16 Feb 2010 13:54:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>TIP: Report Server &quot;User cannot be found&quot; error Fix</title>
		<link>http://vspug.com/nrdev/2008/08/26/tip-report-server-quot-user-cannot-be-found-quot-error-fix/</link>
		<comments>http://vspug.com/nrdev/2008/08/26/tip-report-server-quot-user-cannot-be-found-quot-error-fix/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 19:30:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[When a SharePoint site is restored from a box on one domain to another, the users fromthe old domain get carried over to the new domain, even though the new machine does not knowthese users from the previous domain.
When Report Server is involved, sometimes, this can result in an error as follows:
Report Server has encountered [...]]]></description>
			<content:encoded><![CDATA[<p>When a SharePoint site is restored from a box on one domain to another, the users from<br />the old domain get carried over to the new domain, even though the new machine does not know<br />these users from the previous domain.</p>
<p>When Report Server is involved, sometimes, this can result in an error as follows:</p>
<p><strong>Report Server has encountered a SharePoint error. (rsSharePointError) </strong><a href="http://go.microsoft.com/fwlink/?LinkId=20476&amp;EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&amp;EvtID=rsSharePointError&amp;ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&amp;ProdVer=9.00.3054.00"><font color="#3366cc"><strong>Get Online Help</strong></font></a><strong> </strong></p>
<ul>
<li><strong>User cannot be found. </strong></li>
</ul>
<p><span>The solution&nbsp;(copied from TechNet forums &#8211; and which worked for us a couple of times as well is as follows:</span></p>
<ol>
<li><span>Open SQL Profiler and set up a trace on the target SharePoint Content DB (you can set a filter&nbsp;for DatabaseName)</span></li>
<li><span>Start SQL Profiler trace.<br /></span></li>
<li><span>Open the ReportServer Site&nbsp;in a browser.<br /></span></li>
<li><span>Go back to the SQL Profiler Trace.&nbsp;You should&nbsp;see, somewhere, a string which looks like the following</span><span><br />proc_SecGetPrincipalById &lt;GUID&gt;,&lt;INT_1&gt;,&lt;INT_2&gt;,&lt;INT_3&gt;
<p>where:<br />&lt;GUID&gt; of your Sharepoint site.<br />&lt;INT_1&gt; user id in UserInfo table that cannot be found and has to be &quot;really&quot; deleted<br /></span></li>
<li><span>Run&nbsp; the following SQL against the SharePoint Content DB in question:<br />SELECT * FROM UserInfo WHERE tp_SiteID = &lt;GUID&gt; AND tp_ID = &lt;INT_1&gt;<br /></span></li>
<li><span>If tp_Deleted = 1 you can set it to 0 with an UPDATE command:<br />UPDATE UserInfo SET tp_Deleted = 0 where TP_Id = &lt;INT_1&gt; AND tp_SiteID = &lt;GUID&gt;<br /></span></li>
<li><span>If the error persists, repeat steps 3 through 6 as there may be more than one old user carried across</span></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2008/08/26/tip-report-server-quot-user-cannot-be-found-quot-error-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TIP &#8211; How to rename a SharePoint Server machine name.</title>
		<link>http://vspug.com/nrdev/2008/07/15/tip-how-to-rename-a-sharepoint-server-machine-name/</link>
		<comments>http://vspug.com/nrdev/2008/07/15/tip-how-to-rename-a-sharepoint-server-machine-name/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 12:28:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[When you change the machine name of a Sharepoint server in the wrong manner, Sharepoint gets very unhappy and becomes non-functional.&#160; The following&#160;steps are some I have used to get Sharepoint back on-line with the new server name.&#160;&#160;It can probably be streamlined as well &#8211; this is a decent starting point in my opinion.
&#160;
Best Option

Assumes [...]]]></description>
			<content:encoded><![CDATA[<div class="ExternalClass12772B3E12E048F4A76DD571256DD549">When you change the machine name of a Sharepoint server in the wrong manner, Sharepoint gets very unhappy and becomes non-functional.&nbsp; The following&nbsp;steps are some I have used to get Sharepoint back on-line with the new server name.&nbsp;&nbsp;It can probably be streamlined as well &#8211; this is a decent starting point in my opinion.</div>
<div class="ExternalClass12772B3E12E048F4A76DD571256DD549">&nbsp;</div>
<div class="ExternalClass12772B3E12E048F4A76DD571256DD549"><strong>Best Option</strong></div>
<blockquote class="ExternalClass12772B3E12E048F4A76DD571256DD549" dir="ltr" style="MARGIN-RIGHT:0px;">
<div>Assumes you can rename SharePoint BEFORE renaming the server.&nbsp; </div>
</blockquote>
<div class="ExternalClass12772B3E12E048F4A76DD571256DD549">
<ul>
<li>rename the SharePoint server using STSADM. (-o renameserver)
<li>rename the machine to match
<li>reboot
<li>users / logins will refer to old machine name.&nbsp; You can&#39;t change the account, so add the equivalent users back and set permissions.&nbsp; When I added the new one, it wired into the old name and updated that users info instead of actually adding New.
<li>In SCA (SharePoint Central Administration) update administrators where necessary.</li>
</ul>
</div>
<p><strong>Typical Option</strong></p>
<blockquote dir="ltr" style="MARGIN-RIGHT:0px;">
<p>Since&nbsp;site admins will often rename the server without checking with anyone, you have a bigger problem.&nbsp; Some or all of the following may be necessary.</p>
</blockquote>
<ul>
<li>Servers renamed after SharePoint was installed will mean that SP probably won&#39;t even come up.
<li>Run STSADM using:&nbsp; <br /><em>Stsadm.exe -o renameserver -oldservername &lt;oldServerName&gt; -newservername &lt;newServerName&gt; <br /></em>(STSADM should have run ok, but SP will still not be happy.)
<li>Now fix the Alternate Access Mappings (AAM) for the site in Central Administration with STSADM: </li>
<ul>
<li>stsadm -o addalternatedomain -url <a href="http:">:http://&lt;oldservername&gt;:&lt;CAport</a>&gt; -urlzone extranet -incomingurl <a href="http:">:http://&lt;newservername&gt;:&lt;CAport</a>&gt; </li>
</ul>
<li>You should be now able to get into CA to finish fixing&nbsp;the AAMs and correct the zone&nbsp;(setting the new name as default instead of extranet).&nbsp; Messed up site AAMs will prevent you from being able to log in.
<li>Once in SCA and update all admin and secondary admin logins to make sure they are all referring to the new box.&nbsp;
<li>Next bring up the root SP site.&nbsp; Should work ok now.
<li>The Index server may not be running, so start it.&nbsp; Give it a while and search.&nbsp; If you get results, you&#39;re ok.
<li>Check pages in site and nagivation links at top with / refs using default.aspx and not explicitly typing in the default.aspx page name.&nbsp; If these work, the AAMs are good.
<li>In the site, you may need to fix the logins that refer to the old machine name.&nbsp;
<li>SharePoint should be working again and you should be done.&nbsp; </li>
</ul>
<p dir="ltr">&#8212;<br />Notes courtesy of D. Vineyard @ CSC, Fort Worth, Texas</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2008/07/15/tip-how-to-rename-a-sharepoint-server-machine-name/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TIP: Creation of Lists with Hidden Columns via code:</title>
		<link>http://vspug.com/nrdev/2008/02/28/creation-of-lists-with-hidden-columns-via-code/</link>
		<comments>http://vspug.com/nrdev/2008/02/28/creation-of-lists-with-hidden-columns-via-code/#comments</comments>
		<pubDate>Thu, 28 Feb 2008 13:12:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Just thought I would share a tip that I found on the usenet group: microsoft.public.sharepoint.windowsservices.development and in particular a post made by Colin Byrne colinb@&#62;flexnetconsult.co.uk
I am summarizing the tip below in brief with thanks&#160;to Colin for the very useful information:
nbsp;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
Question: How does one create a list field that is hidden from users, but can be [...]]]></description>
			<content:encoded><![CDATA[<p>Just thought I would share a tip that I found on the usenet group: <a class="ln" href="http://groups.google.com/group/microsoft.public.sharepoint.windowsservices.development">microsoft.public.sharepoint.windowsservices.development</a> <br />and in particular a post made by Colin Byrne <a href="mailto:colinb@flexnetconsult.co.uk">colinb@<u>&gt;flexnetconsult.co.uk</a></u></p>
<div class="ghgrn">I am summarizing the tip below in brief with thanks&nbsp;to Colin for the very useful information:</font></div>
<div class="ghgrn">nbsp;</font></div>
<div class="ghgrn">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</font></div>
<div class="ghgrn"><strong>Question:</strong> How does one create a list field that is hidden from users, but can be accessed for use in WorkFlows, etc?</div>
<div class="ghgrn"></font></div>
<div class="ghgrn"></font></div>
<div class="ghgrn"><strong>Answer:</strong>Apparently,&nbsp;the hidden property of a list field (SPField) cannot be changed&nbsp;because it is blocked by the internal property CanToggleHidden being false. You can&#39;t adjust this though the public object model. </div>
<div class="ghgrn">There are two work arounds, via code. </div>
<p class="ghgrn">1. Add the field as XML</p>
<p><font face="courier new">list.Fields.AddFieldAsXml(&quot;&lt;Field DisplayName=&quot;NewField5&quot; <br />Type=&quot;Boolean&quot; Required=&quot;FALSE&quot; Name=&quot;NewField5&quot; <br />CanToggleHidden=&quot;TRUE&quot; Hidden=&quot;TRUE&quot;/&gt;&quot;); </p>
<p></font></p>
<p class="ghgrn">2. Set the internal CanToggleHidden property via reflection </p>
<p><font face="courier new"></p>
<blockquote>
<p class="ghgrn">string id=list.Fields.Add(&quot;NewField5&quot;,SPFieldType.Boolean,false); <br />SPField spfield=(SPField)list.Fields.GetField(id); </p>
</blockquote>
<blockquote class="ghgrn">
<p>Type type = spfield.GetType(); <br />MethodInfo mi= type.GetMethod(&quot;SetFieldBoolValue&quot;, <br />BindingFlags.NonPublic | BindingFlags.Instance); <br />mi.Invoke(spfield,new object[]{&quot;CanToggleHidden&quot;, true}); </p>
<p>spfield.Hidden=true; <br />spfield.Update(); </p>
</blockquote>
<p></font></font></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2008/02/28/creation-of-lists-with-hidden-columns-via-code/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TIP: Using code blocks in master pages throws error</title>
		<link>http://vspug.com/nrdev/2007/06/28/tip-using-code-blocks-in-master-pages-throws-error/</link>
		<comments>http://vspug.com/nrdev/2007/06/28/tip-using-code-blocks-in-master-pages-throws-error/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 14:00:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you want to use script tags for dynamic content (asp.net code blocks) in a master page, for example:
 &#60;%= DateTime.Now %&#62;
and you receive the following error:
Include the following in your web.config file to resolve this issue:
The  AllowServerSideScript attribute is, apparently, set to false by default. Setting this to true will fix the issue mentioned.
Hope this [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use script tags for dynamic content (asp.net code blocks) in a master page, for example:</p>
<p> &lt;%= DateTime.Now %&gt;</p>
<p>and you receive the following error:</p>
<div id="attachment_21" class="wp-caption alignnone" style="width: 740px"><img class="size-full wp-image-21" title="SP_MasterPageCodeBlocksErr" src="http://vspug.com/nrdev/files/2007/06/SP_MasterPageCodeBlocksErr.gif" alt="MasterPage Code Block Error" width="730" height="131" /><p class="wp-caption-text">MasterPage Code Block Error</p></div>
<p>Include the following in your web.config file to resolve this issue:<br />
<div id="attachment_22" class="wp-caption alignnone" style="width: 711px"><img class="size-full wp-image-22" title="SP_MasterPageCodeBlocks" src="http://vspug.com/nrdev/files/2007/06/SP_MasterPageCodeBlocks.gif" alt="Fix for Code Block error message" width="701" height="66" /><p class="wp-caption-text">Fix for Code Block error message</p></div></p>
<p>The  AllowServerSideScript attribute is, apparently, set to false by default. Setting this to true will fix the issue mentioned.</p>
<p>Hope this helps,<br />
Rajiv</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2007/06/28/tip-using-code-blocks-in-master-pages-throws-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSRS in SharePoint 2007 site using Forms Based Authentication (SharePoint Integrated Mode)</title>
		<link>http://vspug.com/nrdev/2007/06/21/ssrs-in-sharepoint-2007-site-using-forms-based-authentication-sharepoint-integrated-mode/</link>
		<comments>http://vspug.com/nrdev/2007/06/21/ssrs-in-sharepoint-2007-site-using-forms-based-authentication-sharepoint-integrated-mode/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 15:32:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[
This is just a post to inform all the people out there who may be struggling to implement Sql Server Reporting Services 2005 (SSRS) in a&#160;SharePoint 2007 site using Forms Based Authentication (FBA), when configured in the new SharePoint Integrated Mode (SP2).
&#160;After months of trying to get this working and dealing with Microsoft and getting [...]]]></description>
			<content:encoded><![CDATA[<p><font size="2"></p>
<p>This is just a post to inform all the people out there who may be struggling to implement Sql Server Reporting Services 2005 (SSRS) in a&nbsp;SharePoint 2007 site using Forms Based Authentication (FBA), when configured in the new SharePoint Integrated Mode (SP2).</p>
<p>&nbsp;After months of trying to get this working and dealing with Microsoft and getting bounced back between the Sql and the SharePoint teams, we finally have an admission that this is a Microsoft bug on the SQL side. Believe me guys, this is not an easy thing to come by&#8230; </p>
<p>So, for the people who have been struggling on this issue like us, we suggest simply waiting for a while, as there is nothing you can really do about this currently. Microsoft has informed us that this is targeted for a Sql Server SP3, although they do not have a date for the SP3 release. In&nbsp;the meantime, we are targeting&nbsp;them to give us a hotfix that will hopefully get us over this major hurdle.</p>
<p>Here&#39;s a portion of &nbsp;the actual e-mail we got from MS (dated June 04, 2007)</p>
<p><hr />
<font face="Arial" color="#990080" size="2"></p>
<p><em>Hi Michael, Rajiv &#8211; </em></p>
<p><em></em></p>
<p><em>After further research and consultation within my team, it turns out that this issue is related to a BUG in SQL Server 2005 reporting services and is currently scheduled to be fixed in the SQL Server 2005 Sp3. And at this point we don&#39;t have any date for SQL Server 2005 Sp3.</em></p>
<p><em></em></p>
<p><em>If the issue is urgent and important for you and you would like to have a hotfix/QFE before the release of the service pack, please let me know. The final decision on whether a hotfix request will be accepted comes from our escalation team and product team &#8211; but if I clearly understand the `business Impact&#39; of this issue for you, I can convey your request to our Escalation and Product Team.</em></p>
<p><em>&#8230;&#8230; rest edited &#8230; </em></p>
<p></font></p>
<hr />
<p>Just wanted to get the word out to the SharePoint community.&nbsp;I am not sure if we will get&nbsp; the hotfix for our business use yet, but will update this item on any progress.</p>
<p>Perhaps if the SharePoint community complains a lot, this will get more exposure in Microsoft?</p>
<p>&nbsp;&#8211; Rajiv</p>
<p>&nbsp;</p>
<p>===================</p>
<p><font face="Arial" color="#006600" size="2"></p>
<p>Update as of June 25, 2007:</p>
<p>Microsoft has reported they have been able to reproduce this issue&nbsp;with FBA&nbsp;identities not working with SSRS&nbsp;in a local environment, and have fully understood the source of&nbsp; the issue. It turns out that a piece of code they have &quot;wipes out&quot; the forms identity cookie that is correctly being passed from SharePoint to the SQL engine, and therefore returns a &quot;<em>user not found</em>&quot; message, which then throws an exception within SharePoint. </p>
<p>They have started working on a fix for this currently, and will be promoting it to the public in the next cumulative build, release date still TBD. </p>
<p>(Good news for us though, is that we have been promised to be part of a test team for a &quot;<strong>private build</strong>&quot;, to ensure this bug has been resolved to our satisfaction and won&#39;t have to wait for the SP3 release. Fantastic news!)</p>
<p>&nbsp;More updates as we get them. </p>
<p>- RC</p>
<p></font></p>
<p>===================</p>
<p><font face="Arial" color="#000099" size="2"></p>
<p>Update as of July 16, 2007:&nbsp;</p>
<p>MS&nbsp;gave us a &quot;hotfix&quot;&nbsp;(along with&nbsp;6 other&nbsp;priority customers, they say &#8211; who probably reported the issue with SSRS and FBA like us) on &nbsp;July 12, 2007. A couple of things to note here: </p>
<p>&nbsp; i) The hotfix is for the file &quot;SharePointRS.msi&quot; (new file size: 37,458KB), which is a replacement for the SSRS Add-In for SharePoint 2007.<br />&nbsp; ii) When I specifically asked the MS rep for which file(s) within it were new, he told me that the only replacement was for : <b>&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts.dll&quot;</b></p>
<p>&nbsp;In any case, I had the opportunity to test this new hotfix this morning and the following are my findings:</p>
<p>&nbsp;i) The install can simply be made over the older Add-In install without un-installing. Seems to go smoothly. I would ensure, however, that all the web.configs on the&nbsp;web Server do have write-access.</p>
<p>&nbsp;ii) Though the MS rep claimed that the &quot;Microsoft.ReportingServices.SharePoint.UI.WebParts.dll&quot; was replaced, it seems as if the version on the dll was not updated, since&nbsp; the web.config still pointed to the version prior to the hotfix.<br />&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SafeControl Assembly=&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts, Version=9.0.242.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91&quot; Namespace=&quot;Microsoft.ReportingServices.SharePoint.UI.WebParts&quot; TypeName=&quot;*&quot; Safe=&quot;True&quot; /&gt;</p>
<p>I thought this was interesting. </p>
<p>&nbsp;&#8212; <br />It turns out that the SSRS reports can only be deployed to a DEFAULT zone (not any extended zone in a SharePoint app). So I had to flip my Authentication Provider for my default zone in my SharePoint Application to my custom&nbsp;FBA provider, and was able to deploy the SSRS reports from the BI Studio 2005 (after getting a prompt for FBA credentials). </p>
<p><u>The reports deployed without issues, and I was able to pull them up in the FBA zone of my SharePoint application</u>, which is great news. Do note, however, that if you have extended zones, reports will still only be accessible through the DEFAULT zone. This has not been addressed with this hotfix. </p>
<p>&#8211; <br /><em><strong>For all the other people out there trying to resolve this issue, the MS rep mentioned to me that this hotfix will be part of a &quot;cumulative update&quot; to SQL Server 2005, that will be released in August 2007, and you will not have to wait for a release of SP3! Also, according to the rep I talked with, all of the initial testers of the hotfixes (including us) have not reported any major issues with the fix issued.</strong></em> </p>
<p>I hope that this brings some closure to all those who have encountered a similar issue with SSRS and FBA.</p>
<p>Thanks,<br />Rajiv </font></p>
<p>===================</p>
<p></font></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2007/06/21/ssrs-in-sharepoint-2007-site-using-forms-based-authentication-sharepoint-integrated-mode/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TIP: Easily get to the WebPart Maintenance page for any Sharepoint Site Url</title>
		<link>http://vspug.com/nrdev/2007/02/08/tip-easily-get-to-the-webpart-maintenance-page-for-any-sharepoint-site-url/</link>
		<comments>http://vspug.com/nrdev/2007/02/08/tip-easily-get-to-the-webpart-maintenance-page-for-any-sharepoint-site-url/#comments</comments>
		<pubDate>Thu, 08 Feb 2007 22:04:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Often times, developers in WSS3.0/MOSS2007 probably run across the issue where a web part is dropped on to a page
and then Sharepoint errors out for one reason or the other. Sometimes, the user is directed to a Web Part Maintenance page,
which helps the developer remove the offending web part from the page.
However, there is no [...]]]></description>
			<content:encoded><![CDATA[<p>Often times, developers in WSS3.0/MOSS2007 probably run across the issue where a web part is dropped on to a page<br />
and then Sharepoint errors out for one reason or the other. Sometimes, the user is directed to a Web Part Maintenance page,<br />
which helps the developer remove the offending web part from the page.</p>
<p>However, there is no way to get to this page from any easily available link.</p>
<p><span style="text-decoration: underline"><strong>Resolution:</strong></span></p>
<p><span style="text-decoration: underline"><strong> </strong></span>In order to get to the Web Part Maintenance page for ANY sharepoint url, try the following trick.</p>
<p>a) Append the querystring <strong><em>?contents=1 </em></strong>to the url in the browser as shown below.</p>
<p><img class="alignnone size-full wp-image-24" title="WPM_QueryString" src="http://vspug.com/nrdev/files/2007/02/WPM_QueryString.gif" alt="WPM_QueryString" width="879" height="348" /></p>
<p>b) The Web Part Maintenance page for the desired url can then be accessed, as seen here:</p>
<div id="attachment_26" class="wp-caption alignnone" style="width: 808px"><img class="size-full wp-image-26" title="WPM_DestPage" src="http://vspug.com/nrdev/files/2007/02/WPM_DestPage.gif" alt="Web part page Maintenance after adding ?contents=1" width="798" height="469" /><p class="wp-caption-text">Web part page Maintenance after adding ?contents=1</p></div>
<p><strong><span style="text-decoration: underline">Symptom:</span></strong></p>
<p>This tip can also be found at: http://weblogs.asp.net/wkriebel/archive/2004/04/12/111776.aspx,<br />
but is repeated here, since I think this can save a lot of developers some time.</p>
<p>Hope this helps other developers.</p>
<p>- Rajiv</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2007/02/08/tip-easily-get-to-the-webpart-maintenance-page-for-any-sharepoint-site-url/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW-TO: Microsoft Office Developer Center</title>
		<link>http://vspug.com/nrdev/2007/01/30/how-to-microsoft-office-developer-center/</link>
		<comments>http://vspug.com/nrdev/2007/01/30/how-to-microsoft-office-developer-center/#comments</comments>
		<pubDate>Tue, 30 Jan 2007 19:43:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[I just ran across the link for the&#160; Microsoft Office Developer Center, which boasts small how-to videos and links to common development/deployment tasks. 
This seems like a place that will prove useful to many WSS3.0/MOSS2007 developers in general. I thought it would be a good idea to share with as many developers as possible, to [...]]]></description>
			<content:encoded><![CDATA[<p>I just ran across the link for the&nbsp; <a href="http://msdn2.microsoft.com/en-us/office/bb266408.aspx">Microsoft Office Developer Center</a>, which boasts small how-to videos and links to common development/deployment tasks. </p>
<p>This seems like a place that will prove useful to many WSS3.0/MOSS2007 developers in general. I thought it would be a good idea to share with as many developers as possible, to spread the knowledge around</p>
<p>- Nathan and Rajiv<img src="/aggbug.aspx?PostID=18733" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2007/01/30/how-to-microsoft-office-developer-center/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TIP: DLL in GAC, but cannot be accessed through Sharepoint site (&quot;Could not load type&quot;) ? Try this fix&#8230;</title>
		<link>http://vspug.com/nrdev/2006/12/29/tip-dll-in-gac-but-cannot-be-accessed-through-sharepoint-site-quot-could-not-load-type-quot-try-this-fix/</link>
		<comments>http://vspug.com/nrdev/2006/12/29/tip-dll-in-gac-but-cannot-be-accessed-through-sharepoint-site-quot-could-not-load-type-quot-try-this-fix/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 00:51:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[We ran into a strange issue recently. We had deployed a signed DLL to the Global Assembly Cache (GAC), and assumed
that it would be available to all applications on  the web server.
For some reason, it turned out that one of these DLLs in the GAC was not being resolved by our SharePoint application
unless the dll was [...]]]></description>
			<content:encoded><![CDATA[<p>We ran into a strange issue recently. We had deployed a signed DLL to the Global Assembly Cache (GAC), and assumed<br />
that it would be available to all applications on  the web server.</p>
<p>For some reason, it turned out that one of these DLLs in the GAC was not being resolved by our SharePoint application<br />
<span style="text-decoration: underline">unless the dll was copied into the in folder of the application as well</span>.</p>
<div id="attachment_28" class="wp-caption alignnone" style="width: 687px"><img src="http://vspug.com/nrdev/files/2006/12/GacDllError.gif" alt="Error when Dll is only in GAC" title="GacDllError" width="677" height="167" class="size-full wp-image-28" /><p class="wp-caption-text">Error when Dll is only in GAC</p></div><strong><span style="text-decoration: underline">Symptom:</span></strong></p>
<p>The above shows the error that the Sharepoint Application was throwing if the DLL was in the GAC only, but not copied over to the \bin folder of the IIS virtual.</p>
<p><span style="text-decoration: underline"><strong>Resolution:</strong></span></p>
<p>After some research, we determined that we had to add a line to the web.config of our SharePoint web application,<br />
as follows:</p>
<p><div id="attachment_30" class="wp-caption alignnone" style="width: 867px"><img src="http://vspug.com/nrdev/files/2006/12/GacDllErrorfix.gif" alt="Fix to read GAC dll files in WSS3.0" title="GacDllErrorfix" width="857" height="111" class="size-full wp-image-30" /><p class="wp-caption-text">Fix to read GAC dll files in WSS3.0</p></div>
<p>The copy of the DLL could then be removed from the \bin folder leaving only the one copy in the GAC.</p>
<p>Hope this helps other developers.</p>
<p>- Rajiv</p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2006/12/29/tip-dll-in-gac-but-cannot-be-accessed-through-sharepoint-site-quot-could-not-load-type-quot-try-this-fix/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PDF IFilter Working with WSS 3.0 RTM &#8211; with proper highlighting, too.</title>
		<link>http://vspug.com/nrdev/2006/11/29/pdf-ifilter-working-with-wss-3-0-rtm-with-proper-highlighting-too/</link>
		<comments>http://vspug.com/nrdev/2006/11/29/pdf-ifilter-working-with-wss-3-0-rtm-with-proper-highlighting-too/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 23:02:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[If you need PDF files in your search results, the steps listed by Stan Spotts in his post&#160;WSS 3.0BetaTR PDF search configuration and setup have been confirmed to work under WSS 3.0 RTM.
As an added bonus, WSS 3.0 RTM will actually show lines that contain your search term and highlight the term!
S.S. Ahmed has a [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Arial">If you need PDF files in your search results, the steps listed by Stan Spotts in his post&nbsp;</font><a id="_2042d4858f8b1d9b_HomePageDays_DaysList__ctl1_DayItem_DayList__ctl0_TitleUrl" href="http://geekswithblogs.net/sspotts/archive/2006/11/03/96045.aspx"><font face="Arial">WSS 3.0BetaTR PDF search configuration and setup</font></a><font face="Arial"> have been confirmed to work under WSS 3.0 RTM.</font></p>
<p><font face="Arial">As an added bonus, WSS 3.0 RTM will actually show lines that contain your search term and highlight the term!</font></p>
<p><font face="Arial">S.S. Ahmed has a detailed article that&nbsp;specifically for MOSS, but it is useful as well, especially for the instructions on getting the PDF icon to display:&nbsp;</font><a href="/ssa/archive/2006/10/13/13812.aspx"><font face="Arial">/ssa/archive/2006/10/13/13812.aspx</font></a><font face="Arial">.</font></p>
<p><font face="Arial">Nathan</font></p>
<p><img src="/aggbug.aspx?PostID=16496" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2006/11/29/pdf-ifilter-working-with-wss-3-0-rtm-with-proper-highlighting-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clean B2TR removal and RTM install for Office 2007 and WSS</title>
		<link>http://vspug.com/nrdev/2006/11/29/clean-b2tr-removal-and-rtm-install-for-office-2007-and-wss/</link>
		<comments>http://vspug.com/nrdev/2006/11/29/clean-b2tr-removal-and-rtm-install-for-office-2007-and-wss/#comments</comments>
		<pubDate>Wed, 29 Nov 2006 21:21:00 +0000</pubDate>
		<dc:creator>rchakravarti</dc:creator>
		
		<guid isPermaLink="false"></guid>
		<description><![CDATA[Want to uninstall, then perform&#160;a clean installation of Office 2007 and WSS B2TR?&#160; Think you can get away with running SharePoint.exe&#160;and have a perfectly working&#160;WSS?&#160; Not so fast&#8230;&#160;After a wasted day of failed installs, a broken WSS Search Indexer,&#160;bluescreens, and yelling, we offer these tips to keep in mind when migrating, as well as&#160;our step-by-step&#160;process&#160;for [...]]]></description>
			<content:encoded><![CDATA[<p><font face="Arial">Want to uninstall, then perform&nbsp;a clean installation of Office 2007 and WSS B2TR?&nbsp; Think you can get away with running SharePoint.exe&nbsp;and have a perfectly working&nbsp;WSS?&nbsp; Not so fast&#8230;&nbsp;After a wasted day of failed installs, a broken WSS Search Indexer,&nbsp;bluescreens, and yelling, we offer these tips to keep in mind when migrating, as well as&nbsp;our step-by-step&nbsp;process&nbsp;for a clean reinstallation.</font></p>
<p><strong><font face="Arial">Tips for installing:</font></strong></p>
<ul>
<li><font face="Arial">If you want WSS <strong>Search</strong> to work, you need the .NET v3 Framework RTM installed</font>
<li><font face="Arial">If you&nbsp;can&#39;t install the .NET v3 Framework on Windows 2003 Server or you get a &quot;cryptographic services&quot;&nbsp;error,&nbsp;try running regedit and set <strong>HKEY_LOCAL_MACHINE  </strong>SOFTWARE <strong> </strong>Policies <strong> </strong>Microsoft <strong>&nbsp; </strong>SystemCertificates <strong> </strong>TrustedPublisher <strong> Safer</strong> to <strong>0</strong>.&nbsp; The Sharepoint Configuration Wizard likes to set it back to 2.</font>
<li><font face="Arial">If you are running <strong>Sonic RecordNow</strong> to burn your ISOs, make sure you&nbsp;remove it from your&nbsp;startup or uninstall it, or you&#39;ll get a neverending bluescreen loop at startup!</font>
<li><font face="Arial">To remove startup items, I highly recommend Mike Lin&#39;s Startup Control Panel, found here: <a href="http://www.mlin.net/StartupCPL.shtml">http://www.mlin.net/StartupCPL.shtml</a>.</font>
<li><font face="Arial">Even after a WSS reinstall, it is possible for Web Applications to persist which will raise an error if you try to recreate the application.&nbsp; Be sure you delete them in <strong>Central Admin -&gt; Application Management -&gt; Delete Web Application</strong>.</font></li>
</ul>
<p><strong><font face="Arial">Steps for B2TR to RTM migration for&nbsp;Office 2007 and WSS 3.0:</font></strong></p>
<ol>
<li><font face="Arial">Uninstall all Office 2007 applications, including Sharepoint Designer via <strong>Control Panel</strong> -&gt; <strong>Add/Remove programs</strong></font>
<li><font face="Arial">Uninstall WSS B2TR via <strong>Control Panel</strong> -&gt; <strong>Add/Remove programs</strong>.</font>
<li><font face="Arial">Delete all Content Databases from your SQL server</font>
<li><font face="Arial">Ensure&nbsp;the SAFER key in your registry is set to 0&nbsp; (see tip above)</font>
<li><font face="Arial">Install Office 2007</font>
<li><font face="Arial">Install SharePoint Designer 2007</font>
<li><font face="Arial">Install Visio 2007</font>
<li><font face="Arial">Install Project 2007</font>
<li><font face="Arial">Ensure&nbsp;the SAFER key in your registry is set to 0&nbsp; (see tip above)</font>
<li><font face="Arial">Remove .NET Framework v3 via <strong>Control Panel</strong> -&gt; <strong>Add/Remove programs</strong></font>
<li><font face="Arial">Run the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=AAE7FC63-D405-4E13-909F-E85AA9E66146&amp;displaylang=en">Microsoft .NET Framework 3.0 Uninstall Tool</a>&nbsp;to clean up any other .NET Framework remnants.&nbsp; Click YES or OK&nbsp;if you get any warnings during the uninstall- all the files you are being warned about (MSXML 6 for example) will be replaced when you install the latest .NET Framework.</font>
<li><font face="Arial">Ensure&nbsp;the SAFER key in your registry is set to 0&nbsp;(see tip above)</font>
<li><font face="Arial">Install the .NET Framework 3.0 Redistributable (available at <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?FamilyId=10CC340B-F857-4A14-83F5-25634C3BF043&amp;displaylang=en</a>).</font>
<li><font face="Arial">Update the SAFER key in your registry (see tip above)</font></li>
</ol>
<p><font face="Arial">Hope this saves you some headaches.</font></p>
<p><font face="Arial">Nathan</font></p>
<p>&nbsp;</p>
<p><img src="/aggbug.aspx?PostID=16492" width="1" height="1" alt="  " /></p>
]]></content:encoded>
			<wfw:commentRss>http://vspug.com/nrdev/2006/11/29/clean-b2tr-removal-and-rtm-install-for-office-2007-and-wss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
