<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://bloggingabout.net/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>Search results matching tag 'SharePoint Deployment'</title><link>http://bloggingabout.net/search/SearchResults.aspx?a=1&amp;o=DateDescending&amp;tag=SharePoint+Deployment&amp;orTags=0</link><description>Search results matching tag 'SharePoint Deployment'</description><dc:language>en-US</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Visual Studio 2008 extensions for Windows SharePoint Services 3.0, v1.3 - Mar 2009 CTP released</title><link>http://bloggingabout.net/blogs/harold/archive/2009/03/19/visual-studio-2008-extensions-for-windows-sharepoint-services-3-0-v1-3-mar-2009-ctp-released.aspx</link><pubDate>Thu, 19 Mar 2009 12:36:37 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481387</guid><dc:creator>hvdkamp</dc:creator><description>&lt;p&gt;A new CTP version of the SharePoint project and item templates for Visual Studio 2008 are available. Remember that an &lt;a href="http://en.wikipedia.org/wiki/Community_Technology_Preview#Beta" target="_blank"&gt;CTP version&lt;/a&gt; is still in development, so Microsoft Support doesn’t officially support them.&lt;/p&gt;  &lt;p&gt;Download VSeWSS v1.3 March 2009 CTP from the &lt;a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;amp;FamilyID=fb9d4b85-da2a-432e-91fb-d505199c49f6" target="_blank"&gt;Microsoft Download Center&lt;/a&gt;. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;Error logging&lt;/h3&gt;  &lt;h3&gt;&lt;/h3&gt;  &lt;p&gt;The descriptive error’s, which I blogged about in “&lt;a href="http://bloggingabout.net/blogs/harold/archive/2009/02/20/getting-the-visual-studio-2008-extensions-for-sharepoint-v1-3-ctp-to-work-on-windows-server-2008.aspx"&gt;Getting the Visual Studio 2008 extensions for SharePoint v1.3 CTP to work on Windows Server 2008&lt;/a&gt;”, are better documented now. VSeWSS creates a log file with debug information, e.g. why the deployment of a web part has failed. Some example errors that VSeWSS shows you are:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;The feature name WebPart1 already exists in SharePoint. You need to rename the feature before solution deployment can succeed.&lt;/li&gt;    &lt;li&gt;The solution can not be deployed.&amp;#160; The feature &amp;#39;7c05e196-d953-4b90-a910-0f6802648e7d&amp;#39; uses the directory &amp;quot;MyList instance&amp;quot; in the solution. However, it is currently installed in the farm to the directory &amp;quot;List Definition1 instance&amp;quot;. Uninstall the existing feature before you install a new version of the solution.&lt;/li&gt;    &lt;li&gt;No SharePoint Site exists at the specified URL.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;h3&gt;VSeWSS 1.3 Overview&lt;/h3&gt;  &lt;p&gt;For those who are new to SharePoint development with VSeWSS, here is Microsoft’s overview.&lt;/p&gt;  &lt;p&gt;&lt;a name="Description"&gt;&lt;/a&gt;This is the SharePoint developer tools for Visual Studio 2008. These tools are suitable for use with Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007. It includes project and item templates for common SharePoint artifacts, it includes build, packaging and deployment for SharePoint solutions and it includes the SharePoint Solution Generator which creates a new Visual Studio 2008 project from a SharePoint site.    &lt;br /&gt;The tools provide item templates for List Definition, List Definition from Content Type, Content Type, Field Control, Web Part, Module, Root File, Template, Event Receiver, and List Instance. It provides project templates for Team Site Definition, Blank Site Definition, List Definition, Web Part and Empty. It works with Visual Basic .NET and C# languages and a comprehensive user guide is included. It does not include the SharePoint Workflow templates as they are built in with Visual Studio 2008.    &lt;br /&gt;New features in version 1.3 include:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Can be installed on x64 Server OS machines running SharePoint x64. Previously only x86 Server OS could be used &lt;/li&gt;    &lt;li&gt;Separate build commands for package, deploy and retract are added as Visual Studio menu items &lt;/li&gt;    &lt;li&gt;WSP View improvements for consistency of deleting feature elements, merging features and adding event receivers to features &lt;/li&gt;    &lt;li&gt;Command line build, package and retract commands are included enabling continuous integration and build servers. Previously command line build of SharePoint projects was very difficult &lt;/li&gt;    &lt;li&gt;Refactoring support for renaming of Web Parts. Previously renaming a web part required changes in several files in the project &lt;/li&gt;    &lt;li&gt;Solution Generator can now generate solutions from publishing sites. Previously only regular sites could be generated &lt;/li&gt;    &lt;li&gt;Allowing partial trust BIN deployments of web parts &lt;/li&gt;    &lt;li&gt;New project item template for SharePoint RootFiles items &lt;/li&gt;    &lt;li&gt;Deployment will now optionally remove conflicting existing features on the development server prior to redeployment. Previously any feature name conflicts would result in an error &lt;/li&gt;    &lt;li&gt;Ancillary assemblies such as for business logic can now be added to the SharePoint Solution WSP &lt;/li&gt;    &lt;li&gt;Hidden features related to Site Definition projects are now shown in WSP View. They are no longer hidden &lt;/li&gt;    &lt;li&gt;For advanced users a fast deploy is included to update only the compiled assembly on the SharePoint development installation &lt;/li&gt;    &lt;li&gt;Deployment step logging is included &lt;/li&gt;    &lt;li&gt;The List Definition from Content Type template now allows for the creation of a List Definition Event Receiver &lt;/li&gt;    &lt;li&gt;The User Guide is now installed with the extensions instead of being a separate download &lt;/li&gt; &lt;/ul&gt;</description></item><item><title>Getting the Visual Studio 2008 extensions for SharePoint v1.3 CTP to work on Windows Server 2008</title><link>http://bloggingabout.net/blogs/harold/archive/2009/02/20/getting-the-visual-studio-2008-extensions-for-sharepoint-v1-3-ctp-to-work-on-windows-server-2008.aspx</link><pubDate>Fri, 20 Feb 2009 16:21:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481196</guid><dc:creator>hvdkamp</dc:creator><description>&lt;p&gt;January 2009 the Microsoft SharePoint Product Group announced the &lt;a target="_blank" href="http://blogs.msdn.com/sharepoint/archive/2009/01/12/announcing-community-technology-preview-of-visual-studio-2008-extensions-for-sharepoint-v1-3.aspx"&gt;Community Technology Preview of Visual Studio 2008 extensions for SharePoint v1.3&lt;/a&gt; (VSeWSS). Previous VSeWSS versions were not out-of-the box installable on x64 machines, therefore I blogged about &lt;a target="_blank" href="http://bloggingabout.net/blogs/harold/archive/2008/12/02/installing-visual-studio-extensions-for-windows-sharepoint-services-on-64-bit-machines.aspx"&gt;Installing Visual Studio Extensions for Windows SharePoint Services on 64-bit machines&lt;/a&gt;. It&amp;rsquo;s great to see that x64 support has been added to version 1.3. The complete list of new features are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Can be installed on x64 Server OS machines running SharePoint x64. Previously only x86 Server OS could be used. &lt;/li&gt;
&lt;li&gt;Separate build commands for package, deploy and retract are added &lt;/li&gt;
&lt;li&gt;Command line build, package and retract commands are included enabling continuous integration and build servers. Previously command line build of SharePoint projects was very difficult &lt;/li&gt;
&lt;li&gt;Refactoring support for renaming of Web Parts. Previously renaming a web part required changes in several files in the project &lt;/li&gt;
&lt;li&gt;WSP View improvements for consistency of deleting feature elements, merging features and adding event receivers to features &lt;/li&gt;
&lt;li&gt;Solution Generator can now generate solutions from publishing sites. Previously only regular sites could be generated &lt;/li&gt;
&lt;li&gt;Allowing partial trust BIN deployments of web parts. CAS configuration must still be provided by the developer. &lt;/li&gt;
&lt;li&gt;New project item template for SharePoint RootFiles items &lt;/li&gt;
&lt;li&gt;Deployment will now optionally remove conflicting existing features on the development server prior to redeployment. Previously any feature name conflicts would result in an error &lt;/li&gt;
&lt;li&gt;Ancillary assemblies such as for business logic can now be added to the SharePoint Solution WSP &lt;/li&gt;
&lt;li&gt;Hidden features related to Site Definition projects are now shown in WSP View. They are no longer hidden &lt;/li&gt;
&lt;li&gt;For advanced users a fast deploy is included to update only the compiled assembly on the SharePoint development installation &lt;/li&gt;
&lt;li&gt;The User Guide is now installed with the extensions instead of being a separate download &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The final release of VSeWSS 1.3 is planned for the North American Spring of 2009. The CTP version is available on the &lt;a target="_blank" href="https://connect.microsoft.com/site/sitehome.aspx?SiteID=428"&gt;Microsoft Connect VSeWSS website&lt;/a&gt; where you are welcome to post your feedback.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;What I did to get the VSeWSS 1.3 CTP working on my Windows Server 2008 development machine&lt;/h2&gt;
&lt;p&gt;The new VSeWSS version makes use of a Web Service to connect to local SharePoint sites and &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Windows_Communication_Foundation"&gt;WCF&lt;/a&gt; is used to connect to that Web Service. Because the current VSeWSS version is a &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Community_Technology_Preview#Beta"&gt;CTP version&lt;/a&gt;, it&amp;rsquo;s not marked as stable and contains bugs. Error messages can contain very little information about the problem and how to fix it, so here are my tips to get you started.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Read the &amp;ldquo;Release Notes&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;The Release Notes document contains a lot information how to get this VSeWSS version working and needs to be your starting point.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Getting around the error &amp;ldquo;The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;The deployment of my SharePoint solutions failed with the error &amp;ldquo;The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state&amp;rdquo;. On my x86 environment I re-registered WCF using the command: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;%Windir%\Microsoft.Net\Framework\v3.0\Windows Communication Foundation\ServiceModelReg.exe -r&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;x64 users can re-register WCF using the command:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;%Windir%\Microsoft.Net\Framework64\v3.0\Windows Communication Foundation\ServiceModelReg.exe -r&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;More information on the MSDN Forums thread &amp;ldquo;&lt;a target="_blank" href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/ac95c8e9-90da-4aa0-9cd6-36dab2d89c32/"&gt;VSeWSS 1.3 Deploy fails with Faulted state&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;Getting around the error &amp;ldquo;Error: Assembly {0} not found.&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;After I fixed the previous error, the deployment of SharePoint solutions failed with the cryptic error &amp;ldquo;Error: Assembly {0} not found.&amp;rdquo;. The VSeWSS Web Service account needs to be in the local administrator group and have SharePoint Farm Administrator rights. My Windows Server 2008 machine is enrolled into it&amp;rsquo;s own domain, so I did the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Started IIS7 &lt;/li&gt;
&lt;li&gt;Created a new application pool with the administrator account as its identity&lt;/li&gt;
&lt;li&gt;Put the VSeWSS Web Service into the new application pool &lt;/li&gt;
&lt;li&gt;Added the administrator account to the WSS_RESTRICTED_WPG user group. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Maybe not the most security friendly way, but for me it is acceptable at the moment for my development environment. More information on the MSDN Forums thread &amp;ldquo;&lt;a target="_blank" href="http://social.msdn.microsoft.com/Forums/en-US/sharepointdevelopment/thread/0d66227d-fd2e-4244-82be-6e3d1c68d9af/"&gt;Problems with use of VSeWSS 1.3 in Visual Studio 2008&lt;/a&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;After all this work I&amp;rsquo;m able to make use of the new VSeWSS version, hope this helps you.&lt;/p&gt;</description></item><item><title>Deploying reusable Data Form Web Parts for SharePoint</title><link>http://bloggingabout.net/blogs/harold/archive/2009/01/30/deploying-reusable-data-form-web-parts-for-sharepoint.aspx</link><pubDate>Fri, 30 Jan 2009 10:51:00 GMT</pubDate><guid isPermaLink="false">813b6dfd-644e-4573-a816-eebab56ba0d0:481090</guid><dc:creator>hvdkamp</dc:creator><description>&lt;h2&gt;An introduction into Data Form Web Parts&lt;/h2&gt;
&lt;p&gt;The Data Form Web Part is a Web Part component that is available out-of-the-box with WSS 3.0. It allows you to display information from different data source types, with the possibility to change or insert new data. You can display a single item or a collection of items, use grouping, sorting, conditional formatting, share information between Web Parts and much more. Microsoft Office SharePoint Designer 2007 supports the Data Form Web Part which gives you a WYSIWYG way of setting up your Web Part.&lt;/p&gt;
&lt;p&gt;For more information on the Data Form Web Part see e.g. the &lt;a href="http://www.sharepointblogs.com/mirjam/archive/2008/11/26/diwug-meeting-data-form-web-part-presentation.aspx"&gt;Data Form Web Part presentation in Dutch of Maarten van den Dungen&lt;/a&gt; and the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.webpartpages.dataformwebpart.aspx"&gt;MSDN documentation&lt;/a&gt;. The &amp;quot;Getting to Know the Data Form Web Part&amp;quot; series of SharePoint Beagle give you also a good overview:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://masteringsharepoint.com/blogs/beagle/archive/2008/08/13/DFWP1.aspx"&gt;Getting to know the Data Form Web Part - Part 1&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://masteringsharepoint.com/blogs/beagle/archive/2008/09/04/DFWP2.aspx"&gt;Getting to know the Data Form Web Part - Part 2&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://masteringsharepoint.com/blogs/beagle/archive/2008/10/27/getting-to-know-the-data-form-web-part-3-of-4.aspx"&gt;Getting to know the Data Form Web Part - Part 3&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;&lt;a href="http://masteringsharepoint.com/blogs/beagle/archive/2009/02/05/DVWP4.aspx" title="Getting to know the Data Form Web Part - Part 4"&gt;Getting to know the Data Form Web Part - Part 4&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Deployment of Data Form Web Parts&lt;/h2&gt;
&lt;p&gt;Now you know where to find introductions how to work with Data Form Web Parts, you can quickly create data views and forms. To deploy and reuse your Data Form Web Parts on multiple (sub)sites and environments keep the following tips in mind.&lt;/p&gt;
&lt;h3&gt;Reference SharePoint lists based on the list name instead of the list ID&lt;/h3&gt;
&lt;p&gt;By default a data form web part that has a SharePoint list as its data source, gets the data from that specific list. The list is referenced by using the list&amp;#39;s GUID identifier, which means that theoretically only one list in the world is referenced. When lists are deployed using a CAML List Definition, a list is created and automatically gets a new GUID identifier. The Data Form Web Part I have used for the original list cannot be used to reference the new list instance without changing the ListID reference.&lt;/p&gt;
&lt;p&gt;The trick is to reference a SharePoint list based on it&amp;rsquo;s name instead of it&amp;rsquo;s ID. To change the DataFormWebPart&amp;rsquo;s ListID attribute to ListName, use the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Replace all ListName=&amp;quot;&lt;strong&gt;{GUID}&lt;/strong&gt;&amp;quot; to ListName=&amp;quot;&lt;strong&gt;LIST_NAME&lt;/strong&gt;&amp;quot; &lt;/li&gt;
&lt;li&gt;Replace &lt;br /&gt;&amp;lt;WebPartPages:DataFormParameter Name=&amp;quot;&lt;strong&gt;ListID&lt;/strong&gt;&amp;quot; ParameterKey=&amp;quot;&lt;strong&gt;ListID&lt;/strong&gt;&amp;quot; PropertyName=&amp;quot;ParameterValues&amp;quot; DefaultValue=&amp;quot;&lt;strong&gt;{GUID}&lt;/strong&gt;&amp;quot;/&amp;gt; &lt;br /&gt;to &lt;br /&gt;&amp;lt;WebPartPages:DataFormParameter Name=&amp;quot;&lt;strong&gt;ListName&lt;/strong&gt;&amp;quot; ParameterKey=&amp;quot;&lt;strong&gt;ListName&lt;/strong&gt;&amp;quot; PropertyName=&amp;quot;ParameterValues&amp;quot; DefaultValue=&amp;quot;&lt;strong&gt;LIST_NAME&lt;/strong&gt;&amp;quot;/&amp;gt; &lt;/li&gt;
&lt;li&gt;Replace &lt;br /&gt;&amp;lt;ParameterBinding Name=&amp;quot;&lt;strong&gt;ListID&lt;/strong&gt;&amp;quot; Location=&amp;quot;None&amp;quot; DefaultValue=&amp;quot;&lt;strong&gt;{GUID}&lt;/strong&gt;&amp;quot;/&amp;gt; &lt;br /&gt;to &lt;br /&gt;&amp;lt;ParameterBinding Name=&amp;quot;&lt;strong&gt;ListName&lt;/strong&gt;&amp;quot; Location=&amp;quot;None&amp;quot; DefaultValue=&amp;quot;&lt;strong&gt;LIST_NAME&lt;/strong&gt;&amp;quot;/&amp;gt; &lt;/li&gt;
&lt;li&gt;Save your Web Part&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thanks to &lt;a target="_blank" href="http://sharepoint-insight.blogspot.com/2008/07/dataform-webpart-escape-from-hardcoded.html"&gt;Sandeep Rohilla&lt;/a&gt;.&lt;/p&gt;
&lt;h3&gt;Reference a Lookup field based on the lookup value ID instead of the text value&lt;/h3&gt;
&lt;p&gt;Displaying data from multiple lists or using web part connections can easily be done. When you want to filter items based on a Lookup field but don&amp;rsquo;t want to reference items based on the string value, use the ID of the item. Use an ID e.g. if you want to filter information based on an ID in the query string.&lt;/p&gt;
&lt;p&gt;The Data Form Web Part uses a CAML query to fetch data, which means you can use the LookupId attribute to refer a field based on it&amp;rsquo;s ID. The CAML attribute is: &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;LookupId=&amp;#39;True&amp;#39;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The Data Form Web Part&amp;rsquo;s .webpart file contains HTML encoded values, so the LookupId attribute has to be encoded to get things done. In SharePoint designer open the code view of the Data Form Web Part and follow these steps: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Find &lt;em&gt;&amp;lt;property name=&amp;quot;DataSourcesString&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;&lt;/em&gt;. &lt;/li&gt;
&lt;li&gt;Inside the DataSourceString property, replace: &lt;br /&gt;&amp;amp;amp;lt;FieldRef LookupId=&amp;amp;amp;quot;TRUE&amp;amp;amp;quot; Name=&amp;amp;amp;quot;NAME_OF_THE_LOOKUP_FIELD&amp;amp;amp;quot;/&amp;amp;amp;gt;&amp;amp;amp;lt;Value Type=&amp;amp;amp;quot;Text&amp;amp;amp;quot;&amp;amp;amp;gt;&lt;strong&gt;LOOKUP_VALUE&lt;/strong&gt;&amp;amp;amp;lt;/Value&amp;amp;amp;gt;&amp;amp;amp; &lt;br /&gt;with: &lt;br /&gt;&amp;amp;amp;lt;FieldRef LookupId=&amp;amp;amp;quot;TRUE&amp;amp;amp;quot; Name=&amp;amp;amp;quot;NAME_OF_THE_LOOKUP_FIELD&amp;amp;amp;quot;/&amp;amp;amp;gt;&amp;amp;amp;lt;Value Type=&amp;amp;amp;quot;Text&amp;amp;amp;quot;&amp;amp;amp;gt;&lt;strong&gt;LOOKUP_ID&lt;/strong&gt;&amp;amp;amp;lt;/Value&amp;amp;amp;gt;&amp;amp;amp;&lt;/li&gt;
&lt;li&gt;Save your Web Part&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;Specify on which (sub)site your list is located&lt;/h3&gt;
&lt;p&gt;By default the Web Part that has a SharePoint list as its source, expects the list to be at the same site level as the Web Part. When you want a list to be at a different site level, specify the WebURL parameter. The WebURL parameter is also located inside the &lt;em&gt;&amp;lt;property name=&amp;quot;DataSourcesString&amp;quot; type=&amp;quot;string&amp;quot;&amp;gt;&lt;/em&gt;. &lt;/p&gt;
&lt;p&gt;You can use different values, e.g. a fixed location /MyWebsite/MySubsite or a special location {sitecollectionroot}&lt;/p&gt;</description></item></channel></rss>