February 06, 2007

Error - The type 'wsMyWeb.wsMyOps' is ambiguous: it could come from assembly....

Got following error while working on web service project with web deployment project:

This issue is soleved by deleting - App_Code.dll and App_global.asax.dll files.



Server Error in '/MyWebServices' Application.--------------------------------------------------------------------------------

The type 'wsMyWeb.wsMyOps' is ambiguous: it could come from assembly 'C:\MyWebServices\bin\wsMyWeb.DLL' or from assembly 'C:\MyWebServices\bin\App_Code.DLL'. Please specify the assembly explicitly in the type name. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: The type 'wsMyWeb.wsMyOps' is ambiguous: it could come from assembly 'C:\MyWebServices\bin\wsMyWeb.DLL' or from assembly 'C:\MyWebServices\bin\App_Code.DLL'. Please specify the assembly explicitly in the type name.


Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.