Learn More About the Bamboo SharePoint Administration Suite

Failed Document Conversion

rated by 0 users
This post has 27 Replies | 5 Followers

Top 25 Contributor
Posts 13
Points 284
jaywritermac Posted: Thu, May 22 2008 5:38 PM

 Hi,

I just configured an evaluation copy of the Word to PDF converter. Everything appears to be OK, however I get a

Succeeded 
Conversion failed for 1 file(s). Please refer to the log file for futher information.

and then in the list for failed conversions, I get the error message "Response is not well-formed XML." The document is a standard Word document for conversion with just text.

Any help is greatly appreciated.

 

Top 10 Contributor
Posts 240
Points 3,791

 Hello jaywritermac,

Thank you for your interest in our PDF Conversion product!  Commonly when you recieve a message like "Response is not well-formed XML" this means our NT services were unable to access the web service URL that you provided in the ConversionConfigurationList.  An easy way to confirm that the connection is correct with no errors, go to the ConversionConfigurationList and click on the provided URL in the Web Service URL column. By the way, for 100% confirmation, this should be done on the server directly. For example:

I am almost positive you will see an IIS standard error page with either 401, 403 or 404 error.  What you should see is this:

After resolving the expected IIS error message, give it about 2 minutes then it should successfully convert.

Hope this helps!

**************

Jeff Kozloff

Bamboo Solutions Corporation 

 

Top 25 Contributor
Posts 13
Points 284

 I can now see the Attach page. However, I receive the following error message after a "succeed" but error log generated message:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Server stack trace: at Bamboo.Conversion.OpenOfficeConverter.a.b() at Bamboo.Conversion.OpenOfficeConverter.a.d() at Bamboo.Conversion.OpenOfficeConverter.b(String A_0) at Bamboo.Conversion.OpenOfficeConverter.b(String A_0, String A_1) at Bamboo.Conversion.OpenOfficeConverter.Bamboo.Conversion.IConvert.Convert(String absoluteFilePath, String outputFilePath) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at Bamboo.Conversion.AsyncConvert.EndInvoke(IAsyncResult result) at Bamboo.Conversion.FileConverter.a(IConvert A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.b(String A_0, String A_1) at Bamboo.Conversion.FileConverter.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.PerformanceCountedEngine.Convert(Stream fileStream, String fileName, String convertedExtension) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Bamboo.Conversion.IFileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.Attach.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.Attach.RemotingCall(String fileName, String convertedExtension) at Bamboo.Conversion.Attach.GetConvertedFile(String fileName, String origExt, String convExt) --- End of inner exception stack trace ---
I am currently testing this on a virtual dev server. I have the Master List and Shadow List mapped to their respective locations, and I do have in the drop down for the Word document "View PDF Version".
Your help is greatly appreciated in this.
  • | Post Points: 22
Top 10 Contributor
Posts 192
Points 6,393

 Can you logon to the server where you installed the conversion service. You should logon interactively as the user which you configured the service to run as.

Then start OpenOffice writer and try to manually export to PDF, this option is under the file menu.

Does this work?

Did you see any registration screens?

Thanks

/jonas

 

  • | Post Points: 22
Top 25 Contributor
Posts 13
Points 284

This is the last message from the FailedConversions list:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Server stack trace: at Bamboo.Conversion.OpenOfficeConverter.a.b() at Bamboo.Conversion.OpenOfficeConverter.a.d() at Bamboo.Conversion.OpenOfficeConverter.b(String A_0) at Bamboo.Conversion.OpenOfficeConverter.b(String A_0, String A_1) at Bamboo.Conversion.OpenOfficeConverter.Bamboo.Conversion.IConvert.Convert(String absoluteFilePath, String outputFilePath) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at Bamboo.Conversion.AsyncConvert.EndInvoke(IAsyncResult result) at Bamboo.Conversion.FileConverter.a(IConvert A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.b(String A_0, String A_1) at Bamboo.Conversion.FileConverter.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.PerformanceCountedEngine.Convert(Stream fileStream, String fileName, String convertedExtension) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Bamboo.Conversion.IFileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.Attach.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.Attach.RemotingCall(String fileName, String convertedExtension) at Bamboo.Conversion.Attach.GetConvertedFile(String fileName, String origExt, String convExt) --- End of inner exception stack trace ---
I will remote into the server and try the OpenOffice manual export.
  • | Post Points: 5
Top 25 Contributor
Posts 13
Points 284

I did a manual export with openOffice, which produced a PDF document. I opened up the PDF and it verifies the data. I did not see any registration screens.

  • | Post Points: 22
Top 10 Contributor
Posts 192
Points 6,393

Hi,

And you logged on as the service identity?

After doing this do you still get the error when the conversion is run from SharePoint?

One more thing, is this the only document in your master list, or does some documents get converted?

Thanks

/Jonas

 

  • | Post Points: 22
Top 25 Contributor
Posts 13
Points 284

I am logged into the server with the identity I used to set up the converter. Do I then have to set up OpenOffice to do the export to my SharePoint library? It does the conversion fine. This is my first test document, so no other files have been converted yet.

  • | Post Points: 22
Top 10 Contributor
Posts 192
Points 6,393

Hi,

The only reason I want you to be logged in as that identity when you export the file is to make sure there are no problems with the user profile.

You don't have to configure anything, just make sure you can export that exact file manually.

Thanks

/Jonas

 

  • | Post Points: 22
Top 25 Contributor
Posts 13
Points 284

It converts to PDF and exports to the server drive with no issues. 

  • | Post Points: 22
Top 10 Contributor
Posts 192
Points 6,393

Thanks for the info.

If you run the conversion again, from withing SharePoint do you get the same error.

Do this:

1) Delete the error entry from FailedConversions

2) Edit a property of the document in the Master list.

/Jonas

 

  • | Post Points: 22
Top 25 Contributor
Posts 13
Points 284

I uploaded a new document and left the old one intact. This time it attempted to convert the 2 documents. I received the following error for both:

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Server stack trace: at Bamboo.Conversion.OpenOfficeConverter.a.b() at Bamboo.Conversion.OpenOfficeConverter.a.d() at Bamboo.Conversion.OpenOfficeConverter.b(String A_0) at Bamboo.Conversion.OpenOfficeConverter.b(String A_0, String A_1) at Bamboo.Conversion.OpenOfficeConverter.Bamboo.Conversion.IConvert.Convert(String absoluteFilePath, String outputFilePath) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at Bamboo.Conversion.AsyncConvert.EndInvoke(IAsyncResult result) at Bamboo.Conversion.FileConverter.a(IConvert A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.b(String A_0, String A_1) at Bamboo.Conversion.FileConverter.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.PerformanceCountedEngine.Convert(Stream fileStream, String fileName, String convertedExtension) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Bamboo.Conversion.IFileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.Attach.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.Attach.RemotingCall(String fileName, String convertedExtension) at Bamboo.Conversion.Attach.GetConvertedFile(String fileName, String origExt, String convExt) --- End of inner exception stack trace ---
  • | Post Points: 22
Top 10 Contributor
Posts 192
Points 6,393

Thanks,

Can you do one reinstallation of the server part before we continue trouble shooting.

/Jonas

 

  • | Post Points: 22
Top 25 Contributor
Posts 13
Points 284

Hi,

Sorry for the delay in responding, as I had another pressing issue pending. I am still receiving the error message. I uninstalled everything and reinstalled. First just the server part to test out and then the complete package. Below is the error detail: 

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Server stack trace: at Bamboo.Conversion.OpenOfficeConverter.a.b() at Bamboo.Conversion.OpenOfficeConverter.a.d() at Bamboo.Conversion.OpenOfficeConverter.b(String A_0) at Bamboo.Conversion.OpenOfficeConverter.b(String A_0, String A_1) at Bamboo.Conversion.OpenOfficeConverter.Bamboo.Conversion.IConvert.Convert(String absoluteFilePath, String outputFilePath) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink) Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase) at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData) at Bamboo.Conversion.AsyncConvert.EndInvoke(IAsyncResult result) at Bamboo.Conversion.FileConverter.a(IConvert A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.b(String A_0, String A_1) at Bamboo.Conversion.FileConverter.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.FileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.PerformanceCountedEngine.Convert(Stream fileStream, String fileName, String convertedExtension) at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs) at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext) Exception rethrown at [1]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Bamboo.Conversion.IFileConverter.Convert(Stream fileStream, String fileName, String convertedExtension) at Bamboo.Conversion.Attach.a(Stream A_0, String A_1, String A_2) at Bamboo.Conversion.Attach.RemotingCall(String fileName, String convertedExtension) at Bamboo.Conversion.Attach.GetConvertedFile(String fileName, String origExt, String convExt) --- End of inner exception stack trace ---

 

I uploaded 2 documents this time, and the error message for the configuration list returned:

Succeeded 
Conversion failed for 1 file(s). Please refer to the log file for futher information.

None of files converted in the library though.


  • | Post Points: 54
Top 10 Contributor
Posts 192
Points 6,393

Hi,

Thanks for trying a reinstall.

I forgot to ask you if you run the conversion service on a 64 bit OS ?

Can you give me the exact OS version, and do you run the conversion service on a dedicated server or on the same server as SharePoint?

Thanks

/Jonas 

 

  • | Post Points: 39
Page 1 of 2 (28 items) 1 2 Next > | RSS
  
Bamboo Solutions Corporation, 2002-2008