473,811 Members | 3,521 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 'PresentationFa cade' 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
"PresentationFa cade", 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 1053
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 PresentationFac ade 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.u k> wrote in message
news:ON******** ******@TK2MSFTN GP11.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 'PresentationFa cade' 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
"PresentationFa cade", 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.u k> wrote in message
news:ON******** ******@TK2MSFTN GP11.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 'PresentationFa cade' 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
"PresentationFa cade", 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
20705
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 init() {
1
31239
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 joy. I got dev-c++ and a bit of winsock sample code. I've done nothing out of the ordinary. I could only assume that anyone else that downloaded this software and attempted this would meet with the same result. The problem lies with either the...
6
5625
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: " The document was understood, but it could not be processed. - The WSDL document contains links that could not be resolved. - There was an error downloading
14
13433
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 another PC that the database was installed on, the user is getting the message, "The project contains a missing or broken reference to the file 'CDO.DLL' version 1.21." However, I don't have a reference to cdo.dll; my reference is to cdosys.dll....
4
8264
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 try to add the references to the dll's. Is there a way round this problem? In C++ one could use header files... What can I do here?
8
3427
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 added. Converting the type library to a .Net assembly failed. A depended type library 'CDO' could not be converted to a .NET assembly. A dependent type library 'ADODB' could not be converted to a .NET assembly. Item has already been added." ...
8
9766
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 problem: my vb.net program has problems with UNC. If the UNC server is restarted or goes off-line, my VB.net program crashes. The code for UNC access to the file is included below and is put in the tick event of a form timer control running every...
12
3028
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 function. When I try and compile the DLL I get "The type or namespace name "MyForm" could not be found. I think I have to reference the class but since the DLL needs to be built before the EXE it looks like I have a chicken and egg type problem....
5
1777
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 application, using "Add web reference..." and specifying some web reference name "MyName" Normally I would do:
0
9726
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10647
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9204
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7667
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5553
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3017
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.