Learn More About the Bamboo SharePoint Administration Suite

Failed Document Conversion

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

Top 10 Contributor
Posts 240
Points 3,791

 Due to the complexity of this issue, this thread has been taken offline for resolution.  We will update the thread when a resolution has been discovered.

Thank you!

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

Jeff Kozloff

Bamboo Solutions Corporation 

 

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

I am testing on a VM server running Windows Server 2003 R2 Enterprise Edition with SP2. VM is running 32 bit.

The prod servers we would look to run on are 64 bit running Windows Server 2003 R2, with one having SP1 and one with SP2. Neither is a VM.

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

Hi,

We have finally found a fix for this error

System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

For some reason the OpenOffice installation has not registered the GAC assemblies properly.

To work around this issue add the path to OpenOffice to your PATH environment variable.

http://www.oooforum.org/forum/viewtopic.phtml?t=57838

You can add it to the system environment variables or the specificu user that runs the Conversion Service.

Thanks!

/Jonas 

 

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

 Hi,

I added a path in the environment variables with no success, so I also added a path under the user: "C:\Program Files\OpenOffice.org 2.4\program;" with no success. The assemblies are both in the global GAC and the local assembly for OpenOffice. I still receive the no module found error log.

 

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

Hi

Did you restart the service after updating the PATH environment variable?

Thanks

/Jonas

 

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

Yes, I restarted the Bamboo services and also restarted the server. I then uploaded a new document and ran it again. I still receive the error about the module. Are there supposed to be any OpenOffice services in Services?  

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

There are no OpenOffice services.

Can you drag the assemblies from the %PROGRAMFILES%\OpenOffice.org 2.4\program\assembly folder into the GAC (%windir%\assembly) ?

 

 

 

 

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

I dragged the assemblies from OpenOffice and replaced the ones that were already in the GAC. I get the following now:

 

System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.IO.FileLoadException: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 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

Hi,

Can you delete all cli_xxx assemblies from our bin folder (%PROGRAMFILES%\Bamboo Solutions Corporation\Bamboo.Conversion.Service\bin) and see if you get a different error again? Don't forget to restart the service.

If you still get an error try to copy these assemblies cli_xxx from OpenOffice.org 2.4\program\assembly into our bin.

I still don't understand why the assembly is not loadedfrom the GAC, but we might have to repair it by using gacutil.

Here's some more info on the error we are seeing. http://blogs.msdn.com/junfeng/archive/2004/03/25/95826.aspx

Thanks

/Jonas

 

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

Hi,

There were no assemblies in the Conversion Service folder. I copied all the assemblies from the OpenOffice assembly folder to the Conversion Service folder, remapped the path, restarted the service, and got a module cannot be found error. I then tried to leave assmeblies in both locations, map paths to both, restarted, and received the same error. Then, I deleted from the Conversion Service folder, mapped a single path to OpenOffice, restarted the service again, and somehow it succeeded. I know in reading through the link in a previous post above here others had issues that then suddenly resolved. I am not sure what happened, as the cli_xxx files are both in the GAC and OpenOffice assembly folder as they were previously and had issues, but now it works.

So far, I have been able to successfully test uploading 3 documents and they have converted to PDF with the properties attached. I am going to test other types of documents as well and try to do a load test of multiple documents to different locations.

I appreciate all the help in resolving this issue. I will keep you updated on my progress. Again, thank you to everyone who helped out with this. Eveyone has been most helpful.

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

Hi,

I'm glad you are up and running. We are investigating this further and I will post any updates here.

Thanks

/Jonas

 

  • | Post Points: 5
Top 100 Contributor
Posts 3
Points 49
epaquet replied on Fri, Jul 18 2008 1:29 AM

 Hi,

I have the same problem (incorrect xml) except it seem to came from the right to execute the .asmx.

I setup WSS in Vista (with your great setup and tutorial), install the PDF converter and configure it on the same server as WSS.  It run with success but fail to convert all my documents.

I can not execute the .asmx.  How do I give permissions.

I got this error :Le fichier que vous tentez d'enregistrer ou d'extraire a été bloqué sur ce site Web par les administrateurs du serveur. (the file that you tried to save or extract on this web site is block by the administrators)

Any idea.

 

Erik

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

Erik,

You have most likely picked a web site that is stopped (Default Web Site) to host the conversion service (attach.asmx).

Unfortunately the setup program is listing all web sites without checking if they are running.

You can either manually copy the folder Bamboo.Conversion.FileService into the correct directory or reinstall the conversion service.

I suggest that you reinstall, it will be much faster since you don't have to reinstall OpenOffice the second time. Make sure to pick a Web Site that is running (ex. SharePoint - 80)

Thanks

/Jonas

 

  • | Post Points: 5
Page 2 of 2 (28 items) < Previous 1 2 | RSS
  
Bamboo Solutions Corporation, 2002-2008