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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Word Document is ambiguous in the name space of Syncfusion

Thread ID:





101289 Oct 12,2011 07:48 PM UTC Oct 14,2011 03:47 AM UTC ASP.NET Web Forms (Classic) 3
Tags: DocIO
Asked On October 12, 2011 07:48 PM UTC

I using the DocIO example Table of Contents: I created a new asp/net page copied the aspx and code behind but I get the following error "Word Document is ambiguous in the name space of Syncfusion.DocIO.DLS".

I have the following imports on the page:
Imports Microsoft.VisualBasic
Imports System
Imports System.Data
Imports System.Configuration
Imports System.Web
Imports System.Web.Security
Imports System.Web.UI
Imports System.Web.UI.WebControls
Imports System.Web.UI.WebControls.WebParts
Imports System.Web.UI.HtmlControls
Imports Syncfusion.DocIO.DLS
Imports Syncfusion.DocIO
Imports System.Drawing
Imports System.ComponentModel

But there must be a conflict with them somewhere or the dll is not installed. Any ideas what I can check?


Lakshmi Devi S [Syncfusion]
Replied On October 13, 2011 11:53 AM UTC

Hi Rob,

Thank you for your interest in Syncfusion Products.

The ambiguity error occurs if a type has more than one definition, probably with each contained in a different assembly. If two assemblies have an identical type definition, then CLR will consider them as two separate types simply because they come from different assemblies. You may have mistakenly included both the assemblies Syncfusion.DocIO.Base.dll and Syncfusion.DocIO.Web.dll in your application which causes the ambiguity error on accessing WordDocument class.

The following assemblies need to be referenced in your application for the usage of Essential DocIO.

DocIO (Full-Trust)
• Syncfusion.Core.dll
• Syncfusion.Compression.dll
• Syncfusion.DocIO.Base.dll

DocIO (Partial-Trust) - ASP.NET
• Syncfusion.Core.dll
• Syncfusion.Compression.dll
• Syncfusion.DocIO.Web.dll

Please refer the below User Guide link for more information regarding assemblies reference in your application:

Please let us know if you have any questions.

Lakshmi Devi S

Replied On October 13, 2011 01:30 PM UTC

Great, I got it to work. I was using an asp.net Website and changed it to a asp.net web application where I could see the reference folder and added the base dll.


Lakshmi Devi S [Syncfusion]
Replied On October 14, 2011 03:47 AM UTC

Hi Rob,

Thank you for your update.

Please let us know if you face any other issues.

Lakshmi Devi S


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon