473,395 Members | 2,006 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,395 software developers and data experts.

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.WebException with the error message
"remote server returned error 400: bad request." The strange thing is
that the Response.ResponseUri 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" ?>
<configuration>
<system.runtime.remoting>
<application>
<client displayName="SchedulingClient" url="http://abc.123.com/
TosdScheduling">
<activated type="TosdScheduling.SchedulingManager,
TosdScheduling" />
<activated type="TosdScheduling.AppointmentType,
TosdScheduling" />
<activated type="TosdScheduling.Appointment, TosdScheduling" /
>
<activated type="TosdScheduling.RoomType, TosdScheduling" />
<activated type="TosdScheduling.Room, TosdScheduling" />
<activated type="TosdScheduling.Trainer, TosdScheduling" />
<activated type="TosdScheduling.RoomClose, TosdScheduling" />
<activated type="TosdScheduling.RecurringClose,
TosdScheduling" />
<activated type="TosdScheduling.CancelRule, TosdScheduling" />
</client>
<channels>
<channel ref="http" />
<clientProviders>
<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" ?>
<configuration>
<system.runtime.remoting>
<application>
<service>
<activated type="TosdScheduling.SchedulingManager,
TosdScheduling" objectUri="SchedulingManager.rem" />
<activated type="TosdScheduling.AppointmentType,
TosdScheduling" objectUri="AppointmentType.rem" />
<activated type="TosdScheduling.Appointment, TosdScheduling"
objectUri="Appointment.rem" />
<activated type="TosdScheduling.RoomType, TosdScheduling"
objectUri="RoomType.rem" />
<activated type="TosdScheduling.Room, TosdScheduling"
objectUri="Room.rem" />
<activated type="TosdScheduling.Trainer, TosdScheduling"
objectUri="Trainer.rem" />
<activated type="TosdScheduling.RoomClose, TosdScheduling"
objectUri="RoomClose.rem" />
<activated type="TosdScheduling.RecurringClose,
TosdScheduling" objectUri="RecurringClose.rem" />
<activated type="TosdScheduling.CancelRule, TosdScheduling"
objectUri="CancelRule.rem" />
</service>
<channels>
<channel ref="http" />
</channels>
</application>
</system.runtime.remoting>
<connectionStrings>
<add name="CSDB" providerName="iAnywhere.Data.AsaClient"
connectionString="x5k7UI5SvZk4aH8hM6coIIIENBLq503i MxwUAdEgSZMTU58+7qP/
+cou7Fsbepz0h0NdKGv72CzjFTZAxN29Mw==" />
</connectionStrings>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

So basically the first request (to RemoteActivationService.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 1299

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

Similar topics

0
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...
5
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...
0
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...
0
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...
0
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...
17
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...
8
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...
14
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...
0
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);...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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,...
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.