Re: System.Net.WebException: The remote server returned an error: (400) Bad Request exception



Here are the webapp's and app server apps' remoting sections from the config
files in case it helps. I have intentionally changed the ip addresses to
bogus addresses.

WEBAPP
<system.runtime.remoting>
<application>
<client>
<wellknown type="PenProPlus.Remoting.IServerFactory,
PenProPlus.Remoting"
url="tcp://111.111.111.111:8090/Server.ServerFactory" />
</client>
<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary" />
</serverProviders>
</channel>
</channels>
</application>
<customErrors mode="off"/>
</system.runtime.remoting>

APPSERVER
<system.runtime.remoting>
<application>
<service>
<wellknown type="PenProPlus.Remoting.ServerFactory,
PenProPlus.Remoting"
objectUri="Server.ServerFactory.rem" mode="Singleton" />
</service>
<channels>
<channel ref="http" />
</channels>
</application>
<customErrors mode="off"/>
</system.runtime.remoting>

"Stephen Barrett" <stephen_barrett@xxxxxxxxxxxxxx> wrote in message
news:eKgEJWNhGHA.4368@xxxxxxxxxxxxxxxxxxxxxxx
I am having problems getting remoting working in a new environment.

I have an existing environment with a webapp tier, an application server
tier, and database tier.

The webapp talks to app tier via remoting using a serverfactory/inteface
design approach. The app tier is hosted in IIS and we use the binary
formatter.

Everything works fine in an existing environment. We are setting up a
disaster recovery environment that is a duplicate of the working
production environment.

We are not using the GAC for any of our components.

In this new environment, when ever we try to call a method on our server
factory (hosted as singleton), we get a System.Net.WebException: The
remote server returned an error: (400) Bad Request exception.

A coworker and I have both checked the config files at least 10 times to
make sure everything is configured properly. In fact, the only change of
the config file from the working production environment is the ipaddress
of the app server tier in the webapp's web.config file. Everything else
is exactly the same from what I can tell.

I am guessing that the server itself was staged a little differently by
the IT group, but I cannot tell a difference. I have tested a self
contained ASP.NET application on the appserver and web server and it runs
fine so I believe asp.net is configured properly.

Anyone have any ideas?

This is framework 1.1




.



Relevant Pages

  • Re: Middle Tire in PHP MySQL
    ... > server between the Presentation layer and the Data Access layer. ... >>that then communicates with your PHP app to store the data in MySQL. ... Now they need admins for the middle tier, ... had simply updated/upgraded the current system, it could have cost them maybe ...
    (comp.lang.php)
  • Re: Homegrown synchronization
    ... to check for update files in the Import DropBox for the server. ... similar to the import code used to update a remote backend). ... code to close the "sync" app. ... synch app, but only one at a time would be able to do synchs. ...
    (microsoft.public.access.replication)
  • RE: Beginners Questions
    ... We do use Windows form on the presentation layer which is on ... terminal server and call web services on the business logic side. ... of using "proxy" authentication on SQL Server. ... > I have written an app with a Windows Forms UI that is deployed to clients ...
    (microsoft.public.dotnet.distributed_apps)
  • Re: Ruby Enterprise App Design Advice
    ... Load balanced to send user to best server. ... FastCGI or SCGI - We would like to replace FastCGI with something ... certain instance and want to have a single session server (if I understand ... deals with login and logout and assigns an app server. ...
    (comp.lang.ruby)
  • RE: C++ Garbage Collector on VMS?
    ... And HW is usually not a problem in th app tier. ... One for App server, one for DB. ... Tiers were a great concept when HW could not keep up with the processing required by each tier and network speeds were slow and unreliable. ... In small to medium app environments, ...
    (comp.os.vms)

Loading