HTTP 400 Bad Request IIS Manager - http

I hosted a website on IIS server and it was done successfully. I am able to access the website from outside of the server and it works fine BUT when I try to run the website from my IIS server by clickin on Browse link on IIS I get the login page but once I login I get 400 BAD REQUEST error.
Error Message Image
Can anyone guide me how to fix this issue on IIS so that I am able to run the website from my IIS server also.
Would appreciate the help.
Thanks.

Related

unable to view my IIS hosted site from remote machine but IIS page open

The IP of the machine is suppose 104.68.125.105
In this machine, I configured the IIS server and successfully opened my web app http://merchantcalc/content/lateFine.aspx from inside this machine. This app has default port i.e. 80
But when I tried to open the same web app from remote computer, via url
http://104.68.125.105/merchantcalc/content/lateFine.aspx
I am getting error as ::
Server Error in '/' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
when I open
http://103.69.125.101/ from remote machine, its showing the IIS page.
But why can't I open the web apps? What configuration should I make in IIS to open my web app ?
As Mark said, if you can access http://merchantcalc/content/lateFine.aspx, then you should try http://103.xx.xxx.xxx/content/lateFine.aspx.
Did you host the web site under another website or you just publish the web app as a virtual application under your Default web site? It seems that when you access the website, http.sys is routing the request to Default Web Site. So if this is not the right site that should be routed. You could try to disable Default Web Site and bind your ip address to your web app.
Since there are various kinds of 404 error. You could check the sub-status code by enabling IIS detailed error or failed request tracing.
PS: Expose your public IP address is not recommended.
If you could provide more information, we may get to know how to fix this 404 error.

iis not working with domain user

I have a problem which I cannot solve after some days. Simply, we have a web application which should run as a domain user (domain\user). We can do this in IIS (ver 8.5) manager in one server (statging) through application pool settings but when we do the same on another server (production) it is not working.
By not working I mean : If you browse that website and come back to the application pools tab, you see that it is stopped! and you receive HTTP Error 503. The service is unavailable. in the browser.
I have tried many things and solutions on SO but no success so far.
but when we do the same on another server (production) it is not working:
1.) Check Website Browsing Directory if enabled.
2.) Check Framework in application pools.
3.) Is your IIS set up correctly?
Hope it helps

How to shutdown website in IIS 7

How can I shutdown a website in IIS 7?
I have stopped the website, but when I type the address in the address bar the website shows up. Under IIS if I browse the website it says "Webpage not found". I noticed that if I put https instead of http then the site shows up even though it shows as stopped website under IIS. How do I resolve this? Please advise.
Try to stop application pool instead

HTTP and HTTPS causes redirection Loop

I am making one Central Authentication server module (CAS). For that I am configuring web.config file. Since I have to integrate it with other Applications I don't want to write any code in code behind file. The configurations are
OS - Windows 7
IIS 7
Visual Studio 2005.
The server which hosts the cas application has the login page which authenticates the user. I am able to redirect to the cas login page at first time.
My problem is that I am not able to redirect to my own application page which is default.aspx hosted on my PC. The CAS server runs linux os and I am using Windows 7. I am getting redirect loop and after login from cas login module, I am not able to see my page. Firefox shows "waiting for servername" and "waiting for hostname" in status bar continuously. Can any body help me in solving this problem??? I am badly stuck here and very desperate to come out of this as soon as possible.
I am using form authentication mode in web.config. Or is it the problem with HTTP and HTTPS?
Sounds to me like the windows machines is not seeing the session as authenticated, but the CAS is seeing the session as authenticated. Therefore windows redirects to linux, which redirects to windows, which redirects to linux....
I think you see the picture.

Facebook Silverlight application invalid method (HTTP verb)

Hi
I made a simple application in Silverlight to facebbok with the facebook C# SDK, and it runs fine in a localhost. I have published on a server and know start the problems. When I try to run the application from the facebook I get the this messege (405 - HTTP verb used to access this page is not allowed.)
anyone have any ideias of what is the problem ??
thanks
That sounds like server/IIS/Web server configuration. Try hosting the web site in an iframe locally and see if you can get there...

Resources