473,666 Members | 2,073 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

namespace issue (very odd)

Hi everyone,

I have the following very odd problem (only happens on Windows 2003
Server and not XP)

In my class I have (no namespace)
class test {
...
public static void method (sforce.SforceS ervice binding)
{
does something with binding
}
...
}

In my code-behind I have

namespace ns {
class someclass {
....
somemethod() {
sforce.SforceSe rvice binding; // Define it
test.method (binding); // Call the method in test
does something
}
}

Even though they are both referencing the same sforce.SforceSe rvice on
Windows 2003 Server (not on XP) I get an error message that says
parameter is incorrect
since ns.sforce.Sforc eService is not the same as sforce.SforceSe rvice.
It automatically appends ns to it (happens on on the production running
Windows 2003 Server). Is there a way to force sforce.SforceSe rvice to
stay as is and not become ns.sforce.Sforc eService?

Thanks
MA

Jun 14 '06 #1
0 797

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

Similar topics

8
5864
by: Jason Heyes | last post by:
I wrote: namespace { void f(); } void f() { std::cout << "hello world" << std::endl; } When I compile, I receive this error: unresolved external symbol "bool __cdecl `anonymous namespace'::f(void)" What have I done wrong? Thanks.
6
24737
by: Robert Warnestam | last post by:
I've two class libraries, where one is referencing the other. The first library looks like this; (assembly name and root name space is set to Codab.Parser) namespace Codab.Parser { public class Parser {...} ... } The second library looks like this (assemble name and root name space is set to Codab.TapNet)
11
1369
by: wASP | last post by:
Hi, I've got a pair of int properties in a class. The properties in question are indexing values - but that's not relevant to my problem - or it's just symptomatic ... sort of. They are declared as follows:
0
1306
by: Solomon Shaffer | last post by:
This is very interesting - and odd. I have a number of LinkButtons that are created in a custom data grid that I created. The purpose of the LinkButtons is to provide alphabetical filtering functionality on the grid. Therefore, a LinkButton is added for every letter of the alphabet. I also have a numeric filter button and an "All" button that removes the filter. All of the LinkButtons are wired up to the same event called...
0
2831
by: Charles Leonard | last post by:
I need opinions regarding Web Service Namespace usage and/or suggestions regarding how to handle deployment. Our web service application will exist in two different domains and is likely to exist in multiple domains. There is a prevailing opinion here at my office that the Web Service Namespace should match the domain where it is installed. From what I have read, the Namespace simply needs to be unique and does not necessarily need to...
2
5052
by: Pathogenix | last post by:
Greetings, I'm trying to fix a web service client which has been implemented in a dailywtf worthy manner. I've decided to rip all the old code out and start again from the proxy generated by wsdl.exe. I've immediately run up against the same problem that spawned the original, deeply fascinating code. I can make a request, and Fiddler shows that the service is returning a valid response, but the client is returning a null object....
3
1033
by: Daniel Nogradi | last post by:
I would like to give the same name to a keyword argument of a class method as the name of a function, with the function and the class living in the same namespace and the class method using the aforementioned function. So far I've been unsuccesfully trying to go along these lines: def great_name( x ): return x.upper( ) class myclass:
12
1493
by: cpptutor2000 | last post by:
I am new to PHP and I am having a very odd problem. Could some PHP guru please help. I am passing some variables from one page to the next, and in the starting page, I have: <div id="navigation" align="center"> <form NAME="addnewpoetpoemform" METHOD="GET" ACTION="addpoetpoem.php"> <table align="center">
3
1764
by: Elliott Roberts | last post by:
I'm seeing a VERY odd issue after moving my data from a SQL2000 DB to a SQL2005 DB. About half the time, when I request a value (using ors.fields("pagedata") for instance), I get nothing returned. I know there's data in the field, and I'm on the correct RS object. Sometimes, when I move the call to another portion of the page, I get the data (while on the same RS object). I need to move to a new server running 2005, and folks are...
0
8448
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
8356
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,...
1
8552
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8640
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
7387
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
6198
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
4198
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...
1
2773
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.