473,396 Members | 2,018 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Namespace does not exist in VS-generated code

Hi all,

I used wsdl.exe to create a proxy class that I'm now trying to access from a
page. When building the project, the using command in the codebehind:

using System.Web.Services.Protocols;

is indicating:

"The type or namespace 'Services' does not exist in the class or namespace
System.Web."

I'm using VS 2003 (7.1.3088) and .NET framework 1.1 (1.1.4322) Could it
somehow be related to an old version of the framework?

TIA,

John

Nov 18 '05 #1
2 1793
The System.Web.Services name space is a separate .dll that expands on the
System.Web namespace.

Check your references folder. I suspect it only contains a reference to
System.Web.

If this is the case then you need to add the reference to
System.Web.Services.

The dll you need to add is: System.Web.Services.dll

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:uT****************@TK2MSFTNGP12.phx.gbl...
Hi all,

I used wsdl.exe to create a proxy class that I'm now trying to access from a page. When building the project, the using command in the codebehind:

using System.Web.Services.Protocols;

is indicating:

"The type or namespace 'Services' does not exist in the class or namespace
System.Web."

I'm using VS 2003 (7.1.3088) and .NET framework 1.1 (1.1.4322) Could it
somehow be related to an old version of the framework?

TIA,

John

Nov 18 '05 #2
And given the manual nature of using wsdl.exe and linking it all up, that
makes a lot of sense!

Thanks, again!

- John

"S. Justin Gengo" <sj*****@aboutfortunate.com> wrote in message
news:10*************@corp.supernews.com...
The System.Web.Services name space is a separate .dll that expands on the
System.Web namespace.

Check your references folder. I suspect it only contains a reference to
System.Web.

If this is the case then you need to add the reference to
System.Web.Services.

The dll you need to add is: System.Web.Services.dll

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
"John Spiegel" <js******@YETANOTHERSPAMHATERc-comld.com> wrote in message
news:uT****************@TK2MSFTNGP12.phx.gbl...
Hi all,

I used wsdl.exe to create a proxy class that I'm now trying to access from
a
page. When building the project, the using command in the codebehind:

using System.Web.Services.Protocols;

is indicating:

"The type or namespace 'Services' does not exist in the class or

namespace System.Web."

I'm using VS 2003 (7.1.3088) and .NET framework 1.1 (1.1.4322) Could it
somehow be related to an old version of the framework?

TIA,

John


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

88
by: Tim Tyler | last post by:
PHP puts most of its functions into a big flat global namespace. That leads to short function names - but creates a namespace minefield for programmers. Lots of the functions are legacies from...
25
by: kj | last post by:
Consider the following XML document: <?xml version='1.0' encoding='UTF-8'?> <bar:foo xmlns:bar='someuri'> <baz/> </bar:foo> What namespace does baz belong to? What is this namespace bound...
1
by: PaulThomas | last post by:
I am using VS.Net 2000 and C# trying to access the System.Management namespace in a Web Application -but- after: using System; using System.Management; I get: The type or namespace name...
0
by: M D | last post by:
Can someone explain this debugger message to me? VS 2002 using c#: __________________________________________________________ C:\Documents and Settings\mardukes\My Documents\Visual Studio...
4
by: Andreas von Linden | last post by:
Hello all, i'am using VS .NET 2003 Prof (new installed with .NET 1.1) on WinXP Prof (SP2). I need to programm an small SMTP Client in C#. When i try using System.Web.Mail i get the Errormsg...
0
by: Tressa | last post by:
Sorry to be such a novice about this but..... I have a windows service. It contains two separate files. Both have the same namespace name. I need to pass "bDisplay" into the other file. I am...
2
by: steve | last post by:
Can someone point me to some information on namespace best practices? Questions I have are as follows: 1) Should I use .NET namespaces or URL, URI and URN's? Ie mycompany.mydivision.myapp vs...
1
by: SMart | last post by:
I am having a problem with a C# dll in my Visual Studio 2005 ASP.NET web site project: when I add a reference to a certain the dll, it tells me that the type or namespace “Log” does not exist in the...
2
by: shalong | last post by:
Hi all, VS 2008 is complaining that HttpWebRequest class is not in System.Net namespace I have referenced System.Net and have coded "using System.Net" I think its a setup problem rather than a...
2
by: sushilkaushik | last post by:
In my VC++ project (using Visual Studio 2005) I have two DLLs : CommonClasses.dll and CheckIn.dll I added both of them in exactly the same way. First, CommonClesses and then CheckIn, using...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.