<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/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>Martin Vollmer`s Blog : Tips &amp;amp; Tricks</title><link>http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx</link><description>Tags: Tips &amp;amp; Tricks</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Missing Performance Counters</title><link>http://blogs.msdn.com/martinv/archive/2008/11/18/missing-performance-counters.aspx</link><pubDate>Tue, 18 Nov 2008 13:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9117865</guid><dc:creator>martinv</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/martinv/comments/9117865.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=9117865</wfw:commentRss><description>&lt;P&gt;A few days ago, I noticed that most of the usual performance counters were not available in perfmon. When I started perfmon and selected "Performance Monitor" in the TreeView on the left hand side I got an Error Message "Cannot initialize MMC Snap-In". But If I clicked on the same item the second time it works, but then I tried to use some of the standard performance counters like Processor, Logical Disk or Memory, they were missing in the List. Also all .NET and SQL performance counters were not available. Even a system reboot (Windows Vista SP1) did not bring back the standard performance counters.&lt;/P&gt;
&lt;P&gt;After some more investigation I found the following knowledge base article:&lt;/P&gt;
&lt;H3&gt;&lt;A class="" title="How to manually rebuild Performance Counter Library values. " href="http://support.microsoft.com/kb/300956" mce_href="http://support.microsoft.com/kb/300956 "&gt;How to manually rebuild Performance Counter Library values. &lt;BR&gt;&lt;/A&gt;Article ID: (KB)300956&lt;/H3&gt;
&lt;P&gt;This article is originally related to Windows Server 2003 and Windows 2000, but I tried the part which is listed under Rebuilding all Performance Counters worked for me. Just open a Command Prompt running under administrator rights and do the following:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:&amp;gt; cd windows\system32&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size=2&gt;C:\Windows\System32&amp;gt; &lt;STRONG&gt;lodctr /R&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;After that all Performance Counters were available again!&lt;/P&gt;
&lt;P&gt;Hope this helps anybody else too&lt;/P&gt;
&lt;P&gt;Martin&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9117865" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/perfmon/default.aspx">perfmon</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Performance+Counter/default.aspx">Performance Counter</category></item><item><title>Remote Sharepoint Development (WebParts) with Visual Studio 2008 and VSeWSS 1.2!</title><link>http://blogs.msdn.com/martinv/archive/2008/10/29/remote-sharepoint-development-webparts-with-visual-studio-2008-and-vsewss-1-2.aspx</link><pubDate>Wed, 29 Oct 2008 19:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9022510</guid><dc:creator>martinv</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/martinv/comments/9022510.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=9022510</wfw:commentRss><description>
&lt;STYLE type=text/css&gt;.normal {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Warning {
	FONT-WEIGHT: bold; FONT-SIZE: x-large; VERTICAL-ALIGN: baseline; COLOR: #ff0000; FONT-FAMILY: Arial; TEXT-ALIGN: center
}
.heading {
	FONT-SIZE: large; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Source {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; BACKGROUND-COLOR: #c0c0c0; TEXT-ALIGN: left
}
.Command {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; TEXT-ALIGN: left
}
.style1 {
	BACKGROUND-COLOR: #c0c0c0;
	TEXT-ALIGN: left;
}
&lt;/STYLE&gt;

&lt;P class=normal&gt;Several people already contacted me, asking for the "hack" to develop Sharepoint stuff like Webparts remotely on &lt;SPAN lang=de&gt;Vista or Windows XP&lt;/SPAN&gt; with the newer version of VSeWSS 1.2 (Visual Studio Extensions for Windows Sharepoint Services&lt;SPAN lang=de&gt;)&lt;/SPAN&gt;. I didn't had the time to reverse engineer the new installer and so I was really happy, when I received a mail yesterday, that somebody else has done the work for us. &lt;STRONG&gt;Many &lt;/STRONG&gt;&lt;SPAN lang=de&gt;&lt;STRONG&gt;t&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;hanks to Mike Valentine from Cleveland, Ohio for doing the dirty work :-).&lt;/STRONG&gt; He asked me, whether I will post the new hack for VS 2008 and WVeWSS 1.2 &lt;SPAN lang=de&gt;and so here it comes&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=normal&gt;&lt;SPAN lang=de&gt;The Copy Jobs are the same as described in my former blog posts. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=normal&gt;Locate the Sharepoint Templates installed on the server environment and copy them to your Workstation User Templates. &lt;BR&gt;You have to navigate to: “C:\Program Files\Microsoft Visual Studio &lt;SPAN lang=de&gt;9&lt;/SPAN&gt;\Common7\IDE\ProjectTemplates\CSharp” and copy the whole Sharepoint Directory to your user Templates Folder on your Workstation. The Path is normally: “C:\Users\&lt;USERNAME&gt;\Documents\Visual Studio 200&lt;SPAN lang=de&gt;8&lt;/SPAN&gt;\Templates\ProjectTemplates\Visual C#”. &lt;BR&gt;If you want to develop in VB.NET do the same for the Sharepoint Folder in: “C:\Program Files\Microsoft Visual Studio &lt;SPAN lang=de&gt;9&lt;/SPAN&gt;\Common7\IDE\ProjectTemplates\VisualBasic” And copy it to: “C:\Users\&lt;USERNAME&gt;\Documents\Visual Studio 200&lt;SPAN lang=de&gt;8&lt;/SPAN&gt;\Templates\ProjectTemplates\Visual Basic” &lt;BR&gt;Do the same for the Sharepoint Folders in the ItemTemplates Directory. There is only one for CSharp. Navigate to: “C:\Program Files\Microsoft Visual Studio &lt;SPAN lang=de&gt;9&lt;/SPAN&gt;\Common7\IDE\ItemTemplates\CSharp” And copy the Sharepoint Folder to: “C:\Users\&lt;USERNAME&gt;\Documents\Visual Studio 200&lt;SPAN lang=de&gt;8&lt;/SPAN&gt;\Templates\ItemTemplates\Visual C#” &lt;BR&gt;Copy the complete Folder “Microsoft Sharepoint Developer Tools”, which can be found in “C:\Program Files” on the Server or VPC to your Workstation machine in the same location. &lt;/P&gt;
&lt;P class=normal&gt;&lt;SPAN lang=de&gt;And here is the new reg file, just copy the whole stuff into notepad and save it as "vs2008wss.reg" for example. and doubleclick the file to wrtite the Entries into the Registry.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=normal&gt;&lt;SPAN lang=de&gt;Mike wrote me, that the installer is calling "devenv /setup" after writing the Registry Entries. We don't know, whether this is necessary. I also did so and it works.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=Source&gt;&lt;SPAN class=Source&gt;Windows Registry Editor Version 5.00&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\NewProjectTemplates\TemplateDirs\{f120f40f-f543-4d15-8bbb-4f4b174c6a23}]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\NewProjectTemplates\TemplateDirs\{f120f40f-f543-4d15-8bbb-4f4b174c6a23}\/1]&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;TemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\package 1.2"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;SortPriority"=dword:00000064&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{aa9054f9-fbd5-405d-9c31-9f544db39238}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.VisualBasicSPProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.VisualBasicSPProject"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\package 1.2\\VSeWSS.dll"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{f120f40f-f543-4d15-8bbb-4f4b174c6a23}]&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ProductName"="Visual Studio extensions for Windows SharePoint Services 1.2"&lt;BR&gt;"ID"=dword:00000064&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtPackage, VSeWSS, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;CompanyName"="Microsoft"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;MinEdition"="Standard"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ProductVersion"="12.0002.0000.0000"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\package 1.2\\VSeWSS.dll"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtPackage"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{f120f40f-f543-4d15-8bbb-4f4b174c6a23}\SatelliteDll]&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;DllName"="VSeWSSUI.dll"&lt;BR&gt;"Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\package 1.2\\"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{593b0543-81f6-4436-ba1e-4747859caae2}]&lt;BR&gt;@="CSharpSPProjectFactory"&lt;BR&gt;"DisplayName"=""&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;DefaultProjectExtension"="csproj"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;DisplayProjectFileExtensions"="SharePoint Project Files (*.csproj);*.csproj"&lt;BR&gt;"Language(VsTemplate)"="CSharp"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Package"="{f120f40f-f543-4d15-8bbb-4f4b174c6a23}"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;PossibleProjectExtensions"="csproj"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ProjectTemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\pacakge 1.2"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ShowOnlySpecifiedTemplates(VsTemplate)"=dword:00000000&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;TemplateGroupIDs(VsTemplate)"="SharePointItemTemplateGroupID"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;TemplateIDs(VsTemplate)"="ContentType,EventReceiver,FieldControl,ListDefinition,ListDefinitionFromContentType,ListInstance,Module,Template,WebPart"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{3c457a27-5d8e-4fab-b1de-c18682146452}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.CSharpSPProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.CSharpSPProject"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\package 1.2\\VSeWSS.dll"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{ec05e597-79d4-47f3-ada0-324c4f7c7484}]&lt;BR&gt;@="VisualBasicSPProjectFactory"&lt;BR&gt;"DisplayName"=""&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;DisplayProjectFileExtensions"="SharePoint Project Files (*.vbproj);*.vbproj"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Package"="{f120f40f-f543-4d15-8bbb-4f4b174c6a23}"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;DefaultProjectExtension"="vbproj"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;PossibleProjectExtensions"="vbproj"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ProjectTemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0\\pacakge 1.2"&lt;BR&gt;"Language(VsTemplate)"="VisualBasic"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;ShowOnlySpecifiedTemplates(VsTemplate)"="0"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;TemplateGroupIDs(VsTemplate)"="SharePointItemTemplateGroupID"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;TemplateIDs(VsTemplate)"="ContentType,EventReceiver,FieldControl,ListDefinition,ListDefinitionFromContentType,ListInstance,Module,Template,WebPart"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\ToolWindows\{b8772634-ac0a-4afc-ad74-e655d9ecef02}]&lt;BR&gt;"Name"="Microsoft.SharePoint.Tools.Forms.SPToolWindow"&lt;BR&gt;@="{f120f40f-f543-4d15-8bbb-4f4b174c6a23}"&lt;BR&gt;"Style"="Tabbed"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Window"="{3ae79031-e1bc-11d0-8f78-00a0c9110057}"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\InstalledProducts\SdtPackage]&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Package"="{f120f40f-f543-4d15-8bbb-4f4b174c6a23}"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;UseInterface"=dword:00000001&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Menus]&lt;BR&gt;"{f120f40f-f543-4d15-8bbb-4f4b174c6a23}"=",1000,1"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SharePoint Developer Tools 9.0]&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;VSTemplates Install Path"="C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE\\ProjectTemplates\\CSharp\\SharePoint"&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Installed Language"=""&lt;BR&gt;&lt;/SPAN&gt;"&lt;SPAN class=Source&gt;Install Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools 9.0"&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P class=Warning mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=Warning&gt;&lt;STRONG&gt;&amp;nbsp;!! Absolutely no warranties, use at your own risk !!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;That’s it! Hope this procedure&amp;nbsp;is helpful to others, who want to develop Web Parts for MOSS 2007 now with Visual Studio 2008&lt;SPAN lang=de&gt; and the newer Visual Studio Extensions for Windows Sharepoint Services, VSeWSS 1.2&lt;/SPAN&gt;&lt;BR&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9022510" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2008/default.aspx">VS 2008</category><category domain="http://blogs.msdn.com/martinv/archive/tags/WebParts/default.aspx">WebParts</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Sharepoint/default.aspx">Sharepoint</category></item><item><title>New Registry File for Developing MOSS2007 Projects in a Workstation (XP or Vista)</title><link>http://blogs.msdn.com/martinv/archive/2008/03/19/new-registry-file-for-developing-moss2007-projects-in-a-workstation-xp-or-vista.aspx</link><pubDate>Wed, 19 Mar 2008 18:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8325872</guid><dc:creator>martinv</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/martinv/comments/8325872.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=8325872</wfw:commentRss><description>
&lt;STYLE type=text/css&gt;.normal {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Warning {
	FONT-WEIGHT: bold; FONT-SIZE: x-large; VERTICAL-ALIGN: baseline; COLOR: #ff0000; FONT-FAMILY: Arial; TEXT-ALIGN: center
}
.heading {
	FONT-SIZE: large; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Source {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; BACKGROUND-COLOR: #c0c0c0; TEXT-ALIGN: left
}
.Command {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; TEXT-ALIGN: left
}
&lt;/STYLE&gt;

&lt;P class=normal&gt;Now that the new &lt;A class="" title="Windows SharePoint Services 3.0 Tools: Visual Studio 2005 Extensions, Version 1.1" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyId=3E1DCCCD-1CCA-433A-BB4D-97B96BF7AB63&amp;amp;displaylang=en"&gt;VSeWSS1.1.EXE&lt;/A&gt; is released it is time to update the infos on my blog. The steps are basically the same as desribed in my former blog posts regarding VSeWSS.EXE. &lt;/P&gt;
&lt;P class=normal&gt;First of all you have to install VSeWSS1.1.exe on a Sharepoint Server 2007 machine or image. Then you have access to all the files, that you have to copy to your Workstation. &lt;/P&gt;
&lt;P class=normal&gt;1. Locate the Sharepoint Templates installed on the server environment and copy them to your Workstation User Templates. You have to navigate to:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp” &lt;BR&gt;and copy the whole Sharepoint Directory to your user Templates Folder on your Workstation. The Path is normally: &lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#”. &lt;BR&gt;If you want to develop in VB.NET do the same for the Sharepoint Folder in:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic” &lt;BR&gt;And copy it to:&lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Basic”&lt;BR&gt;Do the same for the Sharepoint Folders in the ItemTemplates Directory. There is only one for CSharp. Navigate to:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp”&lt;BR&gt;And copy the Sharepoint Folder to:&lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#”&lt;BR&gt;2. Copy the complete Folder “Microsoft Sharepoint Developer Tools”, which can be found in “C:\Program Files” on the Server or VPC to your Workstation machine in the same location.&lt;/P&gt;
&lt;P class=normal&gt;3. In order to register the Projects, Packages and Templates on you Workstation machine you have to add several registry keys to your Registry. Here is the whole stuff, just copy and paste it in a text file and save it with a*.reg extension. Here are the Registry settings for VSeWSS1.1:&lt;/P&gt;
&lt;P class=Source&gt;Windows Registry Editor Version 5.00&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\CLSID]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\CLSID\{3c457a27-5d8e-4fab-b1de-c18682146452}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.CSharpSPProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.CSharpSPProject"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\VSeWSS.dll"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\CLSID\{aa9054f9-fbd5-405d-9c31-9f544db39238}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.VisualBasicSPProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.VisualBasicSPProject"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\VSeWSS.dll"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Projects\{593b0543-81f6-4436-ba1e-4747859caae2}]&lt;BR&gt;@="CSharpSPProjectFactory"&lt;BR&gt;"DisplayName"=""&lt;BR&gt;"DefaultProjectExtension"="csproj"&lt;BR&gt;"DisplayProjectFileExtensions"="SharePoint Project Files (*.csproj);*.csproj"&lt;BR&gt;"Language(VsTemplate)"="CSharp"&lt;BR&gt;"Package"="{e57322ed-c1f7-4ac5-955e-d790d474d39e}"&lt;BR&gt;"PossibleProjectExtensions"="csproj"&lt;BR&gt;"ProjectTemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;"ShowOnlySpecifiedTemplates(VsTemplate)"=dword:00000000&lt;BR&gt;"TemplateGroupIDs(VsTemplate)"="SharePointItemTemplateGroupID"&lt;BR&gt;"TemplateIDs(VsTemplate)"="ContentType,EventReceiver,FieldControl,ListDefinition,ListDefinitionFromContentType,ListInstance,Module,Template,WebPart"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Projects\{9e5d3e2d-e4e2-418e-8d80-2f0da9a94f9a}]&lt;BR&gt;@="SdtProjectFactory"&lt;BR&gt;"DisplayName"=""&lt;BR&gt;"DefaultProjectExtension"="csproj"&lt;BR&gt;"DisplayProjectFileExtensions"="SharePoint Project Files (*.csproj);*.csproj"&lt;BR&gt;"Package"="{bc426e8f-098f-47de-ad66-d11676c41c66}"&lt;BR&gt;"PossibleProjectExtensions"="csproj"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Projects\{ec05e597-79d4-47f3-ada0-324c4f7c7484}]&lt;BR&gt;@="VisualBasicSPProjectFactory"&lt;BR&gt;"DisplayName"=""&lt;BR&gt;"DisplayProjectFileExtensions"="SharePoint Project Files (*.vbproj);*.vbproj"&lt;BR&gt;"Package"="{e57322ed-c1f7-4ac5-955e-d790d474d39e}"&lt;BR&gt;"DefaultProjectExtension"="vbproj"&lt;BR&gt;"PossibleProjectExtensions"="vbproj"&lt;BR&gt;"ProjectTemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;"Language(VsTemplate)"="VisualBasic"&lt;BR&gt;"ShowOnlySpecifiedTemplates(VsTemplate)"="0"&lt;BR&gt;"TemplateGroupIDs(VsTemplate)"="SharePointItemTemplateGroupID"&lt;BR&gt;"TemplateIDs(VsTemplate)"="ContentType,EventReceiver,FieldControl,ListDefinition,ListDefinitionFromContentType,ListInstance,Module,Template,WebPart"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtPackage, SPDevTools, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"&lt;BR&gt;"ID"=dword:00000064&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtPackage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"CompanyName"="Microsoft"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"MinEdition"="Standard"&lt;BR&gt;"ProductName"="SharePoint Developer Tools"&lt;BR&gt;"ProductVersion"="12.0000.0000.0000"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}\SatelliteDll]&lt;BR&gt;"DllName"="SPDevTools.dll"&lt;BR&gt;"Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{e57322ed-c1f7-4ac5-955e-d790d474d39e}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtPackage, VSeWSS, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"&lt;BR&gt;"ID"=dword:00000064&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtPackage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\VSeWSS.dll"&lt;BR&gt;"CompanyName"="Microsoft"&lt;BR&gt;"InprocServer32"="C:\\WINDOWS\\system32\\mscoree.dll"&lt;BR&gt;"MinEdition"="Standard"&lt;BR&gt;"ProductName"="Visual Studio extensions for Windows SharePoint Services 1.1"&lt;BR&gt;"ProductVersion"="12.0001.0000.0000"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{e57322ed-c1f7-4ac5-955e-d790d474d39e}\SatelliteDll]&lt;BR&gt;"DllName"="VSeWSSUI.dll"&lt;BR&gt;"Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=normal&gt;If you want to use it with Visual Studio 2008 you have to replace "\8.0\" with "\9.0\" in the whole .reg File.&lt;/P&gt;
&lt;P class=normal&gt;If ypu want to use it with Visual Studio 2008 on the sharepoint server you have to replace "\WINDOWS\" with "\WINNT\"&lt;/P&gt;
&lt;P class=normal&gt;There was an anouncement taht the official support for Visual Studio 2008 will be published in June 2008. So my investigation is helpful until then.&lt;/P&gt;
&lt;P class=Warning&gt;!! Once again. No Warranties use at your own risk !!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8325872" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2005/default.aspx">VS 2005</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2008/default.aspx">VS 2008</category></item><item><title>Developing custom MOSS 2007 Sharepoint Workflows on a remote Workstation</title><link>http://blogs.msdn.com/martinv/archive/2008/01/21/developing-custom-moss-2007-sharepoint-workflows-on-a-remote-workstation.aspx</link><pubDate>Mon, 21 Jan 2008 15:57:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7183741</guid><dc:creator>martinv</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.msdn.com/martinv/comments/7183741.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=7183741</wfw:commentRss><description>
&lt;STYLE type=text/css&gt;.normal {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Warning {
	FONT-WEIGHT: bold; FONT-SIZE: x-large; VERTICAL-ALIGN: baseline; COLOR: #ff0000; FONT-FAMILY: Arial; TEXT-ALIGN: center
}
.heading {
	FONT-SIZE: large; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Source {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; BACKGROUND-COLOR: #c0c0c0; TEXT-ALIGN: left
}
.Command {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; TEXT-ALIGN: left
}
font{line-height:normal;}
*{line-height:130%;}
&lt;/STYLE&gt;

&lt;P class=normal&gt;Today I tried to do some Workflow Development for MOSS 2007 on my Vista machine (Workstation). After loading a sample Project I encountered the following Error in the Workflow Designer in Visual Studio:&lt;/P&gt;
&lt;P class=normal&gt;&lt;FONT color=#ff0000&gt;Could not load file or assembly 'Microsoft.SharePoint.WorkflowActions.intl, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. The system cannot find the file specified.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=normal&gt;&amp;nbsp;This DLL is located in the GAC on a MOSS Server 2007 Installation (Server or VPC). So in order to do the Developpment on a Workstation you have to copy two DLLs from your MOSS 2007 Server to your Workstation and add them to the GAC there. The only waay to copy the DLLs out of the GADC is by using the command line here is an example how to do this:&lt;/P&gt;
&lt;P class=Source&gt;&amp;gt; cd \WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint.WorkflowActions.intl\12.0.0.0__71e9bce111e9429c &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;gt; copy microsoft.sharepoint.WorkflowActions.intl.dll c:\ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR&gt;&amp;gt; cd \WINDOWS\assembly\GAC_MSIL\Microsoft.SharePoint.WorkflowActions.intl.resources\12.0.0.0__71e9bce111e9429c &lt;BR&gt;&amp;gt; copy microsoft.SharePoint.workflowactions.intl.resources.dll c:\&lt;/P&gt;
&lt;P class=Warning&gt;&lt;STRONG&gt;&amp;nbsp;!! Absolutely no warranties, use at your own risk !!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;That’s it! Hope this procedure&amp;nbsp;is helpful to others, who want to develop Workflows for MOSS 2007 now with Visual Studio 2005 or 2008 on a Workstation.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=normal&gt;Best Regards Martin&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7183741" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2005/default.aspx">VS 2005</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Visual+Studio/default.aspx">Visual Studio</category></item><item><title>Remote WebPart Development with Visual Studio 2008 for MOSS 2007</title><link>http://blogs.msdn.com/martinv/archive/2008/01/10/remote-webpart-development-with-visual-studio-2008-for-moss-2007.aspx</link><pubDate>Thu, 10 Jan 2008 17:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7057830</guid><dc:creator>martinv</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/martinv/comments/7057830.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=7057830</wfw:commentRss><description>
&lt;STYLE type=text/css&gt;.normal {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Warning {
	FONT-WEIGHT: bold; FONT-SIZE: x-large; VERTICAL-ALIGN: baseline; COLOR: #ff0000; FONT-FAMILY: Arial; TEXT-ALIGN: center
}
.heading {
	FONT-SIZE: large; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Source {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; BACKGROUND-COLOR: #c0c0c0; TEXT-ALIGN: left
}
.Command {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; TEXT-ALIGN: left
}
&lt;/STYLE&gt;

&lt;P class=normal&gt;Today the Visual Studio Extensions for WSS are not supported with VS 2008. So the official way to develop Sharepoint Projects like WebParts is that you still have to use Visual Studio 2005 for that purpose. You can install VS 2005 ans VS2008 on the same machine, but why do I have keep the older version of Visual Studio just for Sharepoint Development.Therefore I tried to apply the same procedure described in my previous post for Visual Studio 2005 to my installation of Visual Studio 2008. The only thing that must be changed is the *.reg file which now should look like this:&lt;/P&gt;
&lt;P class=Source&gt;Windows Registry Editor Version 5.00&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{041d4811-6ee8-4c3a-8981-ac53f22cf9cc}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtProject"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\CLSID\{c81fbc80-1a9b-4d76-81e4-bf729a27f9ac}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.Forms.DeployPropertyPage"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.Forms.DeployPropertyPage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtPackage, SPDevTools, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"&lt;BR&gt;"ID"=dword:00000064&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtPackage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"CompanyName"="Microsoft"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"MinEdition"="Standard"&lt;BR&gt;"ProductName"="SharePoint Developer Tools"&lt;BR&gt;"ProductVersion"="12.0000.0000.0000"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}\SatelliteDll]&lt;BR&gt;"DllName"="SPDevTools.dll"&lt;BR&gt;"Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Projects\{9e5d3e2d-e4e2-418e-8d80-2f0da9a94f9a}]&lt;BR&gt;"DisplayName"=""&lt;BR&gt;@="SdtProjectFactory"&lt;BR&gt;"DefaultProjectExtension"="csproj"&lt;BR&gt;"DisplayProjectFileExtensions"="SharePoint Project Files (*.csproj);*.csproj"&lt;BR&gt;"Package"="{bc426e8f-098f-47de-ad66-d11676c41c66}"&lt;BR&gt;"PossibleProjectExtensions"="csproj"&lt;BR&gt;&lt;BR&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\NewProjectTemplates\TemplateDirs\{bc426e8f-098f-47de-ad66-d11676c41c66}]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\NewProjectTemplates\TemplateDirs\{bc426e8f-098f-47de-ad66-d11676c41c66}\/1]&lt;BR&gt;@=""&lt;BR&gt;"SortPriority"=dword:00000064&lt;BR&gt;"TemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;/P&gt;
&lt;P class=Warning mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=Warning&gt;&lt;STRONG&gt;&amp;nbsp;!! Absolutely no warranties, use at your own risk !!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;That’s it! Hope this procedure&amp;nbsp;is helpful to others, who want to develop Web Parts for MOSS 2007 now with Visual Studio 2008.&lt;BR&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7057830" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2005/default.aspx">VS 2005</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Visual+Studio/default.aspx">Visual Studio</category><category domain="http://blogs.msdn.com/martinv/archive/tags/VS+2008/default.aspx">VS 2008</category></item><item><title>Remote WebPart Development for MOSS 2007</title><link>http://blogs.msdn.com/martinv/archive/2007/08/23/remote-webpart-development-for-moss-2007.aspx</link><pubDate>Thu, 23 Aug 2007 14:20:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4524731</guid><dc:creator>martinv</dc:creator><slash:comments>9</slash:comments><comments>http://blogs.msdn.com/martinv/comments/4524731.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=4524731</wfw:commentRss><description>
&lt;STYLE type=text/css&gt;.normal {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.Warning {
	FONT-WEIGHT: bold; FONT-SIZE: x-large; VERTICAL-ALIGN: baseline; COLOR: #ff0000; FONT-FAMILY: Arial; TEXT-ALIGN: center
}
.heading {
	FONT-SIZE: large; COLOR: #000000; FONT-FAMILY: Arial; TEXT-ALIGN: left
}
.style1 {
	TEXT-ALIGN: center
}
.Source {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; BACKGROUND-COLOR: #c0c0c0; TEXT-ALIGN: left
}
.Command {
	FONT-SIZE: small; COLOR: #000000; FONT-FAMILY: "Courier New", Courier, monospace; TEXT-ALIGN: left
}
&lt;/STYLE&gt;

&lt;P&gt;&lt;STRONG class=Warning&gt;!! Absolutely no warranties, use at your own risk !!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;I started to try the whole thing, because if you want to install the Windows SharePoint Services 3.0 Tools: &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&amp;amp;DisplayLang=en"&gt;Visual Studio 2005 Extensions&lt;/A&gt; on a Vista Machine it will fail:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=style1&gt;&lt;BR&gt;&lt;IMG src="http://blogs.msdn.com/photos/martinv/images/4522877/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=normal&gt;So it is not possible to install the extension on a developer workstation. The official way to develop MOSS 2007 WebParts is to work on a Windows Server 2003 with at least WSS 3.0 installed or to use a similar VPC environment. In the VPC case this means you need to have at least 2 GB of memory available, in order to spend 1 – 1.5 GB for the Sharepoint Server VPC. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=heading&gt;&lt;BR&gt;&lt;STRONG&gt;Setting up the Server or VPC Environment:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;1. First of all you need a Windows Server 2003 machine or VPC, where MOSS 2007 is installed. &lt;BR&gt;2. Install Visual Studio 2005 on the machine or VPC.&lt;BR&gt;3. Install all Updates from Windows Update including &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=BB4A75AB-E2D4-4C96-B39D-37BAF6B5B1DC&amp;amp;displaylang=en"&gt;Service Pack 1 for Team Suite&lt;/A&gt; or &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7b0b0339-613a-46e6-ab4d-080d4d4a8c4e&amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=7b0b0339-613a-46e6-ab4d-080d4d4a8c4e&amp;amp;DisplayLang=en"&gt;Service Pack 1 for Express Editions&lt;/A&gt;. If you run on Vista install the &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=90e2942d-3ad1-4873-a2ee-4acc0aace5b6&amp;amp;displaylang=en"&gt;Service Pack 1 Update for Vista&lt;/A&gt;&lt;BR&gt;4. Install &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=05E0DD12-8394-402B-8936-A07FE8AFAFFD&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=05E0DD12-8394-402B-8936-A07FE8AFAFFD&amp;amp;displaylang=en"&gt;WSS SDK&lt;/A&gt;, &lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=6D94E307-67D9-41AC-B2D6-0074D6286FA9&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=6D94E307-67D9-41AC-B2D6-0074D6286FA9&amp;amp;displaylang=en"&gt;Office Server SDK&lt;/A&gt; and &lt;A class="" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&amp;amp;amp;DisplayLang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=19f21e5e-b715-4f0c-b959-8c6dcbdc1057&amp;amp;amp;DisplayLang=en"&gt;Visual Studio 2005 Extensions&lt;/A&gt;.&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=heading&gt;&lt;STRONG&gt;Setting up the Developer Workstation:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;SPAN class=normal&gt;1. You need a Windows XP SP2 or Windows Vista Machine with Visual Studio 2005 installed.&lt;BR&gt;2. Install all Updates from Windows Update including Service Pack 1 for Team Suite or Service Pack 1 for Express Editions. If you run on Vista install the Service Pack 1 Update for Vista&lt;BR&gt;3. You can optionally install WSS SDK an Office Server SDK also on your Workstation&lt;BR&gt;4. Locate the Sharepoint Templates installed on the server environment and copy them to your Workstation User Templates. You have to navigate to:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp” &lt;BR&gt;and copy the whole Sharepoint Directory to your user Templates Folder on your Workstation. The Path is normally: &lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual C#”. &lt;BR&gt;If you want to develop in VB.NET do the same for the Sharepoint Folder in:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic” &lt;BR&gt;And copy it to:&lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Basic”&lt;BR&gt;Do the same for the Sharepoint Folders in the ItemTemplates Directory. There is only one for CSharp. Navigate to:&lt;BR&gt;“C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ItemTemplates\CSharp”&lt;BR&gt;And copy the Sharepoint Folder to:&lt;BR&gt;“C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2005\Templates\ItemTemplates\Visual C#”&lt;BR&gt;5. Copy the complete Folder “Microsoft Sharepoint Developer Tools”, which can be found in “C:\Program Files” on the Server or VPC to your Workstation machine in the same location.&lt;BR&gt;6. In order to register the Projects, Packages and Templates on you Workstation machine you have to add several registry keys to your Registry. Here is the whole stuff, just copy and paste it in a text file and save it with a*.reg extension:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=Source&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;/SPAN&gt;Windows Registry Editor Version 5.00&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\CLSID\{041d4811-6ee8-4c3a-8981-ac53f22cf9cc}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtProject"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtProject"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\CLSID\{c81fbc80-1a9b-4d76-81e4-bf729a27f9ac}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.Forms.DeployPropertyPage"&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.Forms.DeployPropertyPage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"ThreadingModel"="Both"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}]&lt;BR&gt;@="Microsoft.SharePoint.Tools.SdtPackage, SPDevTools, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71E9BCE111E9429C"&lt;BR&gt;"ID"=dword:00000064&lt;BR&gt;"Class"="Microsoft.SharePoint.Tools.SdtPackage"&lt;BR&gt;"CodeBase"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package\\SPDevTools.dll"&lt;BR&gt;"CompanyName"="Microsoft"&lt;BR&gt;"InprocServer32"="C:\\Windows\\system32\\mscoree.dll"&lt;BR&gt;"MinEdition"="Standard"&lt;BR&gt;"ProductName"="SharePoint Developer Tools"&lt;BR&gt;"ProductVersion"="12.0000.0000.0000"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Packages\{bc426e8f-098f-47de-ad66-d11676c41c66}\SatelliteDll]&lt;BR&gt;"DllName"="SPDevTools.dll"&lt;BR&gt;"Path"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Projects\{9e5d3e2d-e4e2-418e-8d80-2f0da9a94f9a}]&lt;BR&gt;"DisplayName"=""&lt;BR&gt;@="SdtProjectFactory"&lt;BR&gt;"DefaultProjectExtension"="csproj"&lt;BR&gt;"DisplayProjectFileExtensions"="SharePoint Project Files (*.csproj);*.csproj"&lt;BR&gt;"Package"="{bc426e8f-098f-47de-ad66-d11676c41c66}"&lt;BR&gt;"PossibleProjectExtensions"="csproj"&lt;BR&gt;&lt;BR&gt;#[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\NewProjectTemplates\TemplateDirs\{bc426e8f-098f-47de-ad66-d11676c41c66}]&lt;BR&gt;&lt;BR&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\NewProjectTemplates\TemplateDirs\{bc426e8f-098f-47de-ad66-d11676c41c66}\/1]&lt;BR&gt;@=""&lt;BR&gt;"SortPriority"=dword:00000064&lt;BR&gt;"TemplatesDir"="C:\\Program Files\\Microsoft SharePoint Developer Tools\\package"&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;Double click the *.reg File or import it using Regedit. In order to load the new package file, you maybe must start Visual Studio from the command line with the option /ResetSkipPkgs. Start a Command Window (on Vista this should run as an administrator) and navigate to:&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=Source&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=normal&gt;&lt;SPAN class=Command&gt;“C:\Progarm Files\Microsoft Visual Studio 8\Common7\IDE”&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;And start Visual Studio via the following command:&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=Command&gt;Devenv /ResetSkipPkgs&lt;/SPAN&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;BR&gt;Now you should be able to create new Sharepoint Projects like WebParts. To doublecheck this, in Visual Studio 2005 navigate to the Menu File-&amp;gt;New-&amp;gt;Project the Dialog Box should look like this:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=style1&gt;&lt;IMG src="http://blogs.msdn.com/photos/martinv/images/4522887/original.aspx" mce_src="http://blogs.msdn.com/photos/martinv/images/4522887/original.aspx"&gt;&lt;BR&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;SPAN class=normal&gt;Now select the Web Part and click Ok. Visual Studio should create the appropriate Project Files. If you click on References in the Solution Explorer you will see that there is an unresolved reference to the “Microsoft.Sharepoint” Assembly. So you can not yet build the WebPart or other Sharepoint Projects on the Workstation. Therefore the next 2 steps are necessary.&lt;BR&gt;&lt;BR&gt;7. The Sharepoint Assemblies (DLLs) are located in the following Folder on the Sharepoint Server Installation:&lt;BR&gt;&lt;BR&gt;“C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\ISAPI”&lt;BR&gt;&lt;BR&gt;I copied the complete folder to the same location on my Workstation, but you can also only copy the assemblies, which start with “Microsoft.Sharepoint.*” to any folder on your Workstation.&lt;BR&gt;&lt;BR&gt;8. In order that Visual Studio can automatically resolve the references you should add the assemblies to the Global Assembly Cache” (GAC). You can use the command line tool gacutil.exe or use the “Microsoft .NET Framework 2.0 Configuration” which can be found through navigating to Control Panel, then select “Administrative Tools”.&lt;BR&gt;&lt;BR&gt;9. Now you should be able to generate and build Sharepoint Server 2007 related projects on a remote Workstation. &lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;BR&gt;&lt;SPAN class=heading&gt;&lt;STRONG&gt;Deploying the Webpart Assemblies to the Server machine or VPC:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;There are several ways to deploy Webparts to MOSS 2007. But I describe one way, which makes it easy during the development cycle to deploy and remote debug Webparts on the Server or VPC. In the VPC case you should ensure that you have network connection to the running VPC image. &lt;BR&gt;1. If you starting with a new project and you do not want to reduce MOSS Security to fully trust all installed assemblies. You should sign your WebPart with a strong name and add the following line to your “AssemblyInfo.cs” in your project:&lt;BR&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=Source&gt;[&lt;/SPAN&gt;&lt;SPAN class=Source&gt;assembly: System.Security.AllowPartiallyTrustedCallers()]&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;2. After a successful build you should copy your WebPart Assemblies to the \bin directory of your MOSS 2007 Server. I do this by adding a post build step to the project:&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=style1&gt;&lt;IMG src="http://blogs.msdn.com/photos/martinv/images/4522898/original.aspx"&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;Where &amp;lt;server&amp;gt; must be replaced with your server or VPC image name.&lt;BR&gt;The post build step is configured to be executed “When the build updates the project output”.&lt;BR&gt;&lt;SPAN class=normal&gt;&lt;BR&gt;3. The next step is to add a safe control entry to the web.config of the Server. This looks like:&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=Source&gt;&amp;lt;SafeControls&amp;gt;&lt;BR&gt;.&lt;BR&gt;.&lt;BR&gt;.&lt;BR&gt;&amp;lt;SafeControl Assembly="MOSS2007_Test_WebPart, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b76147539a074d8d" Namespace="MOSS2007_Test_WebPart" TypeName="*" Safe="True" /&amp;gt;&lt;BR&gt;&lt;BR&gt;&amp;lt;/SafeControls&amp;gt;&lt;SPAN class=normal&gt;&lt;BR&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=normal&gt;The web.config is also located in the bin Directory:&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=Command&gt;C:\inetpub\wwwroot\wss\VirtualDirectories\80\bin&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN class=normal&gt;in a default installation.&lt;BR&gt;&lt;BR&gt;4. Navigate with the Browser to your target Site.&lt;BR&gt;5. Click on Site Settings-&amp;gt; Modify all Site Settings&lt;BR&gt;6. Click on Galleries -&amp;gt; Web Parts&lt;BR&gt;7. Use the New Button to populate your Web Part to the gallery&lt;BR&gt;I f your Web Part is not in the list, do an iisreset and try again. Normally the iisreset is not neccessary, but in some cases …&lt;BR&gt;8. Now you can modify any page in your site and add you webpart to the page.&lt;BR&gt;&lt;BR&gt;Now after a new successful build, the Web Part is copied to the server and is ready to be debugged.&lt;BR&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=heading&gt;&lt;STRONG&gt;Remote Debugging of Web Parts in MOSS 2007&lt;BR&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR&gt;&lt;SPAN class=normal&gt;1. In order to enable the Visual Studio remote debugging, navigate to “C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86” and start the “msvcmon.exe” on the server.&lt;BR&gt;2. On the workstation in Visual Studio go to Debug -&amp;gt; Attach to process&lt;BR&gt;3. In the Qualifier Text Box enter your server name&lt;BR&gt;4. Check the Box: Show processes from all users.&lt;BR&gt;5. Select *all* w3wp.exe processes using the control key on the keyboard&lt;BR&gt;6. Click on Attach&lt;BR&gt;7. Entry your breakpoints in the source code file in Visual Studio&lt;BR&gt;8. Navigate or just refresh the Page, which has your control embedded and wait the breakpoint to be hit.&lt;BR&gt;&lt;BR&gt;That’s it! Hope this procedures&amp;nbsp;are somehow helpful to others, who want to develop Web Parts for MOSS 2007. &lt;/SPAN&gt;&lt;BR&gt;&lt;/P&gt;&lt;/SPAN&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=4524731" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category></item><item><title>IIS stops handling *.svc requests after installing .Net 3.0 RC1</title><link>http://blogs.msdn.com/martinv/archive/2006/09/11/749388.aspx</link><pubDate>Mon, 11 Sep 2006 13:59:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:749388</guid><dc:creator>martinv</dc:creator><slash:comments>6</slash:comments><comments>http://blogs.msdn.com/martinv/comments/749388.aspx</comments><wfw:commentRss>http://blogs.msdn.com/martinv/commentrss.aspx?PostID=749388</wfw:commentRss><description>&lt;FONT face=Arial size=2&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Hello,&lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;I experienced this problem on two machines with Windows XP as OS, so I think other people may also run into this. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;After uninstalling .Net 3.0 June CTP and all additional components (SDK, VS extensions for .Net 3.0 and WF), then installing .Net 3.0 RC1, IIS does not handle *.svc requests appropriate. A request like http://localhost/MyService/service.svc simply displays the service.svc file itself. So I checked whether the Http Handlers are registered in the web.config:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;buildProviders&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;add&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;extension&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;.svc&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;type&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;System.ServiceModel.Activation.ServiceBuildProvider, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;buildProviders&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;and&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;httpHandlers&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;add&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt; &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;path&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;*.svc&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;verb&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;*&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; &lt;/SPAN&gt;&lt;SPAN style="COLOR: red"&gt;type&lt;/SPAN&gt;&lt;SPAN style="COLOR: blue"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt;System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&lt;/SPAN&gt;"&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;validate&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;=&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;"&lt;SPAN style="COLOR: blue"&gt;false&lt;/SPAN&gt;"&lt;SPAN style="COLOR: blue"&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-tab-count: 2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: maroon; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;httpHandlers&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;After I checked this I tried to register ASP.NET again manually by calling &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;“aspnet_regiis /i”&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt; and &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;“aspnet_regiis /r”&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt; from the command line, but still no success. The I tried to register WCF manually by calling &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;“servicemodelreg /i”&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt; , this tool is located in the following directory “C:\WINDOWS\Microsoft.Net\Framework\v3.0\Windows Communication Foundation”. But this was not successful to activate *.svc processing. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Then I checked the Configuration of Extensions in IIS: Go to “&lt;STRONG&gt;Administrative Tools&lt;/STRONG&gt;” and start “&lt;STRONG&gt;Internet Information Services&lt;/STRONG&gt;” navigate to “&lt;STRONG&gt;Default Web Site&lt;/STRONG&gt;” and right click on it in the tree view. Select “&lt;STRONG&gt;Properties&lt;/STRONG&gt;” from the Popup Menu, then select the “&lt;STRONG&gt;Home Directory"&lt;/STRONG&gt; Tab and click on the “&lt;STRONG&gt;Configuration&lt;/STRONG&gt;” Button in the Dialog. In my case the entry for the extension *.svc was missing. I tried to add the *.svc extension by clicking on the “&lt;STRONG&gt;Add&lt;/STRONG&gt;” Button and filling the Dialog:&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Executable: C:\WINDOWS\Microsoft.Net\Framework\v2.0.50727\aspnet_isapi.dll&lt;BR&gt;Limit To: GET,HEAD,POST,DEBUG&lt;BR&gt;Script Engine: checked&lt;BR&gt;Check that file exists: unchecked&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;But the “&lt;STRONG&gt;Ok&lt;/STRONG&gt;” Button keeps disabled, regardless of the entries in the dialog. It seems that somehow the security settings for the IIS Metabase are hosed, so that I could not add entries using this dialog, even if logged on with the local administrator account.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Now I tried to use IIS Metabase Explorer, this tool can be found in the &lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&amp;amp;DisplayLang=en"&gt;&lt;FONT color=#800080&gt;IIS Resource Kit&lt;/FONT&gt;&lt;/A&gt;. In the tree view I navigated through “&lt;STRONG&gt;LM&lt;/STRONG&gt;” to the “&lt;STRONG&gt;W3SVC&lt;/STRONG&gt;” entry. Then I looked for the Scriptmaps entry in the List, double-clicked on it. Checked whether there is an entry for the *.svc extension in the list. If not, add a new entry by clicking on the &lt;STRONG&gt;“&amp;lt;new item&lt;/STRONG&gt;&amp;gt;” in the list Insert this string in to the list “svc,C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll,1,GET,HEAD,POST,DEBUG”&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;I repeated this procedure for the ROOT entry in the tree view, which can be reached by navigating through “W3SVC” -&amp;gt; “1” -&amp;gt; “ROOT”. After closing the IIS Metabase Explorer I restarted IIS by calling &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"&gt;“iisreset&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;” from the command prompt, and the the WCF services hosted in IIS were processed as expected.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Hope this is helpful to someone else.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Regards &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Martin Vollmer&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=749388" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/martinv/archive/tags/Tips+_2600_amp_3B00_+Tricks/default.aspx">Tips &amp;amp; Tricks</category><category domain="http://blogs.msdn.com/martinv/archive/tags/Programming/default.aspx">Programming</category></item></channel></rss>