473,785 Members | 2,553 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Busted IIS Remoting App

I have a remoting application, written in C# .NET 2.0, that works in
my development environment in IIS 5 on a Win XP machine, but does not
work in IIS 6 on my production Win 2003 Server machine.

When debugging I get a System.Net.WebE xception with the error message
"remote server returned error 400: bad request." The strange thing is
that the Response.Respon seUri in the Exception object shows the
internal IP address of the server, not the IP address of the website.

Here are the contents of the client configuration file (I've changed
the client url for display purposes):

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<system.runtime .remoting>
<application>
<client displayName="Sc hedulingClient" url="http://abc.123.com/
TosdScheduling" >
<activated type="TosdSched uling.Schedulin gManager,
TosdScheduling" />
<activated type="TosdSched uling.Appointme ntType,
TosdScheduling" />
<activated type="TosdSched uling.Appointme nt, TosdScheduling" /
>
<activated type="TosdSched uling.RoomType, TosdScheduling" />
<activated type="TosdSched uling.Room, TosdScheduling" />
<activated type="TosdSched uling.Trainer, TosdScheduling" />
<activated type="TosdSched uling.RoomClose , TosdScheduling" />
<activated type="TosdSched uling.Recurring Close,
TosdScheduling" />
<activated type="TosdSched uling.CancelRul e, TosdScheduling" />
</client>
<channels>
<channel ref="http" />
<clientProvider s>
<format ref="binary" />
</clientProviders >
</channels>
</application>
</system.runtime. remoting>
</configuration>

And here is what the Web.config file looks like:

<?xml version="1.0" encoding="utf-8" ?>
<configuratio n>
<system.runtime .remoting>
<application>
<service>
<activated type="TosdSched uling.Schedulin gManager,
TosdScheduling" objectUri="Sche dulingManager.r em" />
<activated type="TosdSched uling.Appointme ntType,
TosdScheduling" objectUri="Appo intmentType.rem " />
<activated type="TosdSched uling.Appointme nt, TosdScheduling"
objectUri="Appo intment.rem" />
<activated type="TosdSched uling.RoomType, TosdScheduling"
objectUri="Room Type.rem" />
<activated type="TosdSched uling.Room, TosdScheduling"
objectUri="Room .rem" />
<activated type="TosdSched uling.Trainer, TosdScheduling"
objectUri="Trai ner.rem" />
<activated type="TosdSched uling.RoomClose , TosdScheduling"
objectUri="Room Close.rem" />
<activated type="TosdSched uling.Recurring Close,
TosdScheduling" objectUri="Recu rringClose.rem" />
<activated type="TosdSched uling.CancelRul e, TosdScheduling"
objectUri="Canc elRule.rem" />
</service>
<channels>
<channel ref="http" />
</channels>
</application>
</system.runtime. remoting>
<connectionStri ngs>
<add name="CSDB" providerName="i Anywhere.Data.A saClient"
connectionStrin g="x5k7UI5SvZk4 aH8hM6coIIIENBL q503iMxwUAdEgSZ MTU58+7qP/
+cou7Fsbepz0h0N dKGv72CzjFTZAxN 29Mw==" />
</connectionStrin gs>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

So basically the first request (to RemoteActivatio nService.rem) works
fine, but the following requests are routed to another IP address
configured on the same physical NIC. How is this possible?

We're running a "server farm" using the Network Load Balancing manager
to create the cluster, but this configuration has been working for web
services hosted on this same website. This remoting application is
the only thing that is somehow routing requests to an internal IP
address that is one of many assigned to the same NIC as the website.

Mar 9 '07 #1
0 1315

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

Similar topics

0
1909
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
5
5691
by: mayamorning123 | last post by:
A comparison among six VSS remote tools including SourceOffSite , SourceAnyWhere, VSS Connect, SourceXT, VSS Remoting, VSS.NET To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere 4.0, SourceOffSite 4.1, VSS Connect 1.5, SourceXT 2.1, VSS Remoting 2.5,
0
3292
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool including SourceOffSite, SourceAnyWhere and VSS Remoting This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others.
0
1421
by: bettervssremoting | last post by:
To view the full article, please visit http://www.BetterVssRemoting.com Better VSS Remote Access Tool This article makes a detailed comparison among SourceAnyWhere, SourceOffSite, VSS Remoting and possible others. Keywords: VSS Remote Access, VSS Web Access, VSS Internet Access,
0
2463
by: Martijn Damen | last post by:
Hi, At the moment I am trying to develop an application that uses another app over .net remoting and having some problems with it (ok, that is ofcourse why I am here), hope somebody can shine a light on the following: I have been given a sample winforms app, which works without problem, I can connect, send queries and become response from the other application. When I try to implement this in webforms, this unfortunately does not...
17
1579
by: Adam | last post by:
I have a small application that uses oledb to connect to a database, set up through the GUI wizards in vis studio. I am wanting to have the database location kept in an .ini file along with the program so that it can be changed to suit each particular user's setup. The problem is that if I try to modify OleDBCOnnection.ConnectionString at run-time, then I get an error about the said connectionstring being un=initialized. Anyone got...
8
1754
by: Raju Joseph | last post by:
Hi All, I am just trying to get an opinion here. I know this is always a tough choice to make. We are in the process of converting our VB6 based Healthcare Information System (a full-fledged package) to .NET. Our clients have been asking for lot of new stuff namely being able to send patient information to devices, being able to fix appointments online, etc.
14
2186
by: slobjones | last post by:
This three-column layout is busted in Safari. It's built with a fixed-width container, with three percentage-based columns inside. http://tinyurl.com/uw8mc The box-model hack is present to ensure that the columns display correctly in IE. It works fine in Firefox and IE, but Safari appears to take the layout apart. Since I work on a PC, the only way for me to test the site is with iCapture. Can anyone provide suggestions on how to...
0
3404
by: Kristian Reukauff | last post by:
Hi I have a problem with the .Net-Securty-Functions. I've got a client and a server. When I try to register a channel at the server with this line: ChannelServices.RegisterChannel(chan, false); I get the following error - doesn't matter if I try it local from my machine or from a remote machine. (After the Errormessage is more text ;))
0
10147
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
9949
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
8971
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
7499
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
6739
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
5380
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
4050
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
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2879
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.