ASP.NET - error: Bad Request(Invalid Hostname)

Asked By Rohini Kuchadi on 08-Apr-13 07:58 AM
Hi 


            My application runs fine on  my system. And when i build the website or publish the website, it gets successed but when i browse the published folder on the localhost(eg: hhtp://localhost/jsrp)  it shows the error. Kindly can you guide me why am getting that error and how can i slove it.


Thanks.
Robbe Morris replied to Rohini Kuchadi on 08-Apr-13 09:29 AM
Do you have IIS installed and running on your machine?  Is there a web site setup for localhost?  Did you publish to its directory?
Rohini Kuchadi replied to Robbe Morris on 08-Apr-13 09:33 AM
Ya i have installed iis on my system and i have published it.
Robbe Morris replied to Rohini Kuchadi on 08-Apr-13 09:52 AM
Did you configure the web site in IIS?