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

How to eradicate "Parse Error: "Autocomplete is ambiguous in the namespace 'SyncFusion.JavaScript.Web'" occurs while running the ASP.NET sample"?

Platform: ASP.NET Web Forms |
Control: AutoComplete |
Published Date: January 22, 2015 |
Last Revised Date: February 4, 2016 |
Product Version: 13.4.0.53
Tags: ambiguous

Problem

Parse Error: "Autocomplete is ambiguous in the namespace SyncFusion.JavaScript.Web" occurs while running the ASP.NET sample having Syncfusion Tools controls.

The following screenshot displays the error.

 

C:\Users\Rajaveni\Downloads\sampl\autocomplete\Screenshot_b7d115d2 (2)\Screenshot.png

Figure 1: Error

Reason

This error occurs due to the mismatching of DLL version referred in your sample, when the assemblies referred in the application and the .NET Framework version of the application are different.

Solution

To resolve this issue, you need to refer the assembly DLL version that matches with the framework version used in the application.

And also, all the assemblies referred inside the web.config file should match your .NET framework version.

When you are using 13.4.0.53 and the frame work version is 4.6, then the DLL version should be 13.4460.0.53. Check the bin folder and refer the following table for DLL reference.

Table 1: DLL Reference

 .Net Frame Work Version

DLL Reference

4.0

13.4400.0.53

4.5

13.4450.0.53

4.5.1

13.4451.0.53

4.6

13.4460.0.53

Follow the given steps:

  1. Right-click on the sample and select “Open file in Explorer”.
  2. Inside the Project folder, you get the bin folder.
  3. Check the version of DLLs inside the bin folder.

When the assemblies are referred from GAC reference, follow the provided steps.

  1. Open Solution Explorer in the application, click on References and get the Syncfusion.EJ and Syncfusion.EJ.Web assembly references.
  2. View the properties by right-clicking the Syncfusion.EJ.Web, inside references.
  3. Check the version of the assembly in the Properties tab.

 

Figure 2: Properties tab

ADD COMMENT
You must log in to leave a comment
Comments
Manoj [Syncfusion]
Dec 14, 2016
test comment Reply

Please sign in to access our KB

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