SharePoint 2010 : Word Automation Service issue

%3CLINGO-SUB%20id%3D%22lingo-sub-1965759%22%20slang%3D%22en-US%22%3ESharePoint%202010%20%3A%20Word%20Automation%20Service%20issue%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1965759%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20having%20SharePoint%202010%20farm%2C%20with%202%20Web%20front%20end%20servers%2C%202%20Application%20servers%20and%202%20SQL%20servers.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20having%20a%20application%20which%20uses%20word%20automation%20services%2C%20to%20convert%20the%20word%20document%20to%20PDF.%20All%20of%20a%20sudden%20the%20PDF%20creation%20is%20failing%20when%20the%20application%20is%20calling%20conversionJob.Start().%20On%20checking%20the%20log%20files%20we%20found%20there%20is%20issue%20with%20the%20word%20automation%20web%20service.%20Hence%20on%20accessing%20the%20word%20automation%20web%20service%20we%20are%20getting%20the%20below%20error.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20any%20of%20you%20had%20faced%20similar%20issue%20and%20had%20got%20a%20fix%20for%20the%20same.%20Can%20you%20please%20let%20us%20know%2C%20what%20exactly%20can%20we%20do%20to%20fix%20our%20word%20automation%20web%20service%20issue%20as%20reported%20below.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAn%20ExceptionDetail%2C%20likely%20created%20by%20IncludeExceptionDetailInFaults%3Dtrue%2C%20whose%20value%20is%3A%3C%2FP%3E%3CP%3ESystem.InvalidOperationException%3A%20An%20exception%20was%20thrown%20in%20a%20call%20to%20a%20policy%20export%20extension.%3C%2FP%3E%3CP%3EExtension%3A%20System.ServiceModel.Channels.TransportSecurityBindingElement%3C%2FP%3E%3CP%3EError%3A%20Security%20policy%20export%20failed.%20The%20binding%20contains%20a%20TransportSecurityBindingElement%20but%20no%20transport%20binding%20element%20that%20implements%20ITransportTokenAssertionProvider.%20Policy%20export%20for%20such%20a%20binding%20is%20not%20supported.%20Make%20sure%20the%20transport%20binding%20element%20in%20the%20binding%20implements%20the%20ITransportTokenAssertionProvider%20interface.%20----%26gt%3B%20System.InvalidOperationException%3A%20Security%20policy%20export%20failed.%20The%20binding%20contains%20a%20TransportSecurityBindingElement%20but%20no%20transport%20binding%20element%20that%20implements%20ITransportTokenAssertionProvider.%20Policy%20export%20for%20such%20a%20binding%20is%20not%20supported.%20Make%20sure%20the%20transport%20binding%20element%20in%20the%20binding%20implements%20the%20ITransportTokenAssertionProvider%20interface.%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Channels.TransportSecurityBindingElement.System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(MetadataExporter%20exporter%2C%20PolicyConversionContext%20policyContext)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.MetadataExporter.ExportPolicy(ServiceEndpoint%20endpoint)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20---%20End%20of%20inner%20ExceptionDetail%20stack%20trace%20---%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataBehavior.MetadataExtensionInitializer.GenerateMetadata()%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataExtension.EnsureInitialized()%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.InitializationData.InitializeFrom(ServiceMetadataExtension%20extension)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.GetInitData()%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.TryHandleDocumentationRequest(Message%20httpGetRequest%2C%20String%5B%5D%20queries%2C%20Message%26amp%3B%20replyMessage)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.ProcessHttpRequest(Message%20httpGetRequest)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20SyncInvokeGet(Object%20%2C%20Object%5B%5D%20%2C%20Object%5B%5D%20)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object%20instance%2C%20Object%5B%5D%20inputs%2C%20Object%5B%5D%26amp%3B%20outputs)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc%26amp%3B%20rpc)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc%26amp%3B%20rpc)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc%26amp%3B%20rpc)%3C%2FP%3E%3CP%3E%26nbsp%3B%26nbsp%3B%20at%20System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean%20isOperationContextSet)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3ES.%20Vamsi%20Charan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1965759%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi All,

 

We are having SharePoint 2010 farm, with 2 Web front end servers, 2 Application servers and 2 SQL servers.

 

We are having a application which uses word automation services, to convert the word document to PDF. All of a sudden the PDF creation is failing when the application is calling conversionJob.Start(). On checking the log files we found there is issue with the word automation web service. Hence on accessing the word automation web service we are getting the below error.

 

If any of you had faced similar issue and had got a fix for the same. Can you please let us know, what exactly can we do to fix our word automation web service issue as reported below.

 

An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:

System.InvalidOperationException: An exception was thrown in a call to a policy export extension.

Extension: System.ServiceModel.Channels.TransportSecurityBindingElement

Error: Security policy export failed. The binding contains a TransportSecurityBindingElement but no transport binding element that implements ITransportTokenAssertionProvider. Policy export for such a binding is not supported. Make sure the transport binding element in the binding implements the ITransportTokenAssertionProvider interface. ----> System.InvalidOperationException: Security policy export failed. The binding contains a TransportSecurityBindingElement but no transport binding element that implements ITransportTokenAssertionProvider. Policy export for such a binding is not supported. Make sure the transport binding element in the binding implements the ITransportTokenAssertionProvider interface.

   at System.ServiceModel.Channels.TransportSecurityBindingElement.System.ServiceModel.Description.IPolicyExportExtension.ExportPolicy(MetadataExporter exporter, PolicyConversionContext policyContext)

   at System.ServiceModel.Description.MetadataExporter.ExportPolicy(ServiceEndpoint endpoint)

   --- End of inner ExceptionDetail stack trace ---

   at System.ServiceModel.Description.ServiceMetadataBehavior.MetadataExtensionInitializer.GenerateMetadata()

   at System.ServiceModel.Description.ServiceMetadataExtension.EnsureInitialized()

   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.InitializationData.InitializeFrom(ServiceMetadataExtension extension)

   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.GetInitData()

   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.TryHandleDocumentationRequest(Message httpGetRequest, String[] queries, Message& replyMessage)

   at System.ServiceModel.Description.ServiceMetadataExtension.HttpGetImpl.ProcessHttpRequest(Message httpGetRequest)

   at SyncInvokeGet(Object , Object[] , Object[] )

   at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

   at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage4(MessageRpc& rpc)

   at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

 

Regards,

S. Vamsi Charan

0 Replies