Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old October 7th, 2004, 11:25 AM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default namespace System.Web.UI

Hi everyone!

I've got a problem when I'm trying to run the solution. I get a message that System.Web.UI does not exist in the namespace System.Web. What is the problem?

Please help me!!!

  #2 (permalink)  
Old October 7th, 2004, 07:03 PM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello,

I'm working on the C# version and it's working if you just tell me when you see this error (in what page) if u can copy the exception message here this will be better.
thanks
Marenela

  #3 (permalink)  
Old October 8th, 2004, 01:08 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It's the PhilePage.cs!

The message is: The type or namespace name 'UI' does not exist in the class or namespace 'System.Web' (are you missing an assembly reference?)


  #4 (permalink)  
Old October 8th, 2004, 02:52 PM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

the code is running with me and I haven't gone through this problem. Anyway, this error means that you are using the namespace System.Web.UI and you didn't refer to the assembly that it contains so make sure that you are refrencing the assembly System.Web and tell me something did you installed thePhile solution on your PC using the readme file?
Thanks,
Marenela

  #5 (permalink)  
Old October 8th, 2004, 03:17 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm trying to build the solution from scratch, so I'm writing the main part myself!

Thanz, Henning

  #6 (permalink)  
Old October 8th, 2004, 04:34 PM
Authorized User
 
Join Date: Aug 2004
Location: , , .
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hello again,

 Good but you have to install the solution in your machine so you can understand it and then do your own app. anyway, did you fix the problem?
Thanks,
Marenela

  #7 (permalink)  
Old October 8th, 2004, 06:02 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Oftentimes, just because a namespace is within another that you found the DLL for, doesn't mean it belongs to it. Case in point: System.Web.UI.Design namespace resides in System.Design.DLL. However, for yours, it is in System.Web.DLL, so you have to add that as a reference.

Does that fix it?

Brian
  #8 (permalink)  
Old October 8th, 2004, 06:53 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks guys, I'll try it tomorrow.....Had a couple of drinks tonight, so it's no point of understanding it tonight, but tomorrow is another programming-day. I'll post another problem if it's reviels itselfs!

Thanks in advance.....Henning

  #9 (permalink)  
Old October 28th, 2004, 10:52 PM
Registered User
 
Join Date: Oct 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I had a similar error message pop up when I was copying and pasting the example code from an online book. The reson I was getting the error was that the example code does not include the end class, end namespace snipets. The compiler gets confused as to what you mean when it has other issues.

  #10 (permalink)  
Old November 16th, 2004, 03:51 PM
Registered User
 
Join Date: Nov 2004
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you are working through the book, you create a main Project, but then you have to create a new Class library called PhilePageBase
If you look in this projects refrences, it doesnt include system.web so you need to add it!!

it took me a good 30 mins looking and scratching my head.

sian
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Web.UI.Control.Controls Collection Ihoulun ASP.NET 1.0 and 1.1 Basics 0 October 17th, 2006 08:51 AM
access information from a datalist System.Web.UI.I kristian1977 ASP.NET 2.0 Basics 0 July 21st, 2006 09:28 AM
No System.Web.UI alexanderH BOOK: ASP.NET Website Programming Problem-Design-Solution 2 March 10th, 2005 03:04 AM
Subclassing system.web.ui.page gazeth BOOK: ASP.NET Website Programming Problem-Design-Solution 2 May 25th, 2004 11:02 AM



All times are GMT -4. The time now is 06:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.