473,804 Members | 4,288 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

using System.Runtime. Remoting.Channe ls.Http

Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime. Remoting.Channe ls.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(400 0);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime .Remoting.Chann els' (are you missing an assembly reference?)

what I am doing wrong?
thanks!
Nov 17 '05 #1
4 3417
marcelino,

You should use this at the top of your file instead:

using System.Runtime. Remoting.Channe ls.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime. Remoting.Channe ls.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(400 0);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime .Remoting.Chann els' (are you missing an assembly
reference?)

what I am doing wrong?
thanks!

Nov 17 '05 #2
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collecti ons.Generic;
using System.Text;
using System.Runtime. Remoting.Channe ls.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(400 0);
ChannelServices .RegisterChanne l(aJobChannel);
}
.....
.....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime. Remoting.Channe ls.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
Hi,

I have c# express beta
I try to write the following using clause:

System.Runtime. Remoting.Channe ls.Http;

because I want to create a http channel.

HttpChannel aJobChannel = new HttpChannel(400 0);

But the compiler doesn't want it...

The type or namespace name 'Http' does not exist in the namespace
'System.Runtime .Remoting.Chann els' (are you missing an assembly
reference?)

what I am doing wrong?
thanks!


Nov 17 '05 #3
Did you add a reference to System.Runtime. Remoting.dll? This should
solve your problem.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:6E******** *************** ***********@mic rosoft.com...
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collecti ons.Generic;
using System.Text;
using System.Runtime. Remoting.Channe ls.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(400 0);
ChannelServices .RegisterChanne l(aJobChannel);
}
....
....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime. Remoting.Channe ls.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
> Hi,
>
> I have c# express beta
> I try to write the following using clause:
>
> System.Runtime. Remoting.Channe ls.Http;
>
> because I want to create a http channel.
>
> HttpChannel aJobChannel = new HttpChannel(400 0);
>
> But the compiler doesn't want it...
>
> The type or namespace name 'Http' does not exist in the namespace
> 'System.Runtime .Remoting.Chann els' (are you missing an assembly
> reference?)
>
> what I am doing wrong?
> thanks!
>
>


Nov 17 '05 #4
oh..oh... :-/

now works...
Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
Did you add a reference to System.Runtime. Remoting.dll? This should
solve your problem.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:6E******** *************** ***********@mic rosoft.com...
Sorry, I don't understand you...

Here is my programm:

using System;
using System.Collecti ons.Generic;
using System.Text;
using System.Runtime. Remoting.Channe ls.Http; <-- error here

namespace JobServer
{
class JobServer
{
static void Main(string[] args)
{
// registering a listening channel
HttpChannel aJobChannel = new HttpChannel(400 0);
ChannelServices .RegisterChanne l(aJobChannel);
}
....
....

Thanks!

"Nicholas Paldino [.NET/C# MVP]" wrote:
marcelino,

You should use this at the top of your file instead:

using System.Runtime. Remoting.Channe ls.Http;

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"marcelino" <ma*******@disc ussions.microso ft.com> wrote in message
news:10******** *************** ***********@mic rosoft.com...
> Hi,
>
> I have c# express beta
> I try to write the following using clause:
>
> System.Runtime. Remoting.Channe ls.Http;
>
> because I want to create a http channel.
>
> HttpChannel aJobChannel = new HttpChannel(400 0);
>
> But the compiler doesn't want it...
>
> The type or namespace name 'Http' does not exist in the namespace
> 'System.Runtime .Remoting.Chann els' (are you missing an assembly
> reference?)
>
> what I am doing wrong?
> thanks!
>
>


Nov 17 '05 #5

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

Similar topics

2
3050
by: Ahmet AKGUN | last post by:
Hi; I am trying to make a server that handles db connection pool. Clients use TcpChannel to make a call to this server and get one database connection (OleDbConnection) from pool. But when I try to connect to server using TcpChannel, I get this message "Only one usage of each socket address (protocol/network adress /port)" is normally permitted.
0
1177
by: menkaur | last post by:
I was writing simple test program for using class libraries (OS: Windows 2003 Server). The problem I’ve got: runtime error: ------------------------------------------- An unhandled exception of type 'System.Runtime.Remoting.RemotingException' occurred in mscorlib.dll Additional information: Remoting configuration failed with the exception System.IO.FileNotFoundException: File or assembly name System.Runtime.Remoting, or one of its...
2
3702
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. The same code works fine in a standalone app. I have inspected System.Runtime.Remoting.dll with ildasm, and I can see the ....Channels.Http namespace there. I verified that the virtual directory is configured to use v2.0.50727 (the error message...
2
3727
by: SenthilVel | last post by:
Hi All i am getting an error in remoting proxies like the below : Exception rethrown at : at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
1
2488
by: SenthilVel | last post by:
Hi All i am getting an error in remoting proxies like the below : Exception rethrown at : at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
5
3600
by: Lambuz | last post by:
First of all, is it possible usign .NET remoting feature inside a .NET applet loaded into a tag object inside an HTML page ? <OBJECT id="myID" height="150" width="300" classid="http:applet.dll#test.applet"</OBJECT> If not please can anyone explain why ? I think yes and so I'd written a small example immediately I've met a problem.
7
1900
by: hardieca | last post by:
Hi, Can anyone point me in the right direction for an example on how to use remoting to separate my BLL and DAL onto different tiers? Is there a best-practice pattern or design model for this? Regards, Chris
0
1220
by: yogeshtiwarijbp | last post by:
Dear all In .net i can include namespace using System.Runtime.Remoting.Channels. But iam not be able to include the namespace using System.Runtime.Remoting.Channels.http. .http is not coming. What to do? yogesh
1
1473
by: Piotrekk | last post by:
Hi I have a strange problem. Here is some input data before I describe the problem. 1. RemoteClass (Mathematica) is compiled into dll and put to GAC 2. Server remoting configuration is done by code. //used in case of code configuration TcpChannel channel = new TcpChannel(5000);
0
9710
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
10593
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
10340
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10085
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
9163
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
7626
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
6858
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5663
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3830
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.