473,396 Members | 1,998 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.

Problem with Web Reference

Could someone help ?

I'm creating a new project and trying to create a web reference to a web
library assembly I've referenced quite happily from other web projects.
Trouble is : in my new project it refuses to recognise the reference I've
made and gives me the standard error whenever i try to use the reference:

The type or namespace 'PresentationFacade' could not be found (are you
missing a using directive or an assembly reference?)

I've checked and double-checked (and triple-checked) and the web reference
is exactly the same as in projects that uses the web reference without any
problem. When I create the reference I'm renaming it from "localhost" to
"PresentationFacade", but any attempt to refer to this name in code results
in the compile/link error - what am I doing wrong ? It's driving me insane
!!
Nov 18 '05 #1
2 1040
More Info :

My new project is created by re-using some old code (I dragged the .cs files
into the project) which already had code to use the web reference. I simply
made sure that when I created the web reference, it had the same name as
that already used in my code.

This seems to be the problem, since if I create a new (dummy) class file in
the same project I can reference PresentationFacade quite happily.

Is there a restriction that you can only use a web reference in a class file
that you create AFTER the web reference was created ??

"JezB" <je***********@blueyonder.co.uk> wrote in message
news:ON**************@TK2MSFTNGP11.phx.gbl...
Could someone help ?

I'm creating a new project and trying to create a web reference to a web
library assembly I've referenced quite happily from other web projects.
Trouble is : in my new project it refuses to recognise the reference I've
made and gives me the standard error whenever i try to use the reference:

The type or namespace 'PresentationFacade' could not be found (are you
missing a using directive or an assembly reference?)

I've checked and double-checked (and triple-checked) and the web reference
is exactly the same as in projects that uses the web reference without any
problem. When I create the reference I'm renaming it from "localhost" to
"PresentationFacade", but any attempt to refer to this name in code results in the compile/link error - what am I doing wrong ? It's driving me insane
!!

Nov 18 '05 #2
I guess the Renaming is creating a problem
r u renaming the the referneced dll it self or u r giving it a new name
while u r adding a reference to ur project
if u r doing the first option it will create probs
Atul
"JezB" <je***********@blueyonder.co.uk> wrote in message
news:ON**************@TK2MSFTNGP11.phx.gbl...
Could someone help ?

I'm creating a new project and trying to create a web reference to a web
library assembly I've referenced quite happily from other web projects.
Trouble is : in my new project it refuses to recognise the reference I've
made and gives me the standard error whenever i try to use the reference:

The type or namespace 'PresentationFacade' could not be found (are you
missing a using directive or an assembly reference?)

I've checked and double-checked (and triple-checked) and the web reference
is exactly the same as in projects that uses the web reference without any
problem. When I create the reference I'm renaming it from "localhost" to
"PresentationFacade", but any attempt to refer to this name in code results in the compile/link error - what am I doing wrong ? It's driving me insane
!!

Nov 18 '05 #3

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

Similar topics

1
by: Covad | last post by:
Hi all, For some reason my change() function is only called when the page loads. I'd much rather it gets called when the select changes. Here's the code: window.onload = init; function...
1
by: Dom | last post by:
I'm new to c++. Just started learning it 24 hours ago. Am running into a compile problem. Please, no one waste the effort telling me to google it. I've been researching it for quite a while with no...
6
by: trexim | last post by:
Hi, I am trying to create a Web Reference for CSTA using the URL http://www.ecma-international.org/standards/ecma-348/csta-wsdl/csta-wsdl-all-operations.wsdl Visual .Net complains that: "...
14
by: Neil Ginsberg | last post by:
I am using VBA/Access to send SMTP mail using CDO. I set a reference to "Microsoft CDO for Windows 2000 Library" (cdosys.dll). Everything works fine, both on my PC and on another PC. However, on...
4
by: pnp | last post by:
I'm developing an app (in C #) that uses 2 usercontrols that must be in different dll's. The problem is that each one needs to use the other, so as a result I get a circular reference error when I...
8
by: Rob Edwards | last post by:
When trying to add the Microsoft CDO for Exchange Management Library (aka CDOEXM.dll) I receive the following message: "A reference to 'Microsoft CDO for Exchange Management Library' could not be...
8
by: Sarah | last post by:
I need to access some data on a server. I can access it directly using UNC (i.e. \\ComputerName\ShareName\Path\FileName) or using a mapped network drive resource (S:\Path\FileName). Here is my...
12
by: scottt | last post by:
hi, I am having a little problem passing in reference of my calling class (in my ..exe)into a DLL. Both programs are C# and what I am trying to do is pass a reference to my one class into a DLL...
5
by: Nightfall | last post by:
Dear friends, consider the following scenario, in Visual Studio 2005 and C# - I create a ASP.NET web service ("server") with a class MyClass and a WebMethod SomeMethod() - I create a client...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.