<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Gabe Hilado&#039;s SharePoint &#38; ASP.NET Blog &#187; SharePoint Deployment</title>
	<atom:link href="http://spdeveloper.net/category/sharepoint-deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://spdeveloper.net</link>
	<description>Microsoft, SharePoint, ASP.NET, Software Solutions</description>
	<lastBuildDate>Thu, 29 Sep 2011 15:13:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Sharepoint Products Configuration Wizard-CREATE DATABASE permission denied</title>
		<link>http://spdeveloper.net/2011/05/sharepoint-products-configuration-wizard-create-database-permission-denied/</link>
		<comments>http://spdeveloper.net/2011/05/sharepoint-products-configuration-wizard-create-database-permission-denied/#comments</comments>
		<pubDate>Fri, 20 May 2011 19:46:13 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Installation]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=400</guid>
		<description><![CDATA[When you run the SharePoint Products Configuration Wizard for the first time, you get the following error: System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database &#8216;master&#8217;. This means that the domain account you specified to connect to the SQL Server does not have permissions to create the SharePoint config database. So go to your SQL Server [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://spdeveloper.net/wp-content/uploads/2011/05/sp-configuration-failed-create-db-denied.png"></a>When you run the SharePoint Products Configuration Wizard for the first time, you get the following error:</p>
<p style="text-align: center;"><strong><em><a href="http://spdeveloper.net/wp-content/uploads/2011/05/sp-configuration-failed-create-db-denied.png"><img class="aligncenter" title="Configuration Failed" src="http://spdeveloper.net/wp-content/uploads/2011/05/sp-configuration-failed-create-db-denied-300x251.png" alt="Configuration Failed" width="300" height="251" /></a></em></strong></p>
<p><strong><em>System.Data.SqlClient.SqlException: CREATE DATABASE permission denied in database &#8216;master&#8217;.</em></strong></p>
<p>This means that the domain account you specified to connect to the SQL Server does not have permissions to create the SharePoint config database. So go to your SQL Server and add the <strong>dbcreator</strong> role to your <strong>SharePoint Service account</strong>.</p>
<p><a href="http://spdeveloper.net/wp-content/uploads/2011/05/add-dbcreator-role-to-sp-account.png"><img class="aligncenter size-medium wp-image-404" title="Add dbcreator Role to SP Account" src="http://spdeveloper.net/wp-content/uploads/2011/05/add-dbcreator-role-to-sp-account-300x119.png" alt="Add dbcreator Role to SP Account" width="300" height="119" /></a></p>
<p>Please don&#8217;t make the SharePoint Service account elevated to domain admin level in AD or SysAdmin in SQL Server! It&#8217;s not necessary!</p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2011/05/sharepoint-products-configuration-wizard-create-database-permission-denied/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Error installing SharePoint 2010 Prerequisites</title>
		<link>http://spdeveloper.net/2011/05/error-installing-sharepoint-2010-prerequisites/</link>
		<comments>http://spdeveloper.net/2011/05/error-installing-sharepoint-2010-prerequisites/#comments</comments>
		<pubDate>Thu, 19 May 2011 19:45:15 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SharePoint Installation]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=392</guid>
		<description><![CDATA[When installing SharePoint, you have to install prerequisites first. If you launch the SharePoint Prerequisites Installer from the SharePoint setup GUI (clicking the link), you may notice that most prerequisites (like IIS) installs correctly but there are some that wouldn&#8217;t install correctly. Some of the errors that I experienced: Error: Startup task doesn&#8217;t exist. This [...]]]></description>
			<content:encoded><![CDATA[<div>When installing SharePoint, you have to install prerequisites first. If you launch the <strong>SharePoint Prerequisites Installer</strong> from the SharePoint setup GUI (clicking the link), you may notice that most prerequisites (like IIS) installs correctly but there are some that wouldn&#8217;t install correctly. Some of the errors that I experienced:</div>
<ul>
<li>Error: Startup task doesn&#8217;t exist. This is not a continuation after a restart.</li>
<li>Error: This file does not exist</li>
<li>Error: The tool was unable to install Hotfix for <strong>Microsoft Windows (KB976462)</strong>.</li>
</ul>
<p>I searched the Web for the errors I got and it seem that a common recommendation is to simply run prerequisiteinstaller.exe from the command-line:</p>
<ul>
<li>Open up a command window</li>
<li>Go to your SharePoint setup location (like D:\ if running from CD drive)</li>
<li>Enter &#8220;prerequisiteinstaller.exe&#8221; and then press enter</li>
<li>A GUI would popup but just go ahead and proceed. It should finish installation.</li>
<li>Review the log file, located in <em>%DEFAULTUSERPROFILE%\Temp</em> and named <em>PrerequisiteInstaller.[datetime].log</em>. Make sure there are no errors on the latest log file.</li>
</ul>
<div>If no more errors, proceed with SharePoint 2010 installation.</div>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2011/05/error-installing-sharepoint-2010-prerequisites/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Install SharePoint 2010 on a MacBook Pro!</title>
		<link>http://spdeveloper.net/2010/06/install-sharepoint-2010-on-a-macbook-pro/</link>
		<comments>http://spdeveloper.net/2010/06/install-sharepoint-2010-on-a-macbook-pro/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 03:50:21 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[MacBook Pro]]></category>
		<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/2010/06/install-sharepoint-2010-on-a-macbook-pro/</guid>
		<description><![CDATA[I’ve been hesitant to install SharePoint 2010 on my computers, virtualized or otherwise, due to what I think to be steep hardware requirements to run SharePoint 2010. My impression was I needed a beast to run SharePoint 2010. I’ve seen demos where the hardware is a LOT better than what I have and demo choked—super [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been hesitant to <strong>install SharePoint 2010</strong> on my computers, virtualized or otherwise, due to what I think to be steep hardware requirements to run SharePoint 2010. My impression was I needed a beast to run SharePoint 2010. I’ve seen demos where the hardware is a LOT better than what I have and demo choked—super slow response, take forever to reset IIS, etc. So I kept procrastinating to install SharePoint 2010. I’m still shopping around for a super laptop  but the one that I’m eyeing, the <a href="http://www.tomshardware.com/news/Envy-13-Envy-14-Envy-15-Envy-17,10349.html" target="_blank">HP Envy 14</a> won’t be out for another couple of weeks. My best hardware is my “production computer” and it has Intel Core i7 with 6GB of RAM but I really don’t want to put a development SharePoint there. But I need to install SharePoint 2010 now! So, I said, what the hell&#8211; I might as well put the MacBook Pro 13 to the test! My MacBook is configured for dual boot and runs Windows 7 Ultimate on the “Bootcamp” side.</p>
<p>My MacBook Pro 13 Windows (Ultimate) Experience Index looks like the following:</p>
<p style="text-align: center;"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/macbookprowindows7index.png"><img class="aligncenter" style="display: inline; border: 0px;" title="macbook pro windows 7 index" src="http://spdeveloper.net/wp-content/uploads/2010/06/macbookprowindows7index_thumb.png" border="0" alt="MacBook Pro Windows 7 Experience Index" width="563" height="431" /></a></p>
<p> </p>
<p>Not too shabby. Lowest score is the graphics (NVidia 930M) but shouldn’t be an issue with regards to SharePoint and development work in general. See that <strong>Memory</strong> and <strong>Primary hard disk</strong> scoring 5.9? That worried me. The hard drive speed is only 5400 RPM and that could be a bottleneck for database read/writes. I went ahead and installed <strong>SharePoint 2010</strong> on the <strong>MacBook Pro</strong>/<strong>Windows 7</strong> anyway.</p>
<p>Instead of rewriting the steps needed to <strong>install SharePoint 2010 on Windows 7</strong> for a development rig, I will point you to existing resources out there. Too many write-ups regarding this topic already. So here they are, the ones that I’ve tried and tested:</p>
<ul>
<li>If you are going to read anything about installing SharePoint 2010 on Windows 7, this is the resource you want &#8211; <a title="http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx" href="http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx">http://msdn.microsoft.com/en-us/library/ee554869(office.14).aspx</a></li>
<li>Execute EVERY step outlined in that walkthrough. Don’t even try to shortcut or think that you can do it without reading any documentation. You may get past the installation but you will pull hair out when it’s time to configure your farm. So just do it, every step in that walkthrough! I will show some of the errors I encountered when I tried to “fast-track” the SharePoint installation.</li>
<li>Here’s another good one &#8211; <a title="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112" href="http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112">http://sharepoint.microsoft.com/blogs/fromthefield/Lists/Posts/Post.aspx?ID=112</a>. This one talks about how to configure the scalable farm (not the Stand-Alone setup that uses SQL Express) for development purposes while <strong>using local accounts</strong> (instead of domain accounts). SharePoint 2010 needs domain accounts to configure. If you are building a “SharePoint workstation”, it’s very common to use local accounts instead of domain accounts (maybe because getting in touch with the AD admins is not easy—just create local accounts yourself). See, my MacBook Pro is not joined to a domain. I have to use non-domain accounts. I wouldn’t have been able to configure my “SharePoint farm” to use a true SQL Server 2008 if not for this walkthrough. Remember, if you do a stand-alone install, the Web apps use the SQL Express for the databases—not really  my ideal configuration!!</li>
</ul>
<p>Here’s the first error message I encountered:</p>
<p style="text-align: center;"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/win2008serverr2supportonly.jpg"><img class="aligncenter" style="display: block; border: 0px;" title="win2008server r2 support only" src="http://spdeveloper.net/wp-content/uploads/2010/06/win2008serverr2supportonly_thumb.jpg" border="0" alt="Windows 2008 Server R2 Support Only" width="426" height="183" /></a></p>
<p>I was so excited to install SharePoint 2010 after I got my <a href="https://partner.microsoft.com/40016455" target="_blank">MAPS subscription</a> that I just double-clicked the <strong>setup.exe</strong>. The above message is what I got! You have to edit the <em>\Files\Setup\config,xml</em> of the <strong>SharePoint 2010 install</strong> directory and add the following:</p>
<pre class="brush: xml;">

&lt;Setting Id=&quot;AllowWindowsClientInstall&quot; Value=&quot;True&quot;/&gt;
</pre>
<p>This was mentioned in <strong>Step 2: Install the Prerequisites for SharePoint 2010</strong> of the MSDN walkthrough. Fast-forward to the end of the SharePoint 2010 installation/configuration. In Central Admin, you should see this:</p>
<p style="text-align: center;"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/1sttime-in-Central-Admin-20101.png"><img class="aligncenter size-full wp-image-287" title="1st Time in Central Admin 2010" src="http://spdeveloper.net/wp-content/uploads/2010/06/1sttime-in-Central-Admin-20101.png" alt="1st Time in Central Admin 2010" width="810" height="564" /></a></p>
<p style="text-align: center;"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/1sttime-in-Central-Admin-2010.png"></a></p>
<p>Again, don’t skip any steps—follow each and every one!</p>
<p>In follow-up blog-posts, I’ll show the other errors I received while attempting to install/configure the SharePoint farm and how to address them.</p>
<p><span style="text-decoration: underline;">Update 6/11/2010</span>:  Here&#8217;s the screenshot of the Windows Task Manager of the Macbook Pro when running SharePoint 2010, SQL Server 2008, IIS Management Console, Internet Explorer, and Visual Studio 2010 (debugging/attaching to processes).</p>
<div id="attachment_324" class="wp-caption aligncenter" style="width: 562px"><a href="http://spdeveloper.net/wp-content/uploads/2010/06/task-manager-sites-up-running.png"><img class="size-full wp-image-324" title="Windows 7 Task Manager in Macbook Pro" src="http://spdeveloper.net/wp-content/uploads/2010/06/task-manager-sites-up-running.png" alt="Windows 7 Task Manager in Macbook Pro" width="552" height="444" /></a><p class="wp-caption-text">Windows 7 Task Manager in Macbook Pro</p></div>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2010/06/install-sharepoint-2010-on-a-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Read the Manifest File from a Sharepoint Package</title>
		<link>http://spdeveloper.net/2010/03/read-the-manifest-file-from-a-sharepoint-package/</link>
		<comments>http://spdeveloper.net/2010/03/read-the-manifest-file-from-a-sharepoint-package/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 14:39:06 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[Operations]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[Administrators]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Developers]]></category>
		<category><![CDATA[Features]]></category>
		<category><![CDATA[Web Parts]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=202</guid>
		<description><![CDATA[I was in a SharePoint governance meeting at one of my customer sites yesterday and the group is thinking of enforcing some rules as far as SharePoint solution packages go. I kept saying during the meeting &#8220;Inspect the manifest file so that you can view what files are going to be installed on the server and where they [...]]]></description>
			<content:encoded><![CDATA[<p>I was in a SharePoint governance meeting at one of my customer sites yesterday and the group is thinking of enforcing some rules as far as SharePoint solution packages go. I kept saying during the meeting &#8220;Inspect the manifest file so that you can view what files are going to be installed on the server and where they are going to get installed&#8221;. One of the network engineers asked <strong>&#8220;How do you read a manifest file given a WSP</strong>?&#8221; This is probably common knowledge to people who are SharePoint veterans. But if you didn&#8217;t know how it&#8217;s done, here&#8217;s how:</p>
<ol>
<li>Rename the <strong>wsp</strong> file to a .<strong>cab</strong> file</li>
<li>Open up the .cab file (used to be wsp) in WinZIP or something that can open a CAB file.</li>
<li>You can either: a)  extract all files in the cab file and open up the extracted manifest.xml; or b) look for manifest.xml in WinZIP and just extract that one single file.</li>
<li>Open up manifest.xml in notepad, Internet Explorer, or your preferred XML file viewer.</li>
</ol>
<p>That&#8217;s it!</p>
<p>Several of my upcoming posts will be on how to create solution packages. Stay tuned!</p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2010/03/read-the-manifest-file-from-a-sharepoint-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You have backups. Can you recover?</title>
		<link>http://spdeveloper.net/2010/02/you-have-backups-can-you-recover/</link>
		<comments>http://spdeveloper.net/2010/02/you-have-backups-can-you-recover/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 09:45:17 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Operations]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[Administrators]]></category>
		<category><![CDATA[Data]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Management]]></category>
		<category><![CDATA[Restore]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=174</guid>
		<description><![CDATA[I had phone meeting with a potential new customer last Thursday and the customer said that he was watching the news about a lunatic who crashed a plane into the IRS building. The news didn’t hit the place I was working at yet so I didn’t know what was going on. But as we talked [...]]]></description>
			<content:encoded><![CDATA[<p>I had phone meeting with a potential new customer last Thursday and the customer said that he was watching the news about a <a href="http://news.yahoo.com/s/ap/20100218/ap_on_re_us/us_plane_crash_texas">lunatic who crashed a plane into the IRS building</a>. The news didn’t hit the place I was working at yet so I didn’t know what was going on. But as we talked about the news, it reminded me of 9-11, plane crashing into Pentagon. Plane crashing into a building—yep, it definitely reminds you of the threats out there. Eventually we talked business and ended our call and I went about my day.</p>
<p>I’m not sure if the crash took out IT resources (such as servers) for the IRS. I couldn’t help but think, “If the crash took out IRS servers, were they able to recover in a timely fashion”? Yeah I know it’s geeky and nerdy to be thinking about these things but I’m an IT pro—I can’t help but ponder these things! <img src='http://spdeveloper.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>Every IT resource—infrastructure and systems alike—should have a disaster/recovery plan</strong>. Within government agencies, they like to call this Continuity of Operations Planning or COOP. COOP is pretty comprehensive and includes not just how to recover IT but also how management succession, crisis procedures, etc. If you are part of IT and you get detailed to participate in COOP planning, most of your contributions to this COOP plan will revolve around recovering IT assets such as servers, applications, databases, and the like,</p>
<p>I can’t remember how many times I’ve seen network and DB administrators claim “yeah we have backups” and when disaster comes, the backups were no good and couldn’t be restored! What good is that??! What the hell is that?? See, <strong>it’s not enough that you are backing up data and applications; you must also rehearse recovery procedures</strong> using the capture back-ups so that you can confidently report to your management, “Yes, we have backups and can recover in the event of a disaster.”</p>
<p>In the SharePoint world, it’s not enough that you are backing up content and configuration databases—you should rehearse recovery procedures from time to time. How do you know you can recover a toasted SharePoint farm configuration if you’ve never rehearsed it and seen with your own two eyes that your backups are good? <strong>You must test your recovery procedures</strong>.</p>
<p>How often should you backup and test recovery procedures? Well, one can probably write a dedicated Web site just on the topic of disaster-recovery (just google it and there are tons). So, without having to discuss this too much, as a general guide I like to follow, the more critical your systems, the more backups and test-recovery procedures you should do. For less-critical apps, your frequency doesn’t have to be as extensive (the important thing is you do it). Just as an example, for critical apps—daily full back-ups with incremental back-ups during the day and test recovery procedures every 2 weeks. The “least frequent” backup schedule I’ve ever done for a “non-critical” app is bi-weekly full backups and test recoveries every 3 months.</p>
<p>The point is, you must backup and be ready to recover when disaster strikes. Nine years ago, the terrorists attacked WTC and the Pentagon. Last week, some lunatic had a personal grudge against the government. Who knows, maybe this week, some admin at your office spills some latte on your production server and toasts mission-critical apps. Whatever the disaster may be, be ready.</p>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2010/02/you-have-backups-can-you-recover/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customizing WSP files using VSeWSS 1.3 in Visual Studio 2008</title>
		<link>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/</link>
		<comments>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 21:35:25 +0000</pubDate>
		<dc:creator>Gabe Hilado</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[SharePoint Deployment]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[Web Parts]]></category>
		<category><![CDATA[WSP]]></category>
		<category><![CDATA[WSS 3.0]]></category>

		<guid isPermaLink="false">http://spdeveloper.net/?p=154</guid>
		<description><![CDATA[Using VSeWSS 1.3 with Visual Studio 2008, when you create a new Web Part project, you can edit the Web part properties and descriptions using the WSP View. The typical Solution Explorer in VS 2008 looks like the following when working on a Web part project: In order to see the manifest.xml or feature.xml file, [...]]]></description>
			<content:encoded><![CDATA[<p>Using <strong>VSeWSS 1.3</strong> with Visual Studio 2008, when you create a new Web Part project, you can edit the Web part properties and descriptions using the WSP View. The typical Solution Explorer in VS 2008 looks like the following when working on a Web part project:</p>
<div id="attachment_155" class="wp-caption aligncenter" style="width: 291px"><img class="size-full wp-image-155" title="Solution Explorer in VS 2008" src="http://spdeveloper.net/wp-content/uploads/2009/12/solution-explorer.png" alt="Solution Explorer in VS 2008" width="281" height="216" /><p class="wp-caption-text">Solution Explorer in VS 2008</p></div>
<p>In order to see the manifest.xml or feature.xml file, you have to look at the &#8220;<strong><em>WSP View</em></strong>&#8220;. WSP View can be accessed by going to the menu and hitting <em>View&#8211;&gt;Other Windows&#8211;&gt;WSP View</em>. The WSP View looks like the following:</p>
<div id="attachment_156" class="wp-caption aligncenter" style="width: 293px"><img class="size-full wp-image-156" title="WSP View" src="http://spdeveloper.net/wp-content/uploads/2009/12/wsp-view.png" alt="WSP View" width="283" height="287" /><p class="wp-caption-text">WSP View</p></div>
<p>The <strong>manifest.xml</strong> file doesn&#8217;t contain &#8220;product description&#8221; type information. The <strong>manifest.xml</strong> contains assemblies and features information. The <strong>feature.xml</strong> file, that on the other hand, start containing &#8220;description&#8221; type data. Here&#8217;s what the feature.xml contents typically look like:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Feature Id=&quot;cfc5cfdd-62cf-4d98-aeba-e1b38ec6f64f&quot;

             Title=&quot;HelloPart&quot;

             Description=&quot;A Web part that wants to say hello to you.&quot;

             Scope=&quot;Site&quot; Version=&quot;1.0.0.0&quot; Hidden=&quot;FALSE&quot;

             DefaultResourceFile=&quot;core&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot;&gt;

  &lt;ElementManifests&gt;

    &lt;ElementManifest Location=&quot;HelloPart\HelloPart.xml&quot; /&gt;

    &lt;ElementFile Location=&quot;HelloPart\HelloPart.webpart&quot; /&gt;

  &lt;/ElementManifests&gt;

&lt;/Feature&gt;
</pre>
<p>See that <em><strong>Title</strong></em> and <em><strong>Description</strong></em> attributes inside the Feature element? They will get displayed in the Site Features Gallery: </p>
<div id="attachment_159" class="wp-caption aligncenter" style="width: 512px"><img class="size-full wp-image-159 " title="WP Title and Description in the Features Gallery" src="http://spdeveloper.net/wp-content/uploads/2009/12/features-gallery.png" alt="WP Title and Description in the Features Gallery" width="502" height="248" /><p class="wp-caption-text">WP Title and Description in the Features Gallery</p></div>
<p>What about the <strong>Web part file</strong> (in the example I&#8217;m using above, the filename is HelloPart.webpart)? What information can be customized and modified here? First, let&#8217;s take a look at the contents of the webpart file:</p>
<pre class="brush: xml;">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;webParts&gt;

  &lt;webPart xmlns=&quot;http://schemas.microsoft.com/WebPart/v3&quot;&gt;

    &lt;metaData&gt;

      &lt;!--

      The following Guid is used as a reference to the web part class,

      and it will be automatically replaced with actual type name at deployment time.

      --&gt;

      &lt;type name=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; /&gt;

      &lt;importErrorMessage&gt;Cannot import HelloPart Web Part.&lt;/importErrorMessage&gt;

    &lt;/metaData&gt;

    &lt;data&gt;

      &lt;properties&gt;

        &lt;property name=&quot;Title&quot; type=&quot;string&quot;&gt;Gabe's Hello Web Part&lt;/property&gt;

        &lt;property name=&quot;Description&quot; type=&quot;string&quot;&gt;HelloPart is a user-friendly Web part....&lt;/property&gt;

      &lt;/properties&gt;

    &lt;/data&gt;

  &lt;/webPart&gt;

&lt;/webParts&gt;
</pre>
<p>Inside <em>webPart&#8211;&gt;data&#8211;&gt;properties</em> section, there are <em>property</em> elements. The first one is the &#8220;<strong><em>Title</em></strong>&#8221; and the other is the &#8220;<strong><em>Description</em></strong>&#8220;. The values for &#8220;Title&#8221; and &#8220;Description&#8221; contained in the webpart file are what gets displayed in the Web part catalog:</p>
<p> </p>
<div id="attachment_162" class="wp-caption aligncenter" style="width: 519px"><img class="size-full wp-image-162  " title="WP Title and Desription in the WP Catalog" src="http://spdeveloper.net/wp-content/uploads/2009/12/add-web-parts.png" alt="WP Title and Desription in the WP Catalog" width="509" height="509" /><p class="wp-caption-text">WP Title and Desription in the WP Catalog</p></div>
<p>Finally, let&#8217;s take a look at the <strong>Web part XML file</strong> (in the example I used above, the filename is HelloPart.xml). The Web part XML file contains the following:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Elements Id=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot; &gt;

  &lt;Module Name=&quot;WebParts&quot; List=&quot;113&quot; Url=&quot;_catalogs/wp&quot;&gt;

    &lt;File Path=&quot;HelloPart.webpart&quot; Url=&quot;HelloPart.webpart&quot; Type=&quot;GhostableInLibrary&quot; /&gt;

  &lt;/Module&gt;

&lt;/Elements&gt;
</pre>
<p>See how the <em>File</em> element doesn&#8217;t have any children? We can put a <em>Property</em> element as a child of the <em>File</em> element. This <em>Property</em> element will contain the &#8220;<strong><em>Group</em></strong>&#8221; the Web part appears in the catalog. By default, like the in the Web part XML file example above, the Group is not specified and therefore, the Web part gets listed under <em>Miscellaneous Group</em> in the Web Part catalog. If you want the Web part to appear in a group other than <em>Miscellaneous</em>, transform the Web part XML file from the above example to the following:</p>
<pre class="brush: xml;">

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;

&lt;Elements Id=&quot;247ef4d4-489d-46d1-a628-8d8daa6267a3&quot; xmlns=&quot;http://schemas.microsoft.com/sharepoint/&quot; &gt;

  &lt;Module Name=&quot;WebParts&quot; List=&quot;113&quot; Url=&quot;_catalogs/wp&quot;&gt;

        &lt;File Path=&quot;HelloPart.webpart&quot; Url=&quot;HelloPart.webpart&quot; Type=&quot;GhostableInLibrary&quot;&gt;

              &lt;Property Name=&quot;Group&quot; Value=&quot;My Stuff&quot;/&gt;

        &lt;/File&gt;

  &lt;/Module&gt;

&lt;/Elements&gt;
</pre>
<p>We added the <em>Property</em> element below the <em>File </em>element. The <em>Name </em>attribute of the <em>Property</em> element should have a value of &#8220;<strong><em>Group</em></strong>&#8221; and the <em>Value</em> attribute is the group name you want the Web part to appear in the catalog. In the example above, after the Web part gets deployed, the Web part appears in a category called &#8220;<em>My Stuff</em>&#8220;:</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 512px"><img class="size-full wp-image-168 " title="Web Part appearing on specified Group" src="http://spdeveloper.net/wp-content/uploads/2009/12/web-part-grouped.png" alt="Web Part appearing on specified Group" width="502" height="502" /><p class="wp-caption-text">Web Part appearing on specified Group</p></div>
]]></content:encoded>
			<wfw:commentRss>http://spdeveloper.net/2009/12/editing-wsp-file-using-vsewss-1-3-in-visual-studio-2008/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

