What is the actual web request your application is generating - what are the values of uri and credemtials when you get the error?
Dave Dietz
Main Topics
Browse All TopicsHi There,
I have installed my web application in a server using IIS.
When I try to browse the web application in IIS, I get the following error message:
"System.Net.WebException: The remote server returned an error: (400) Bad Request."
Does someone got any idea?
Cheers,
R.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: racinecondePosted on 2007-01-22 at 12:57:17ID: 18369312
this is the stack trace I get.
********** ********** ********** ********** ********** **** CheckFinal Status() +680 EndGetResp onse(IAsyn cResult asyncResult) +139 GetRespons e() +249 ger.GetNon FileStream (Uri uri, ICredentials credentials) +65 ger.GetStr eam(Uri uri, ICredentials credentials) +94 GetEntity( Uri absoluteUri, String role, Type ofObjectToReturn) +55 reateScann er() +384 nit() +23 ead() +530 oContent() +75 lSchema(Xm lReader reader, Boolean denyResolving) +122 lSchema(St ring fileName) +60 iteSetting s() +240 or(Int32 tabIndex, Int32 tabId) +138 _BeginRequ est(Object sender, EventArgs e) +253 ionStep.Sy stem.Web.H ttpApplica tion+IExec utionStep. Execute() +60 .ExecuteSt ep(IExecut ionStep step, Boolean& completedSynchronously) +87
********** ********** ********** ********** ********** ********** **********
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
**************************
[WebException: The remote server returned an error: (400) Bad Request.]
System.Net.HttpWebRequest.
System.Net.HttpWebRequest.
System.Net.HttpWebRequest.
System.Xml.XmlDownloadMana
System.Xml.XmlDownloadMana
System.Xml.XmlUrlResolver.
System.Xml.XmlTextReader.C
System.Xml.XmlTextReader.I
System.Xml.XmlTextReader.R
System.Xml.XmlReader.MoveT
System.Data.DataSet.ReadXm
System.Data.DataSet.ReadXm
Virorum.Configuration.GetS
Virorum.PortalSettings..ct
Virorum.Global.Application
System.Web.SyncEventExecut
System.Web.HttpApplication
**************************