none
PWSFields and pwsctypes in Project Server 2013 are not activated. RRS feed

  • Question

  • the situation:

    Enabling the
    Feature PWS Id="90014905-433F-4a06-8A61-FD153A27A2B5"
    enables the
    Feature PWSIssues Id="60D1E34F-0EB3-4E56-9049-85DAABFEC68C"
    that reference the content type 0x0100DD9A1416BBC74a968F6E648718051133
    and the list defines fields Owner, AssignedTo, Status, ...
    these fields are defined in the
    Feature PWSFields Id="F386A1B6-B0F4-46d2-A122-B3A1E56EEB16"
    The content type is defined in Feature pwsctypes Id="389156CF-498B-41cd-A078-6CB086D2474B"

    The features PWSFields and pwsctypes are not activated on any site on my developer machines.

    If I enable the PWSFields (scope="site" which means SiteCollection) on a PWA-SiteCollection or any other SiteCollection a execption is thrown.

    PS ....> Enable-SPFeature -Url http://..../PWA  -Identity PWSFields
    Enable-SPFeature : A duplicate field name "Description" was found.

    ULS log:

    	0x1D7C	SharePoint Foundation         	General                       	88jb	Medium  	Feature Activation: Activating Feature 'PWSFields' (ID: 'f386a1b6-b0f4-46d2-a122-b3a1e56eeb16') at URL http://..../PWA.	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	Feature Infrastructure        	889v	High    	The element of type 'Field' for feature 'PWSFields' (id: f386a1b6-b0f4-46d2-a122-b3a1e56eeb16) threw an exception during activation: A duplicate field name "Description" was found.	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	General                       	72by	High    	Feature Activation: Threw an exception, attempting to roll back.  Feature 'PWSFields' (ID: 'f386a1b6-b0f4-46d2-a122-b3a1e56eeb16').  Exception: Microsoft.SharePoint.SPException: A duplicate field name "Description" was found.     at Microsoft.SharePoint.SPFeature.HandleProvisioningException(Exception e, Boolean force)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.SPFeat...	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	General                       	72by	High    	...ure.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	Monitoring                    	b4ly	High    	Leaving Monitored Scope (Feature Activation: Activating Feature 'PWSFields' (ID: 'f386a1b6-b0f4-46d2-a122-b3a1e56eeb16') at URL http://..../PWA.). Execution Time=925,5685	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	PowerShell                    	6tf2	High    	Microsoft.SharePoint.SPException: A duplicate field name "Description" was found.     at Microsoft.SharePoint.SPFeature.HandleProvisioningException(Exception e, Boolean force)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionFieldsAndContentTypes(SPFeaturePropertyCollection props, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionElements(SPFeaturePropertyCollection props, SPWebApplication webapp, SPSite site, SPWeb web, SPFeatureActivateFlags activateFlags, Boolean fForce)     at Microsoft.SharePoint.SPFeature.Activate(SPSite siteParent, SPWeb webParent, SPFeaturePropertyCollection props, SPFeatureActivateFlags activateFlags, Boolean fForce)     at...	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	PowerShell                    	6tf2	High    	... Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)     at Microsoft.SharePoint.SPFeature.ActivateDeactivateFeatureAtSite(Boolean fActivate, Boolean fEnsure, Guid featid, SPFeatureDefinition featdef, String urlScope, String sProperties, Boolean fForce)     at Microsoft.SharePoint.SPFeature.ActivateDeactivateFeatureAtScope(Boolean fActivate, Guid featid, SPFeatureDefinition featdef, String urlScope, Boolean fForce)     at Microsoft.SharePoint.PowerShell.SPCmdletEnableFeature.UpdateDataObject()     at Microsoft.SharePoint.PowerShell.SPCmdlet.ProcessRecord()	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    	0x1D7C	SharePoint Foundation         	PowerShell                    	91ux	High    	Error Category: InvalidData    Target Object  Microsoft.SharePoint.PowerShell.SPCmdletEnableFeature  Details  NULL  RecommendedAction NULL	91dcd9b2-f86a-4873-8aaf-4ba3eb072bcf
    

    In
    Feature fields Id="CA7BD552-10B1-4563-85B9-5ED1D39C962A"
     C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\fields\fieldswss3.xml
    there is a definition for Description
    Line 611:     
        <Field ID="{3f155110-a6a2-4d70-926c-94648101f0e8}"
            Name="Description"
            StaticName="Description"
            SourceID="http://schemas.microsoft.com/sharepoint/v3/fields"
            Type="Note"
            DisplayName="$Resources:core,GBW_FC_Description_Field;"
            Group="_Hidden"
            Sealed="TRUE"
            ReadOnly="TRUE">
        </Field>

    IMHO: you cannot create a site without that feature its a foundation feature.

    If project server while creating a pws - site the
    Feature PWS Id="90014905-433F-4a06-8A61-FD153A27A2B5"
    is enabled, but the content type is odd.
    the parent of the contenttype does not exists.
    The fields are list local - no site columns


    Here is my question:
    is their any hidden trick?
    is this by intention?
    is this a issue or kind of insect?

    p.s.
    i modified
    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\FEATURES\PWSFields\pwsfields.xml
    replacing field name="Description"  to field name="pwsDescription" (and all other fields ).
    modify two formula and the field refs
    created a new pwa
    enable the two featrues .. works
    creating a project the content type looks good.
    define deliverabls .. works

    Are the two features broken and forgotten sons of the project server?

    txs for an ideas to help me understand

    flori


    flori

    Wednesday, October 15, 2014 4:55 PM

All replies

  • PS C:\windows\system32> $f = Get-SPFeature -Identity 90014905-433f-4a06-8a61-fd153a27a2b5

    PS C:\windows\system32> $f |fl

    run above commands and share the result with me.


    Subhash

    Tuesday, June 6, 2017 6:08 PM
  • flori --

    Is your question somehow related to Microsoft Project Server, an enterprise scheduling tool?  If so, please elaborate the connection.  Otherwise, I would recommend that you repost your question in a more relevant user forum.  Hope this helps.


    Dale A. Howard [MVP]

    Wednesday, June 7, 2017 1:11 PM
    Moderator