|
Subject:
|
namespace System.Web.UI
|
|
Posted By:
|
henninga
|
Post Date:
|
10/7/2004 10:25:32 AM
|
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!!!
|
|
Reply By:
|
groupmatch
|
Reply Date:
|
10/7/2004 6:03:48 PM
|
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
|
|
Reply By:
|
henninga
|
Reply Date:
|
10/8/2004 12:08:30 PM
|
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?)
|
|
Reply By:
|
groupmatch
|
Reply Date:
|
10/8/2004 1:52:59 PM
|
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
|
|
Reply By:
|
henninga
|
Reply Date:
|
10/8/2004 2:17:05 PM
|
I'm trying to build the solution from scratch, so I'm writing the main part myself!
Thanz, Henning
|
|
Reply By:
|
groupmatch
|
Reply Date:
|
10/8/2004 3:34:11 PM
|
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
|
|
Reply By:
|
bmains
|
Reply Date:
|
10/8/2004 5:02:52 PM
|
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
|
|
Reply By:
|
henninga
|
Reply Date:
|
10/8/2004 5:53:54 PM
|
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
|
|
Reply By:
|
haloway13
|
Reply Date:
|
10/28/2004 9:52:10 PM
|
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.
|
|
Reply By:
|
sianmace
|
Reply Date:
|
11/16/2004 2:51:09 PM
|
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
|