 |
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
|
|
|
|
|

October 7th, 2004, 10:25 AM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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!!!
|
|

October 7th, 2004, 06:03 PM
|
|
Authorized User
|
|
Join Date: Aug 2004
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

October 8th, 2004, 12:08 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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?)
|
|

October 8th, 2004, 01:52 PM
|
|
Authorized User
|
|
Join Date: Aug 2004
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

October 8th, 2004, 02:17 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I'm trying to build the solution from scratch, so I'm writing the main part myself!
Thanz, Henning
|
|

October 8th, 2004, 03:34 PM
|
|
Authorized User
|
|
Join Date: Aug 2004
Posts: 82
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

October 8th, 2004, 05:02 PM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
|
|
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
|
|

October 8th, 2004, 05:53 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|

October 28th, 2004, 09:52 PM
|
|
Registered User
|
|
Join Date: Oct 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|
|

November 16th, 2004, 03:51 PM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
|
 |