title: Elements of type 'Module' are not supported at the 'Farm' scope. This feature could not be installed
body: <p>I am packaging my Project into .wsp using the WSPBuilder Extension ->Build WSP. Once I run the `stsadm -o addsoltion -filename myWsp.wsp and go to deploy the soltion I get this: <br /></p>
  
  <p><b>
  Elements of type 'Module' are not supported at the 'Farm' scope.  This feature could not be installed. 
  </b></p>
  
  <p>Now I have a whole bunch of features that I have inhereted from previos developers and those features somehow had been deployed but I don't know how. 
  Can someone help me to actually fix the error and deploy what I need?</p>
  
  <p>Some of them look like this (the manifest.xml):</p>
  
  <pre><code>  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  </code></pre>
  
  <p>
      
      
          
      
      
          
      
      
          
      
      
          
      
      
          
      </p>
  
  <pre><code>&lt;ContentType ID="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9" Name="Test Portal Web Part Page"
               Description="Web Part Page for Test Portal."
               Version="1"
               Group="MyCompany Test Portal"&gt;
  &lt;/ContentType&gt;
  
  &lt;!-- Master Page Catalogs --&gt;
  &lt;Module Name="PageLayoutsModule" Url="_catalogs/masterpage" RootWebOnly="True" Path="pagelayouts"&gt;
      &lt;File Url="main.master" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"/&gt;
      &lt;File Url="BeaconLayout.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="BeaconLayout2.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="OneColumnLayout.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="TwoColumnLayout.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="ThreeColumnLayout.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="PrintLayout.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Test Portal Web Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390064DEA0F50FC8C147B0B6EA0636C4A7D400BE0CE07B5D2F45ef8EF5235741C789B9;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyArticleLinks.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyArticle.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyArticleRightImage.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyWelcomePage.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyWelcomePage2.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
      &lt;File Url="MyCompanyArticleRightWebParts.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;Property Name="ContentType" Value="$Resources:cmscore,contenttype_pagelayout_name;"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingPreviewImage" Value="~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png, ~SiteCollection/_catalogs/masterpage/$Resources:core,Culture;/Preview Images/ArticleLinks.png"&gt;&lt;/Property&gt;
          &lt;Property Name="PublishingAssociatedContentType"
                    Value=";#Article Page;#0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF3900242457EFB8B24247815D688C526CD44D;#"&gt;&lt;/Property&gt;
      &lt;/File&gt;
  &lt;/Module&gt;
  &lt;!-- Site Pages --&gt;
  &lt;Module Name="PagesModule" Url="Pages" RootWebOnly="True" Path="Pages"&gt;
      &lt;File Url="ResetForgottenPassword.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;AllUsersWebPart WebPartZoneID="Header" WebPartOrder="0"&gt;
              &lt;![CDATA[
                 &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                      &lt;webParts&gt;
                          &lt;webPart xmlns="http://schemas.microsoft.com/WebPart/v3"&gt;
                              &lt;metaData&gt;
                                  &lt;type name="MyCompany.TestPortal.Moss.WebParts.ResetDomainPasswordWebPart, MyCompany.TestPortal.Moss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4e32e6f1096bb318"/&gt;
                                  &lt;importErrorMessage&gt;Cannot import the Forgotten Password Reset Web Part.&lt;/importErrorMessage&gt;
                              &lt;/metaData&gt;
                              &lt;data&gt;
                                  &lt;properties&gt;
                                      &lt;property name="Title" type="string"&gt;MyCompany Test Portal Forgotten Password Reset Web Part&lt;/property&gt;
                                      &lt;property name="Description" type="string"&gt;MyCompany Test Portal Forgotten Password Reset Web Part&lt;/property&gt;
                                      &lt;property name="Group" type="string"&gt;MyCompany&lt;/property&gt;
                                  &lt;/properties&gt;
                              &lt;/data&gt;
                          &lt;/webPart&gt;
                      &lt;/webParts&gt;
              ]]&gt;
          &lt;/AllUsersWebPart&gt;
      &lt;/File&gt;
      &lt;File Url="SecretQAManage.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;AllUsersWebPart WebPartZoneID="Header" WebPartOrder="0"&gt;
              &lt;![CDATA[
                  &lt;?xml version="1.0" encoding="utf-8" ?&gt;
                  &lt;webParts&gt;
                      &lt;webPart xmlns="http://schemas.microsoft.com/WebPart/v3"&gt;
                          &lt;metaData&gt;
                              &lt;type name="MyCompany.TestPortal.Moss.WebParts.SecretQAManageWebPart, MyCompany.TestPortal.Moss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4e32e6f1096bb318" /&gt;
                              &lt;importErrorMessage&gt;Cannot import this Web Part.&lt;/importErrorMessage&gt;
                          &lt;/metaData&gt;
                          &lt;data&gt;
                              &lt;properties&gt;
                                  &lt;property name="Title" type="string"&gt;MyCompany Test Portal Secret Questions &amp;amp; Answers Management Web Part&lt;/property&gt;
                                  &lt;property name="Description" type="string"&gt;MyCompany Test Portal Secret Questions &amp;amp; Answers Management Web Part&lt;/property&gt;
                                  &lt;property name="Group" type="string"&gt;MyCompany&lt;/property&gt;
                              &lt;/properties&gt;
                          &lt;/data&gt;
                      &lt;/webPart&gt;
                  &lt;/webParts&gt;
              ]]&gt;
          &lt;/AllUsersWebPart&gt;
      &lt;/File&gt;
      &lt;File Url="UserManagement.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;AllUsersWebPart WebPartZoneID="MainWebPartZone" WebPartOrder="0"&gt;
              &lt;![CDATA[
              &lt;?xml version="1.0" encoding="utf-8" ?&gt;
              &lt;webParts&gt;
                  &lt;webPart xmlns="http://schemas.microsoft.com/WebPart/v3"&gt;
                      &lt;metaData&gt;
                          &lt;type name="MyCompany.TestPortal.Moss.WebParts.SsoUserCredentialsWebPart, MyCompany.TestPortal.Moss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4e32e6f1096bb318" /&gt;
                          &lt;importErrorMessage&gt;Cannot import this Web Part.&lt;/importErrorMessage&gt;
                      &lt;/metaData&gt;
                      &lt;data&gt;
                          &lt;properties&gt;
                              &lt;property name="ChromeType" type="chrometype"&gt;None&lt;/property&gt;
                              &lt;property name="Title" type="string"&gt; SSO User Credentials Web Part&lt;/property&gt;
                              &lt;property name="Description" type="string"&gt;MyCompany Test Portal SSO User Credentials Web Part&lt;/property&gt;
                              &lt;property name="Group" type="string"&gt;MyCompany&lt;/property&gt;
                          &lt;/properties&gt;
                      &lt;/data&gt;
                  &lt;/webPart&gt;
              &lt;/webParts&gt;
              ]]&gt;
          &lt;/AllUsersWebPart&gt;
      &lt;/File&gt;
      &lt;File Url="ChangePassword.aspx" IgnoreIfAlreadyExists="true" Type="GhostableInLibrary"&gt;
          &lt;AllUsersWebPart WebPartZoneID="MainWebPartZone" WebPartOrder="0"&gt;
              &lt;![CDATA[
              &lt;?xml version="1.0" encoding="utf-8"?&gt;
                  &lt;webParts&gt;
                  &lt;webPart xmlns="http://schemas.microsoft.com/WebPart/v3"&gt;
                      &lt;metaData&gt;
                          &lt;type name="MyCompany.TestPortal.Moss.WebParts.ChangePasswordWebPart, MyCompany.TestPortal.Moss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4e32e6f1096bb318" /&gt;
                          &lt;importErrorMessage&gt;Cannot import this Web Part.&lt;/importErrorMessage&gt;
                      &lt;/metaData&gt;
                      &lt;data&gt;
                          &lt;properties&gt;
                              &lt;property name="ChromeType" type="chrometype"&gt;None&lt;/property&gt;
                              &lt;property name="Title" type="string"&gt; Change  Password Web Part&lt;/property&gt;
                              &lt;property name="Description" type="string"&gt;MyCompany Test Portal Change  Password Web Part&lt;/property&gt;
                              &lt;property name="Group" type="string"&gt;MyCompany&lt;/property&gt;
                          &lt;/properties&gt;
                      &lt;/data&gt;
                  &lt;/webPart&gt;
                  &lt;/webParts&gt;
              ]]&gt;
          &lt;/AllUsersWebPart&gt;
          &lt;AllUsersWebPart WebPartZoneID="MainWebPartZone" WebPartOrder="0"&gt;
              &lt;![CDATA[
              &lt;?xml version="1.0" encoding="utf-8"?&gt;
                  &lt;webParts&gt;
                  &lt;webPart xmlns="http://schemas.microsoft.com/WebPart/v3"&gt;
                      &lt;metaData&gt;
                          &lt;type name="MyCompany.TestPortal.Moss.WebParts.ChangeNetworkPasswordWebPart, MyCompany.TestPortal.Moss, Version=1.0.0.0, Culture=neutral, PublicKeyToken=4e32e6f1096bb318" /&gt;
                          &lt;importErrorMessage&gt;Cannot import this Web Part.&lt;/importErrorMessage&gt;
                      &lt;/metaData&gt;
                      &lt;data&gt;
                          &lt;properties&gt;
                              &lt;property name="ChromeType" type="chrometype"&gt;None&lt;/property&gt;
                              &lt;property name="Title" type="string"&gt; Change Network Password Web Part&lt;/property&gt;
                              &lt;property name="Description" type="string"&gt;MyCompany Test Portal Change Network Password Web Part&lt;/property&gt;
                              &lt;property name="Group" type="string"&gt;MyCompany&lt;/property&gt;
                          &lt;/properties&gt;
                      &lt;/data&gt;
                  &lt;/webPart&gt;
                  &lt;/webParts&gt;
              ]]&gt;
          &lt;/AllUsersWebPart&gt;
      &lt;/File&gt;
  &lt;/Module&gt;
  </code></pre>
  
  <p></p>
  
  
  -->