<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://myitforum.com/cs2/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MOSS MAN </title><link>http://myitforum.com/cs2/blogs/pzanbaka/default.aspx</link><description>Paul Zanbaka</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>Creating a small application from a Sharepoint Portal 2003 List</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/09/creating-a-small-application-from-a-sharepoint-portal-2003-list.aspx</link><pubDate>Sun, 09 Sep 2007 18:13:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105604</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105604</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/09/creating-a-small-application-from-a-sharepoint-portal-2003-list.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;I will describe the steps you need to Create a small application from a Sharepoint Portal 2003 List. This will really come handy when your boss ask you to tweak A SPS list or if you just want to cut development time into 25% on a small straight forward app.&lt;/p&gt;
&lt;p&gt;Create the list for help on this search the site on creating a list, and populate some items.&lt;br /&gt;For this Example the list name will be “BlueDog”&lt;/p&gt;
&lt;p&gt;Now the tricky part connect trough Enterprise Manager or Query Analyzer to the _SITE db. Run this query on WebParts Table&lt;br /&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebParts&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (tp_DisplayName LIKE &amp;#39;%Blue Dog%&amp;#39;)&lt;/p&gt;
&lt;p&gt;Copy the tp_ListId field. In this example we will use this value for it&amp;gt;&lt;/p&gt;
&lt;p&gt;All your data for this web part resides in the User Data Table. Since you already populated some fields. Run this Query on the UserData Table&lt;/p&gt;
&lt;p&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UserData&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (tp_ListId = &amp;#39;{1D2648E5-DDEB-4545-BF4D-E5B016C74156}&amp;#39;)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You may want to create a view for your WebPart Data with you naming the fields using As.&lt;br /&gt;See below:&lt;br /&gt;CREATE VIEW dbo.View&lt;br /&gt;AS&lt;br /&gt;SELECT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nvarchar1 AS MyField1, nvarchar2 AS MyField2, datetime2 AS MyDate1,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nvarchar3 AS Completed, tp_ID, tp_Modified AS Modified, tp_Created AS Created, &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; tp_HasAttachment AS HasAttachment&lt;br /&gt;FROM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dbo.UserData&lt;br /&gt;WHERE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (tp_ListId = &amp;#39;{1D2648E5-DDEB-4545-BF4D-E5B016C74156}&amp;#39;)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;This is it now you can create a whole application&amp;nbsp; based on this view.&lt;/p&gt;
&lt;p&gt;2 Final Warnings:&lt;/p&gt;
&lt;p&gt;First, Be very careful not to modify the field types in SPS this will affect the fields in your view.You may have to re-inspect your queries if you do.&lt;br /&gt;Secondly, We do not know what Microsoft will do in the next version of SPS will they change their schema therefore destroying your Application Humm??&lt;br /&gt;If you work for Microsoft Please answer me!.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105604" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/SharePoint+2003/default.aspx">SharePoint 2003</category></item><item><title>Customizing Sharepoint-Adding Template to Sharepoint Portal 2003</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/09/customizing-sharepoint-adding-template-to-sharepoint-portal-2003.aspx</link><pubDate>Sun, 09 Sep 2007 18:03:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105603</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105603</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/09/customizing-sharepoint-adding-template-to-sharepoint-portal-2003.aspx#comments</comments><description>&lt;p&gt;How to add you own template to Sharepoint Portal Server. You first have to create a template, unfortunately we will not be discussing this in this article.&lt;br /&gt;Once you have created the template make sure you save it as .stp extension.&lt;br /&gt;For the sake of this example we will save it in here with the following name: C:\Templates\MyTemplate.stp&lt;br /&gt;To add your template to the Portal Use the command line(Start|run|cmd)&lt;br /&gt;cd [Drive]:\Program Files\Common Files\Microsoft Shared\web server extensions\60\BIN&lt;br /&gt;Where [Drive]:\ is the drive Sharepoint is installed on. &lt;br /&gt;stsadm.exe -o addtemplate -filename &amp;quot;C:\Templates\MyTemplate.stp&amp;quot; -title &amp;quot;My Template&amp;quot;&lt;br /&gt;You must restart IIS for theconfigurations to kick in&lt;br /&gt;Use the iisreset command, it is quick usually less than 30 seconds.&lt;/p&gt;
&lt;p&gt;Now when you create a site in Sharepoint your template will be displayed after Sharepoint’s templates. Notiuce when you mouse over the built in templates a description is displayed on the bottom.&lt;br /&gt;To add description to your template:&lt;br /&gt;stsadm.exe -o addtemplate -filename &amp;quot;C:\Templates\MyTemplate.stp&amp;quot; -title &amp;quot;My Template&amp;quot; -description &amp;quot;This template is Greaat You must use it blah blah blah!&amp;quot;&lt;/p&gt;
&lt;p&gt;To delete a template use this command&lt;br /&gt;stsadm.exe -o deletetemplate -title &amp;quot;My Template&amp;quot;&lt;br /&gt;Again, You must also restart IIS.&lt;br /&gt;Now you are ready to add your template so go customize a sharepoint site and save the site a template and add it to the portal.&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105603" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/SharePoint+2003/default.aspx">SharePoint 2003</category></item><item><title>Why not create MCITP in SCCM or SharePoint 2007 (MOSS)?</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/06/why-not-create-mcitp-in-sccm-or-sharepoint-2007-moss.aspx</link><pubDate>Thu, 06 Sep 2007 22:21:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105534</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105534</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/06/why-not-create-mcitp-in-sccm-or-sharepoint-2007-moss.aspx#comments</comments><description>&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;Microsoft new certifications MCITP allow IT pros to earn credentials equivalent to old school MCSE while focusing on a specific products.&lt;br /&gt;Why not create a specialization for SCCM or MOSS?&lt;br /&gt;Does anyone know if there are plans to do this in the near future?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;&lt;br /&gt;These products certainly require specialization…&lt;/font&gt;&lt;/font&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105534" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/MCITP/default.aspx">MCITP</category></item><item><title>Moving Sharepoint Portal Server 2003</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/04/moving-sharepoint-portal-server-2003.aspx</link><pubDate>Tue, 04 Sep 2007 12:57:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105444</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105444</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/04/moving-sharepoint-portal-server-2003.aspx#comments</comments><description>&lt;p&gt;For example from a Two Server farm to Standalone; or from development to production.&lt;br /&gt;Install Sharepoint on the destination server but do not create a portal site instead chose to restore the site. Specify the content databases it is better to restore them on the machine first. This way you can chose any topology you like on the backup machine.&lt;/p&gt;
&lt;p&gt;One Issue: I ran into one of my (100+) sites&amp;nbsp; did not come up on back up portal.&lt;br /&gt;After troubleshooting for a while I found that the field (Id) in the&amp;nbsp; Sites Table in _SITE db and the file (SiteId) in the&amp;nbsp; Sites table in SPS_config did not match I changes the SiteId (SPS_conifg ) the site came up like a charm&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105444" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/SharePoint+2003/default.aspx">SharePoint 2003</category></item><item><title>Why I moved my Blogs here? </title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/why-i-moved-my-blogs-here.aspx</link><pubDate>Sun, 02 Sep 2007 22:54:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105413</guid><dc:creator>pzanbaka</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105413</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/why-i-moved-my-blogs-here.aspx#comments</comments><description>&lt;p&gt;My buddy Jeff Gilbert insisted that I come and join you SMS Gurus and start talking about other products like MOSS and SPS.&lt;br /&gt;Jeff is a loyal fan and a big contributor of this site. He also seems to think that Rod&amp;#39;s sites are unbeatable.&lt;br /&gt;So I figured I will listen to him, since the genius is rarely wrong LOL. I will be adding lots of old SharePoint, MOSS, and SQL posts to the myitforum community,&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105413" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/myITforum/default.aspx">myITforum</category></item><item><title>What do you think of www.mycodekb.com?  Why mycodekb?</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/what-do-you-think-of-www-mycodekb-com-why-mycodekb.aspx</link><pubDate>Sun, 02 Sep 2007 22:49:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105412</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105412</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/what-do-you-think-of-www-mycodekb-com-why-mycodekb.aspx#comments</comments><description>&lt;p&gt;I created this site back in 2004 originally to search my code. I found myself looking for previous code snippets. I was storing these snippets in text files. Then the idea came to me what I can store my code and previous lessons learned online.&lt;br /&gt;As I was building the site, what if others could store their code and we can search each others. I think I am on to something… What do you think?&lt;br /&gt;Visit the site &lt;a href="http://www.mycodekb.com/"&gt;&lt;font color="#223344"&gt;http://www.mycodekb.com/&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105412" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/mycodeKB/default.aspx">mycodeKB</category></item><item><title>SharePoint 2003 to MOSS 2007 Upgrade Migration Error: Halting upgrade... Microsoft.SharePoint.SPException: User cannot be found.</title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/sharepoint-2003-to-moss-2007-upgrade-migration-error-halting-upgrade-microsoft-sharepoint-spexception-user-cannot-be-found.aspx</link><pubDate>Sun, 02 Sep 2007 22:46:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105411</guid><dc:creator>pzanbaka</dc:creator><slash:comments>7</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105411</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/sharepoint-2003-to-moss-2007-upgrade-migration-error-halting-upgrade-microsoft-sharepoint-spexception-user-cannot-be-found.aspx#comments</comments><description>&lt;p&gt;This fixes 2 errors &lt;br /&gt;Error 1) The migration upgrade error below[PortalSiteUpgradeAreaAndListingData] [12.0.1.0] [INFO]: Upgrade encountered an unexpected error. &lt;br /&gt;Halting upgrade... Microsoft.SharePoint.SPException: User cannot be found. at Microsoft.SharePoint.SPUserCollection.GetByID(Int32 id) at Microsoft.SharePoint.SPSite.get_Owner() [SiteSequence] [ERROR]: User cannot be found.&lt;br /&gt;Error 2) Manage Site Collection Owners User cannot be found&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve found a way to fix this but please try at&lt;span style="COLOR:#ff0000;"&gt; your own risk&lt;/span&gt; and backup the database first! I think what is happening is that when SharePoint checks to see who the author (owner) of the site is, if the author doesn&amp;#39;t exist Upgrade/migration fails.&lt;br /&gt;The Owner of the site is stored in the Sites database table. The author of the site is stored in the Webs database table.&lt;br /&gt;&lt;br /&gt;Step 1&lt;br /&gt;Select * from Webs where FullUrl = &amp;#39;&amp;#39;&lt;br /&gt;Here the full url is the one you are having problems with Copy the siteID it should look like this 3893DC55-756E-430C-8975-6214A531CAE1&lt;br /&gt;&lt;br /&gt;Step 2&lt;br /&gt;SELECT * FROM [FortBenn4_SITE].[dbo].[UserInfo] where tp_SiteId=&amp;#39;3893DC59-756E-430C-8975-6214A531CAE1&amp;#39;&lt;br /&gt;In here you get lots of records returned look for any valid user just copy the tp_ID for our example we make it 44&lt;br /&gt;&lt;br /&gt;Step 3&lt;br /&gt;The author and OwnerID bellow are the one you picked in step 2 (44) UPDATE [Sites] SET [OwnerID] = &amp;#39;44&amp;#39; WHERE [FullUrl]=’ &amp;#39;&lt;br /&gt;Update Webs set Author=&amp;#39;44&amp;#39; where FullUrl = &amp;#39;&amp;#39;&lt;br /&gt;Step 4&lt;br /&gt;Finally, go give ownership to the right user Go Windows SharePoint Services Manage Site Collection Owners Give the desired user ownership to the site&lt;br /&gt;Let me know how it works make sure you test it on a backup environment&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105411" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/SharePoint+2003+to+MOSS+2007+Upgrade+Migration+Errors/default.aspx">SharePoint 2003 to MOSS 2007 Upgrade Migration Errors</category></item><item><title>Content Database Migration from SharePoint 2003 to MOSS 2007 </title><link>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/content-database-migration-from-sharepoint-2003-to-moss-2007.aspx</link><pubDate>Sun, 02 Sep 2007 22:31:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:105410</guid><dc:creator>pzanbaka</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/pzanbaka/rsscomments.aspx?PostID=105410</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/pzanbaka/archive/2007/09/02/content-database-migration-from-sharepoint-2003-to-moss-2007.aspx#comments</comments><description>&lt;p&gt;This guide is aimed for a migrating a server farm with little customization.&lt;br /&gt;I wrote it about two month ago as I was performing my migration. Enjoy...&lt;br /&gt;1-Run Pre upgrade scan tool on WSS v2.0 or SPS 2003 farm&lt;br /&gt;At the command prompt, perform one of the following actions, as appropriate for your situation:&lt;br /&gt;If you are upgrading from SharePoint Portal Server 2003 to SharePoint Server 2007, type the following command at the command prompt&lt;br /&gt;prescan.exe /c preupgradescanconfig.xml /all&lt;br /&gt;&lt;br /&gt;If you are upgrading from Windows SharePoint Services 2.0 to Windows SharePoint Services 3.0, type the following command at the command prompt:&lt;br /&gt;prescan.exe /all&lt;br /&gt;Get any errors fixed in this stage before you move on.&lt;br /&gt;You can check &lt;a href="http://www.mycodekb.com/"&gt;&lt;font color="#223344"&gt;http://www.mycodekb.com/&lt;/font&gt;&lt;/a&gt; for some of the errors I ran into and corrected.&lt;br /&gt;Other useful slinks to troubleshoot your errors:&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/937291"&gt;&lt;font color="#445566"&gt;http://support.microsoft.com/kb/937291&lt;/font&gt;&lt;/a&gt;&lt;br /&gt;Make sure you run this right before you perform the next steps.&lt;br /&gt;&lt;br /&gt;2- Stand up and configure your new v 3.0 farm, Make sure all necessary services are started.&lt;br /&gt;&lt;br /&gt;3-Create an IIS Website for each Web site in your in your v2 environment.&lt;br /&gt;Increase ASP Script Timeout to 6&lt;span class=""&gt;&lt;span class=""&gt;000.modify the web.cofig file in the web application&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;Increase ASP।net execution Timeout &lt;br /&gt;4- Copy all customization such as custom web parts and site definitions from your old farm to your all the WFE s on your new farm.&lt;br /&gt;&lt;br /&gt;5- Set you WSS v 2 databses to Read Only.&lt;br /&gt;Back up and restore, attach or copy the your content datasbes to the new server farm SQL Sever.&lt;br /&gt;Before attaching datasbase in next step go and delete any triggers you may have created on the database, in my case I had created a trigger to limit versions on SPS 2003,, I really recommend cleaning here.&lt;br /&gt;6-Attach the WSS v2 content database to your new Website using either SharePoint 3.0 Central Administration or&lt;br /&gt;Stsadm tool see example below&lt;br /&gt;stsadm -o deletecontentdb -url http://websitev3 -databaseserver DBSERVER-databasename WSS_Contentv3&lt;br /&gt;stsadm -o addcontentdb -url http:// websitev3 -databaseserver DBSERVER -databasename CONTENTDBv2&lt;br /&gt;This is going to take a while, go take a long break and hope for the best&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=105410" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/pzanbaka/archive/tags/MOSS+CONTENT+DB+MIGRATION/default.aspx">MOSS CONTENT DB MIGRATION</category></item></channel></rss>