Re: System.Net.WebException: The remote server returned an error: (400) Bad Request exception
- From: "Stephen Barrett" <stephen_barrett@xxxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 13:35:33 -0400
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
.
- References:
- Prev by Date: System.Net.WebException: The remote server returned an error: (400) Bad Request exception
- Next by Date: Re: Callbacks to client
- Previous by thread: System.Net.WebException: The remote server returned an error: (400) Bad Request exception
- Index(es):
Relevant Pages
|
Loading