Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2006, 12:51 PM
Authorized User
 
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Class is ambiguous in namespace

I am building a new project, basing my code on the design in "ASP .NET Problem Design Solution" but I'm having a problem compiling two of the modules.

At the command prompt, I am getting the compiler error "Class name 'SiteIdentity' is ambiguous in namespace 'BenChEnterprises.WebModules.Accounts.Business'". I also have the same error for the class "SitePrincipal" in that namespace.

I'm getting a similar problem in the Accounts.Configuration namespace, with the class "ModuleSettings".

I am certain that those classes are only declared once in those namespaces. Are there any other reasons they could be "ambiguous"? Is there anything those classes have in common that could be causing my problems?

Many thanks

 
Old February 5th, 2006, 04:04 PM
Authorized User
 
Join Date: Jun 2004
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found the problem.
For anybody who might have done something similar, there was no error with my source code. The problem I caused myself was when compiling, in the list of assemblies, I specified the assembly that I was trying to compile at the time, so it was referencing itself against itself!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Compilation Error: 'Global' is ambiguous?? reidcor BOOK: ASP.NET Website Programming Problem-Design-Solution 10 November 26th, 2008 05:34 PM
access internal class by adding namespace shubhanker_techgeek General .NET 0 November 24th, 2008 08:49 AM
ambiguous references kscase VB Databases Basics 10 January 19th, 2007 06:42 PM
Error: "Ambiguous match found" Ser_Supremo C# 3 November 7th, 2006 06:58 AM
Regarding Class Library (.dll) from class file manish.sharma04 BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 1 March 3rd, 2006 07:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.