We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Can''t Open docx files

Thread ID:

Created:

Updated:

Platform:

Replies:

101420 Oct 24,2011 10:24 AM Nov 1,2011 09:07 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DocIO
Nick Williams
Asked On October 24, 2011 10:24 AM

Hi we have a fairly old SharePoint site which uses some pre-built web parts that we paid for from a third-party company that has since run into insolvency. We are upgrading our Office environment to 2010 (from 2003) and now I need to amend the web part solutions so that they will work with the new version of Office.

So the problem I'm experiencing is that i'm using the following C# to open a docx file and then I'm getting the error that i'm missing a dll.

WordDocument docTemp = new WordDocument();
Stream stream = file.OpenBinaryStream();
docTemp.Open(stream, FormatType.Docx); -- > causes error below

"Could not load file or assembly 'Syncfusion.Compression.Base, Version=7.102.0.30, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' or one of its dependencies. The system cannot find the file specified."

So basically i'm missing that file, looks like it has never been needed for 2003 files but now I need it, does anyone know how I go about obtaining this file please?

Many thanks for any help offered.

Nick


Lakshmi Devi S [Syncfusion]
Replied On October 25, 2011 04:30 AM

Hi Nick,

Thank you for your interest in Syncfusion Products.

The mentioned "FileNotFoundException" occurs if any necessary Syncfusion assemblies are not referenced in your application. Please make sure you have referenced the following Syncfusion assemblies in your application in order to use DocIO.

Full Trust Mode:
• Syncfusion.Core.dll
• Syncfusion.Compression.Base.dll
• Syncfusion.DocIO.Base.dll

Medium/Partial Trust Mode:
• Syncfusion.Core.dll
• Syncfusion.Compression.Base.dll
• Syncfusion.DocIO.Web.dll

For more information regarding the deployment of Syncfusion assemblies in applications, please refer our online documentation from the below link.

Documentation link:
http://help.syncfusion.com/ug_93/Reporting/DocIO/Windows%20Forms/default.htm?turl=Documents%2F231dlls.htm

Please find the Syncfusion assemblies installed (Syncfusion.Compression.Base.dll) in your system from the following location.
$system drive:\Program Files\Syncfusion\Essential Studio\$Version#\precompiledassemblies\$Version#\

Please let us know if you have any other questions.

Regards,
Lakshmi Devi S



Nick Williams
Replied On October 26, 2011 06:30 AM

Hi sorry we do not have your product installed. We paid for a solution from a vendor and they have just deployed 2 of the 3 mentioned DLLs. So what I'm asking is, is there a place to download the the DLL we are missing, or do we have to buy the full product and install, or is there another solution?

Thanks,
Nick


Administrator [Syncfusion]
Replied On November 1, 2011 09:07 AM

Hi Nick,

Thanks for the update.

If you want to refer those syncfusion assemblies in a new application means you need to install the Syncfusion Essential Studio setup in the development machine using a valid license key or an evaluation key. For that please contact salessupport@syncfusion.com and you will be given prompt assistance related to your license subscription .

If you wish you may download our latest evaluation version setup from the below mentioned link

http://www.syncfusion.com/downloads/evaluation

If you need those syncfusion assemblies to refer it in a webpart solution that was brought from a third party vendor means, please contact that third party vendor to resolve the reported error.

Please let us know if you have any queries.

Regards,
Sivaguru S


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;