Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Word to PDF converison solution using word automation shows a feature not activated

$
0
0

http://msdn.microsoft.com/en-us/library/ff181518(v=office.14).aspx

I have tried to create a new solution in Visual Studio using the details above. Each time I get an error stating that the Feature 1 is not enabled.

Note this is my first using Visual Studio as I am a sharepoint admin normally.

Any advice

Trace below from ULS log.

---

01/16/2014 14:36:03.69 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Logging Correlation Data xmnv Medium Name=Request (POST:http://iristest:80/Policy/documents/PolicyDocumentSets/_layouts/ManageFeatures.aspx) 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.71 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Logging Correlation Data xmnv Medium Site=/Policy/documents 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.74 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (CachedObjectFactory: Caching Web at:http://iristest/Policy/documents/PolicyDocumentSets). Execution Time=13.3371 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.77 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation General 8e1f High Failed to find the XML file at location '14\Template\Features\ConvertingWordtoPDF_Feature1\feature.xml' 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.77 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation General 88jb Medium Feature Activation: Activating Feature 'Policy_Convert_Word_PDF_Feature1' (ID: 'cc7e815f-e17f-4624-abb6-13a8eb019c41') at URLhttp://iristest/Policy/documents/PolicyDocumentSets. 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.78 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation General 6644 Critical Event manager error: Could not load type 'Policy_Convert_Word_PDF.ConvertWordToPDFEventReceiver.ConvertWordToPDFEventReceiver' from assembly 'Policy_Convert_Word_PDF, Version=1.0.0.0, Culture=neutral, PublicKeyToken=2b39a7d6ec9ce1c3'. 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.78 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Feature Infrastructure 889x High The element of type 'Receivers' for feature 'Policy_Convert_Word_PDF_Feature1' (id: cc7e815f-e17f-4624-abb6-13a8eb019c41) threw an exception during activation: Operation is not valid due to the current state of the object. 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.78 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation General 72by High Feature Activation: Threw an exception, attempting to roll back.  Feature 'Policy_Convert_Word_PDF_Feature1' (ID: 'cc7e815f-e17f-4624-abb6-13a8eb019c41').  Exception: System.InvalidOperationException: Operation is not valid due to the current state of the object.     at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionContentTypeAndEventReceiverBindings(SPFeaturePropertyCollection props, SPSite site, SPWeb web, 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) 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.80 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (Feature Activation: Activating Feature 'Policy_Convert_Word_PDF_Feature1' (ID: 'cc7e815f-e17f-4624-abb6-13a8eb019c41') at URL http://iristest/Policy/documents/PolicyDocumentSets.). Execution Time=15.8056 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.80 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Runtime tkau Unexpected System.InvalidOperationException: Operation is not valid due to the current state of the object.    at Microsoft.SharePoint.Administration.SPElementDefinitionCollection.ProvisionContentTypeAndEventReceiverBindings(SPFeaturePropertyCollection props, SPSite site, SPWeb web, 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 Microsoft.SharePoint.SPFeatureCollection.AddInternal(SPFeatureDefinition featdef, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly)     at Microsoft.SharePoint.SPFeatureCollection.AddInternalWithName(Guid featureId, String featureName, Version version, SPFeaturePropertyCollection properties, SPFeatureActivateFlags activateFlags, Boolean force, Boolean fMarkOnly, SPFeatureDefinitionScope featdefScope)     at Microsoft.SharePoint.SPFeatureCollection.Add(Guid featureId, Boolean force, SPFeatureDefinitionScope featdefScope)     at Microsoft.SharePoint.WebControls.FeatureActivator.ActivateFeature(Guid featid, SPFeatureDefinitionScope featdefScope)     at Microsoft.SharePoint.WebControls.FeatureActivatorItem.BtnActivateFeature_Click(Object objSender, EventArgs evtargs)     at System.Web.UI.WebControls.Button.OnClick(EventArgs e)     at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)     at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:03.80 w3wp.exe (0x0CC8) 0x0CD0 SharePoint Foundation Monitoring b4ly Medium Leaving Monitored Scope (Request (POST:http://iristest:80/Policy/documents/PolicyDocumentSets/_layouts/ManageFeatures.aspx)). Execution Time=108.5555 724822e1-8ca3-4065-8e83-d58ecd9f4a8a
01/16/2014 14:36:04.74 w3wp.exe (0x0CC8) 0x131C Web Content Management Publishing ck1b Medium Populating navigation children for web: /POLICY/DOCUMENTS/POLICYDOCUMENTSETS 933801f4-29a7-4620-8e56-6c681dafd49f
01/16/2014 14:36:04.75 w3wp.exe (0x0CC8) 0x131C SharePoint Foundation Monitoring b4ly High Leaving Monitored Scope (PortalSiteMapNode: Populating navigation children for web: /POLICY/DOCUMENTS/POLICYDOCUMENTSETS). Execution Time=9.5186 933801f4-29a7-4620-8e56-6c681dafd49f


Adrian Barber




Viewing all articles
Browse latest Browse all 11571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>