Click here to Skip to main content
15,920,438 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
guys what is this error


The type 'KENTCRM._Default' is ambiguous: it could come from assembly 'D:\CRM\KENTCRM\KENTCRM\bin\KENTCRM.DLL' or from assembly 'D:\CRM\KENTCRM\KENTCRM\bin\KENTCRM.Business.DLL'. Please specify the assembly explicitly in the type name.
Posted

It means that you have used the same name for two different classes or variables, in two different assemblies. It's not a major problem - you just have to work out which one you meant to use and either fully qualify your reference or remove the other using statement from that file. If you put the caret in the name of the problem reference, a small red line will appear at the beginning. Click on it, and look at the options in the resulting drop down list.
 
Share this answer
 
The error is exactly what it says:

The compiler found 2 assemblies that could resolve to the KENTCRM type and is unsure which one you.

Solution: Use the fully qualified typename is your use statement.
 
Share this answer
 
The error you are getting basically means that, KENTCRM._Default is in two assemblies KENTCRM.DLL and KENTCRM.Business.DLL, hence you need to specify the assembly name from which you want to use KENTCRM._Default. For refer this[^]

hope it helps :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900