Wrox Programmer Forums
|
BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio
This is the forum to discuss the Wrox book ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solution by Vincent Varallo; ISBN: 9780470396865
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 3.5 Enterprise Application Development with Visual Studio 2008: Problem Design Solutio 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 September 13th, 2009, 10:26 AM
Authorized User
 
Join Date: Sep 2009
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default stuck in chap 4 with error (master page)

hi,
after completing the master page, i tried to compile the solution and i get these erros and warnings :

Avertissement 1 The type 'OneAfrik' in 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\oneafrikui\c2b33a49\41291c69\App_Web_8z2bhf8 l.0.cs' conflicts with the imported namespace 'OneAfrik' in 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\oneafrikui\c2b33a49\41291c69\assembly\dl3\06 57d2bb\40e86992_7634ca01\OneAfrik.BLL.DLL'. Using the type defined in 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files\oneafrikui\c2b33a49\41291c69\App_Web_8z2bhf8 l.0.cs'.
C:\Users\georges\Documents\Visual Studio 2008\Projects\OneAfrikSolution\OneAfrikUI\OneAfrik .master.cs 13 7 http://localhost/OneAfrikUI/

Erreur 2 The type name 'BLL' does not exist in the type 'OneAfrik' C:\Users\georges\Documents\Visual Studio 2008\Projects\OneAfrikSolution\OneAfrikUI\OneAfrik .master.cs 13 16 http://localhost/OneAfrikUI/

i don't have any idea of the cause.
i changed my solution names to :
OneAfrik.DAL
OneAfrik.BLL
OneAfrikUI
etc...

thank you
Georges
 
Old April 6th, 2010, 03:27 AM
Registered User
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have the same problem
 
Old April 6th, 2010, 06:07 AM
Registered User
 
Join Date: Apr 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's ok. I found the problem. The problem is, we are not allowed to give the same names to a namespace and a class in that namespace. For example it's impossible a "Line" class under "Line" namespace. My problem was I named the masterpage the same as my namespace name.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Stuck with the silverlight example of chap 3 Tropics2a BOOK: Professional Microsoft SharePoint 2007 Development Using Microsoft Silverlight 2 ISBN: 978-0-4 0 April 16th, 2009 03:28 AM
Master Page error michaelhruby BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 December 3rd, 2008 04:25 PM
Chap 2 - Template.master.cs rparchment BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 October 25th, 2006 10:55 PM
Chap 17, page 609, error -- stumped HartfordDeveloper BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 December 8th, 2005 11:52 PM





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