<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>tchmiel's blog</title><link>http://www.sharepointblogs.com/tchmiel/default.aspx</link><description>Tom&amp;#39;s SharePoint Findings</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/tchmiel" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>wssv3SP1 install:  "This product requires ASP.NET v2.0" error</title><link>http://feedproxy.google.com/~r/tchmiel/~3/gsj61neGAUI/wssv3sp1-install-quot-this-product-requires-asp-net-v2-0-quot-error.aspx</link><pubDate>Fri, 28 Dec 2007 02:43:41 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:10324</guid><dc:creator>tchmiel</dc:creator><slash:comments>16</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=10324</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/12/27/wssv3sp1-install-quot-this-product-requires-asp-net-v2-0-quot-error.aspx#comments</comments><description>&lt;p&gt;I thought as the new year approaches I would rebuild one of our test wssv3 virtual machines 
&lt;/p&gt;&lt;p&gt;using the latest bits available thru my MSDN subscription.
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;I installed &lt;strong&gt;Windows 2003 Server R2, with Service Pack 2&lt;/strong&gt;, 
&lt;/p&gt;&lt;p&gt;ran &lt;strong&gt;Windows Update&lt;/strong&gt; to get the latest updates
&lt;/p&gt;&lt;p&gt;then configured my server to be an &lt;strong&gt;Application server&lt;/strong&gt;,
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;Click &amp;quot;Enable ASP.NET&amp;quot;
&lt;/p&gt;&lt;p&gt;Then tried to install  &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=EF93E453-75F1-45DF-8C6F-4565E8549C2A&amp;amp;displaylang=en"&gt;&lt;strong&gt;Windows SharePoint Services v3 with Service Pack 1 (slipstream)&lt;/strong&gt;&lt;/a&gt;
	&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;This installer complained that I didn&amp;#39;t have ASP.NET 2.0 installed.
&lt;/p&gt;&lt;p&gt;A quick check of IIS Manager, web service extensions and sure enough
&lt;/p&gt;&lt;p&gt; ASP.NET v2.0.50727 was listed not there.
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt; A quick command:
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;&lt;span style="color:red;"&gt;C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Aspnet_regiis.exe -i
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;installs ASP.NET 2.0 on the machine and then &lt;a href="http://www.microsoft.com/downloads/details.aspx?familyid=EF93E453-75F1-45DF-8C6F-4565E8549C2A&amp;amp;displaylang=en"&gt;&lt;strong&gt;Windows SharePoint Services v3 with Service Pack 1 (slipstream)&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;
		&lt;/strong&gt;installed properly.
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=10324" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/gsj61neGAUI" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/12/27/wssv3sp1-install-quot-this-product-requires-asp-net-v2-0-quot-error.aspx</feedburner:origLink></item><item><title>Bizarre CHM file bug</title><link>http://feedproxy.google.com/~r/tchmiel/~3/x7WDeGgWN6A/bizarre-chm-file-bug.aspx</link><pubDate>Thu, 13 Dec 2007 02:20:23 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:9799</guid><dc:creator>tchmiel</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=9799</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/12/12/bizarre-chm-file-bug.aspx#comments</comments><description>&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Background
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;For the last several months, I have not been able to open .chm files that I copied down to my local box.  Not sure exactly when it started happening, but my guess is after a windows update in the last couple of months.   I am familiar of the changes to the .chm file behavior in XP SP2, (security update 896358 or Windows Server 2003 Service Pack 1)  as described in &lt;a href="http://support.microsoft.com/default.aspx/kb/902225"&gt;KB 90225&lt;/a&gt;.  Didn&amp;#39;t see to be related to this.
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;When I would click on the file and tried to open it, I would get the HTML Help window up and a File Download - Security Warning dialog asking me to Open, Save, or Cancel.
&lt;/p&gt;&lt;p&gt;If I click Open,  
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;I get a File Download dialog, then it goesback to the HTML Help and File
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;Download -Security Warning dialogs. An infinite loop.
&lt;/p&gt;&lt;p&gt;If I Click Save, 
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;I get the standard Save As dialog, and I save to another
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;location and try to open it there, I get the infinite loop above again.
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;No one else was seeing it in the office, then I narrowed the problem down as it looked as if it followed me around with my AD account.  If I logged on to any other machine, I could not open at .chm files.  All other users w/ accounts on the machine could as long as they were not in any of my directories.  Happens on XP and Vista Operating Systems.  
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;Finally, it dawned on me.  My domain account is Domain\Tom.Chmielenski,    notice the .chm characters.  Tried my wife&amp;#39;s account.  Wha La!  She has the same Problem.  With the help of my colleague, Jason, we were are able to narrow the problem down to a simple problem.   The problem has been sent to Microsoft. 
&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Summary of the problem
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;&lt;span style="color:#4f81bd;"&gt;&lt;strong&gt;.CHM files can not be opened if the filepath includes the [.chm] characters within it.&lt;span style="font-size:12pt;"&gt;
				&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Very easy to reproduce the problem
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;div&gt;&lt;span style="color:maroon;"&gt;    Make a directory &lt;span style="font-family:Consolas;"&gt;C:\TEST_CHM&lt;/span&gt;, &lt;span style="font-size:12pt;"&gt;
					&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;p style="margin-left:27pt;"&gt;&lt;span style="color:maroon;"&gt;[Syntax is TEST {UnderScore} CHM]
&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:maroon;"&gt;    Copy any .chm file to this new directory.
&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color:maroon;"&gt;    Launch the .chm file (it will work fine)
&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;span style="color:maroon;"&gt;    Rename &lt;span style="font-family:Consolas;"&gt;c:\TEST_CHM&lt;/span&gt; to be c:\TEST.CHM 
&lt;/span&gt;&lt;/div&gt;&lt;p style="margin-left:27pt;"&gt;&lt;span style="color:maroon;"&gt;&amp;lt;!-- Syntax is TEST {Period} CHM] --&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;div&gt;&lt;span style="color:maroon;"&gt;    Try to open the .chm file. (it causes an infinite loop).
&lt;/span&gt;&lt;/div&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;&lt;strong&gt;Workaround
&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;Copy the .chm file to a different directory where the .chm is not in the path.
&lt;/p&gt;&lt;p style="margin-left:27pt;"&gt; 
 &lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=9799" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/x7WDeGgWN6A" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/12/12/bizarre-chm-file-bug.aspx</feedburner:origLink></item><item><title>Custom Content Types with Custom Icons</title><link>http://feedproxy.google.com/~r/tchmiel/~3/28Sjrkddg_w/custom-content-types-with-custom-icons.aspx</link><pubDate>Sat, 25 Aug 2007 03:51:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:4759</guid><dc:creator>tchmiel</dc:creator><slash:comments>8</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=4759</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/08/24/custom-content-types-with-custom-icons.aspx#comments</comments><description>&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;We found an interesting problem with associating a custom icon with our file format to a custom Content Type. Let me try to explain. &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&lt;span style="FONT-FAMILY:Arial;"&gt;Suppose we have a file format with a .tjc extension. (.tjc is just a made up file extension as an example) &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;If we upload a sample file, &amp;quot;sample.tjc&amp;quot;, to a standard team site, the document is shown with a generic icon, which is defined by the default mapping element inside of 12Hive\Template\XML\Docicon.XML. This happens because we did not specify a file extension mapping for the .tjc file extension in the docicon.xml file &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;DocIcons&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;... &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;Default&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;Mapping Value=&amp;quot;&lt;span style="COLOR:red;"&gt;icgen.gif&lt;/span&gt;&amp;quot;/&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;/Default&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:50pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;/DocIcons&amp;gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct1.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct1.jpg" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;To associate the &amp;quot;TJC&amp;quot; file extension with a custom icon, we add the following line to the DOCICON.XML file, and perform an iisreset. &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;&amp;lt;Mapping Key=&amp;quot;&lt;span style="COLOR:red;"&gt;tjc&lt;/span&gt;&amp;quot; Value=&amp;quot;&lt;span style="COLOR:red;"&gt;ictjc.gif&lt;/span&gt;&amp;quot; EditText=&amp;quot;My Custom Document Editor&amp;quot; &lt;br /&gt;OpenControl=&amp;quot;MyCustomEditor.OpenDocuments&amp;quot; /&amp;gt;&lt;/span&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct2.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct2.jpg" alt="" /&gt;&lt;/a&gt;Simple. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;But what if we want to associate this icon with a custom type? &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;We start by creating a New Content Type: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct3.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct3.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;Upload a .tjc file as the new document template: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct4.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct4.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;Under the Settings -&amp;gt;Document Library Settings--&amp;gt; Advanced Settings for my document library, and toggle on the Content Types -- Allow management of content types: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct5.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct5.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;Then back on Document Library Settings page, I can add my custom Content Type, but clicking &amp;quot;Add from existing site content types: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct6.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct6.jpg" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;And my custom Content type now appears in the list and should be visible on the new button. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct7.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct7.jpg" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct8.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct8.jpg" alt="" /&gt;&lt;/a&gt;But no icon appears: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;The reason is the SharePoint code is looking for a larger version of the associated docicon.xml icon, and assumes that it similar names as the similar icon, but has a prepended &amp;quot;lg_&amp;quot; in front of it. In this example, it is looking for the file &amp;quot;lg_ictjc.gif&amp;quot;. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;Thus, we create a larger version of the icon, &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;and prepend the filename with &amp;quot;lg_&amp;quot; , &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;add it to the 12Hive\Template\images directory, &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;refresh your web browser, &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;And the custom icon will then appear. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&amp;nbsp;&amp;nbsp;&lt;a href="http://sharepointblogs.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct9.jpg"&gt;&lt;img border="0" src="http://sharepointblogs.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/tchmiel/cct9.jpg" alt="" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:23pt;"&gt;&lt;strong&gt;Couple of other notes:&lt;/strong&gt; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;I f one use a custom Office document as your Content Type, it will just work without any modifications because both the small version and the large version of the icons already appear in the 12Hive\Template\Images directory. &lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;The size of the small icon is 16x16 pixels, 96x96 resolution and 8 bit color depth. &lt;/li&gt;
&lt;li&gt;The large icon should be 32 x32 pixels, 96x96 resolution and 8 bit color depth. &lt;/li&gt;
&lt;li&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;If your small images are stored in a subfolder below images like this:&lt;/span&gt; &lt;/li&gt;
&lt;/ol&gt;
&lt;p style="MARGIN-LEFT:27pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;12Hive\Template\Images\&lt;strong&gt;MyCompany\ictjc.gif&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="FONT-FAMILY:Arial;"&gt;You will need to create an equivalent subfolder with a prepended &amp;quot;lg_&amp;quot; rather than the image filename itself: &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:27pt;"&gt;&lt;span style="FONT-FAMILY:Consolas;"&gt;12Hive\Template\Images\&lt;strong&gt;lg_MyCompany\ictjc.gif&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:54pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;More about the docicon.xml &amp;nbsp;file, can be found here:&lt;/span&gt; &lt;/p&gt;
&lt;p style="MARGIN-LEFT:27pt;"&gt;&lt;a href="http://msdn2.microsoft.com/en-us/library/ms463701.aspx"&gt;http://msdn2.microsoft.com/en-us/library/ms463701.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p style="MARGIN-LEFT:54pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Hope this helps someone.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Arial;"&gt;Tom&amp;nbsp;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=4759" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/28Sjrkddg_w" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/08/24/custom-content-types-with-custom-icons.aspx</feedburner:origLink></item><item><title>How to upgrade a custom wssv2 site definition to wssv3 default team site</title><link>http://feedproxy.google.com/~r/tchmiel/~3/nPUjKNowzQ4/how-to-upgrade-a-wssv2-site-definition-to-wssv3-default-team-site.aspx</link><pubDate>Mon, 30 Jul 2007 03:16:00 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:3724</guid><dc:creator>tchmiel</dc:creator><slash:comments>11</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=3724</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/07/29/how-to-upgrade-a-wssv2-site-definition-to-wssv3-default-team-site.aspx#comments</comments><description>&lt;p style="MARGIN-LEFT:22pt;"&gt;In wssV2, we had created a simple custom site definition which was based on the default STS team site. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;We changed the site id, the watermark on the Quick Launch and add a custom Server Control. This custom Server Control was just a modified version of the MiniNavigator Server Control described in Nigel Bridport&amp;#39;s blog &lt;a href="http://blogs.msdn.com/nigelbridport/archive/2004/11/18/265762.aspx"&gt;here&lt;/a&gt;. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;However in wssV3, site navigation is available for free and thus, we wanted to obsolete our custom site definition in favor of reverting back to a standard team site, avoiding the maintenance of our custom site definition going forward. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;If one looks at the upgrade definition file syntax for wssv2 to wssv3, there is no way to map from one site id in wssv2 to a different wssv3 site id. &lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;To workaround this limitation: &lt;/p&gt;
&lt;p style="MARGIN-LEFT:22pt;"&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;In wssv2, we reverted the site definition template ids from our custom number back to the standard site template id of &amp;quot;1&amp;quot;, by following the steps in Jeff Holiday&amp;#39;s &lt;/div&gt;
&lt;p&gt;&lt;a href="http://www.sharepointblogs.com/holliday/archive/2007/06/19/changing-custom-site-definition-template-ids-sharepoint-2003.aspx"&gt;&lt;strong&gt;Changing Custom Site Definition Template IDs - SharePoint 2003&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt; &lt;/strong&gt;blog post. &lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;But before you try this, let me reiterate Jeff&amp;#39;s warnings first: &lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Franklin Gothic Book;"&gt;&amp;quot;Always make sure to backup all databases and files prior to making any changes. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:Franklin Gothic Book;"&gt;&lt;em&gt;NOTE: Microsoft does not support editing SharePoint SQL tables directly…&amp;quot; &lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;After step 1, our site home page became corrupted. Following the &amp;quot;How to restore a corrupted Windows SharePoint Services&amp;quot; topic in the following the Microsoft knowledge base article, &lt;/div&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/832811"&gt;&lt;span style="FONT-FAMILY:Verdana;"&gt;KB:832811 - Restore a corrupted Windows SharePoint Services home page&lt;/span&gt;&lt;/a&gt;, &lt;/p&gt;
&lt;p&gt;Our wssv2 site was now based on the STS team site definition. &lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;We were then able to upgrade our wssv2 sites to wssv3 sites using the standard wssv2 to wssv3 upgrade process. And we no longer have a dependency on our old wssv2 site definition. &lt;/div&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our custom site definition wasn&amp;#39;t heavy customized, buy your mileage my vary. &lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Tom &lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:#1f497d;"&gt;&amp;nbsp; &lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=3724" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/nPUjKNowzQ4" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/07/29/how-to-upgrade-a-wssv2-site-definition-to-wssv3-default-team-site.aspx</feedburner:origLink></item><item><title>FPRPC Call: How to determine if server is 2003 or 2007 </title><link>http://feedproxy.google.com/~r/tchmiel/~3/HI1ltWZoC_g/fprpc-call-how-to-determine-if-server-is-2003-or-2007.aspx</link><pubDate>Mon, 16 Jul 2007 17:11:55 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:2995</guid><dc:creator>tchmiel</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=2995</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/07/16/fprpc-call-how-to-determine-if-server-is-2003-or-2007.aspx#comments</comments><description>&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;To programmatically determine if you are connecting to a server running wssv2 or wssv3 via a FPRPC call, use the &lt;a href="http://msdn2.microsoft.com/en-us/library/ms460198.aspx"&gt;server version&lt;/a&gt;&lt;span style="color:#1f497d;"&gt; RPC.  &lt;/span&gt;
	&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;If the major version is 6, then it&amp;#39;s WSS v2.  
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;If the major version is 12, then it&amp;#39;s WSS v3.
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;=====================
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;GET /_vti_bin/shtml.dll/_vti_rpc HTTP/1.1
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;X-Vermeer-Content-Type: application/x-www-form-urlencoded
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Host: troys1
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Accept: */*
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Content-Length:21
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Connection: Keep-Alive
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;method=server+version
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;HTTP/1.1 200 OK
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Connection: close
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Date: Thu, 25 Jan 2007 22:47:57 GM3
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Server: Microsoft-IIS/6.0
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;X-Powered-By: ASP.NET
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;MicrosoftSharePointTeamServices: 12.0.0.4518
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Content-type: text/html; charset=utf-8
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;Set-Cookie: WSS_KeepSessionAuthenticated=80; path=/
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;vermeer RPC packet&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;body&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;p&amp;gt;method=server version
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;p&amp;gt;server version=
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;ul&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;li&amp;gt;major ver=12
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;li&amp;gt;minor ver=0
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;li&amp;gt;phase ver=0
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;li&amp;gt;ver incr=4518
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;/ul&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;/body&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#1f497d;"&gt;&amp;lt;/html&amp;gt;
&lt;/span&gt;&lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;p&gt; 
 &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=2995" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/HI1ltWZoC_g" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/07/16/fprpc-call-how-to-determine-if-server-is-2003-or-2007.aspx</feedburner:origLink></item><item><title>Starting Point for OpenDocuments ActiveX Control</title><link>http://feedproxy.google.com/~r/tchmiel/~3/Qnmo6a39yKw/starting-point-for-opendocuments-activex-control.aspx</link><pubDate>Thu, 31 May 2007 07:55:23 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:1822</guid><dc:creator>tchmiel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=1822</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/05/31/starting-point-for-opendocuments-activex-control.aspx#comments</comments><description>&lt;p&gt;Here is some reference material available for the OpenDocuments ActiveX control  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;Here is the &lt;a href="http://msdn2.microsoft.com/en-us/library/ms454230.aspx"&gt;OpenDocuments ActiveX Control&lt;/a&gt; documentation available on msdn, which was barely updated for wssv3, see my comments under Community Content.  This &lt;a href="http://msdn2.microsoft.com/en-us/library/ms868275.aspx"&gt;documentation&lt;/a&gt; explains how to connect your OpenDocuments Control to SharePoint.  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;&lt;strong&gt;For wss v2,&lt;/strong&gt; there was the &lt;a href="http://www.gotdotnet.com/workspaces/workspace.aspx?id=a4cc28b4-e626-4d0c-beb0-4c94d5bef88b"&gt;&lt;span style="color:#333333;"&gt;&lt;strong&gt;SharePad Reference Application for SharePoint Products and Technologies&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt; which Mike Fitzmaurice [MSFT] talked about it &lt;a href="http://blogs.msdn.com/mikefitz/archive/2005/05/30/423276.aspx"&gt;here&lt;/a&gt;.  It is on GotDotNet which is currently being phased out, so this link may break in the near future.  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;&lt;strong&gt;But for wss v3, &lt;/strong&gt;this application was not been updated.  Not sure why.  One would think that Microsoft would want third parties to integrate these files w/ the SharePoint environment, especially moving forward with SharePoint 2007.  &lt;/p&gt;&lt;p style="margin-left:27pt;"&gt;    &lt;/p&gt;&lt;p&gt;--Tom  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=28126" width="1" height="1" alt="" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1822" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/Qnmo6a39yKw" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/05/31/starting-point-for-opendocuments-activex-control.aspx</feedburner:origLink></item><item><title>Part of the Revolution</title><link>http://feedproxy.google.com/~r/tchmiel/~3/xMQGKkETXaw/part-of-the-revolution.aspx</link><pubDate>Thu, 31 May 2007 07:30:20 GMT</pubDate><guid isPermaLink="false">1f6a1193-f4bb-4480-a5ae-b538d8b20f46:1823</guid><dc:creator>tchmiel</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://www.sharepointblogs.com/tchmiel/rsscomments.aspx?PostID=1823</wfw:commentRss><comments>http://www.sharepointblogs.com/tchmiel/archive/2007/05/31/part-of-the-revolution.aspx#comments</comments><description>&lt;p&gt;Okay,  I confess that I have been thinking about blogging now for some time, but like everyone I have my excuses.  &lt;a href="http://blogs.msdn.com/joelo"&gt;Joel Oleson&lt;/a&gt; has convinced me now that I should be part of the &lt;a href="http://blogs.msdn.com/joelo/archive/2007/05/25/you-don-t-blog-i-m-suffering-because-you-don-t-blog.aspx"&gt;SharePoint Blogging Revolution&lt;/a&gt;.  So  I am in.  Reading and searching SharePoint blogs have become an almost daily part of my everyday life, and have proven to me to be extremely useful in my team&amp;#39;s development on top of the SharePoint platform.   &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;A little about me.  My name is Tom Chmielenski  (had to shorten the blog name, if I wanted any visitors) and I currently work for &lt;a href="http://www.bentley.com"&gt;Bentley Systems, Inc&lt;/a&gt;  (we develop software for the world&amp;#39;s infrastructure.).   I am the senior technical lead on a product called &lt;a href="http://www.bentley.com/en-US/Products/ProjectWise+StartPoint/Resource+Center.htm"&gt;ProjectWise StartPoint&lt;/a&gt;  (this product integrates CAD files (.dgn and .dwg file formats) with the SharePoint platform.).  Thus, our integration relies heavy on the &lt;a href="http://msdn2.microsoft.com/en-us/library/ms454230.aspx"&gt;OpenDocuments ActiveX Control&lt;/a&gt;  to accomplish this integration.  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;But to date, I haven&amp;#39;t heard people talk much about the use of this control with SharePoint 2007 nor have I heard from other third party vendors who want to integrate their file formats to play nicely in the SharePoint environment.  Therefore, the goal for me here in this blog  is to share what my team has learned (mostly the hard way) in this area.  Maybe some day you can help my team out along the way as well.  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;Before I go farther, let me state the normal disclaimer applies to all postings on my blog:  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;The information in this weblog is provided &amp;quot;AS IS&amp;quot; with no warranties, and confers no rights. This weblog does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion. Inappropriate comments will be deleted at the authors discretion. All code samples are provided &amp;quot;AS IS&amp;quot; without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.   In addition, nor do my opinions do not reflect those of my blog host, SharePoint Experts.  &lt;/p&gt;&lt;p&gt;    &lt;/p&gt;&lt;p&gt;--Tom  &lt;/p&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=28123" width="1" height="1" alt="" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://www.sharepointblogs.com/aggbug.aspx?PostID=1823" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/tchmiel/~4/xMQGKkETXaw" height="1" width="1"/&gt;</description><feedburner:origLink>http://www.sharepointblogs.com/tchmiel/archive/2007/05/31/part-of-the-revolution.aspx</feedburner:origLink></item></channel></rss>
