I am using one asp.net application which i hosted as website in iis. After that i added one another web application under of that website. Both are working there i did not find any issue. Later i added one custom http module in website for urlrewrite then checked it is working fine. But now the issue is when i am running web application then it is throwing error.
Please see the screen shot below:
Screen shot for error page
I have fixed this issue by my own. just need to add remove httpmodule name in web application web.config under and it works fine for me.
I am new to asp.net mvc. I have created a web application, it seems, successfully deployed it to my iis server. However, when I try to start my webpage by typing the following URL (http://localhost/MyWebApplication) the browser shows me the contents of my application folder instead of starting the page. When I start the application in the debug mode in the VS, everything works perfectly.
Could someone explain, please, how I can fix this problem?
I have deployed the classic ASP website onto IIS 8 on a server. Now the classic ASP site only works if I have kept the server desktop open via remote desktop. If I close the remote desktop window and try to access the website, I get 500 Internal server error.
I have gone mad trying to resolve this issue from past few days.
I have got the solution for the issue. The solution was with configuration of the COM+ component. The "Identity" of the component was set to "Interactive User - The Current logged on user". I changed it to "Network service" and the website is working properly even when RDP session is closed.
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...
When using Visual Studio's built in web server, every time I make a page request the standard login box pops up and asks for credentials. It doesn't work if I actually put in my credentials, so I just have to hit cancel 5 times so it will go away.
When I run the application through IIS (locally or on test server) it works just fine (no login box comes up).
Anyone know how to fix this or have any idea what might be causing it?
I assume you mean JavaScript alert box-looking login dialog, right? This dialog pops up when you make a request to a portion of website where anonymous access is disabled from IIS. It is different from ASP.NET authentication.
Do you have some portion of web site protected? Or are you making any HTTP request to external sites, like images and etc?
If your page looks ok after hitting cancel multiple times, it must be one of those HTTP request to protected file like images, css, js or whatever.
I'd look in Fiddler or Firebug to see if any request is failed when you hit cancel in that login dialog.
I'd also try clearing cache/authenticated session on the page that runs on IIS to see if it actually shows you that login dialog.
I had this same issue. However, my solution was different and the issue seemed different as well.
I had been working on a ASP.NET 2.0 web application, using VS 2008. Everything was working fine with the built-in IIS server. I hadn't opened this project for about a week and then when I chose "View in browser" in VS, I was prompted for my windows login creds. This project never did this before, so I was a bit baffled. I checked all the web.config settings and everything seemed fine. My project settings seemed correct as well. I decided to test the project by opening this same project in VS on a separate dev box on my network using a network path. I again chose "View in browser" and it worked fine. No logon prompt.
This told me that the issue wasn't with the actual web project itself, rather my dev environment. I checked all my browser settings as suggested above, and they were correct. I then compared my project settings while I had the same project (same physical files) opened in both dev boxes. I noticed a difference...
Under the Start Option in the Property Pages, the Web Server was set to use the Default Web server in both cases. However, on the box that was asking for my creds, the NTLM Authentication checkbox was selected. I unselected this and it resolved the issue.
I'm not sure how this was possible since I was opening the same project files, and would assume the project settings would be exactly the same. And the fact it was working fine a week ago really perplexed me. I chalked it up to an issue with VS 2008 on the box with the issue. I hope this helps anyone else that may be running into this issue.
This was because localhost was not in my trusted sites so it wouldn't do automatic NTLM authentication... I'm not sure why it was that way, but it was... adding localhost to the list fixed it.
In your project, there should be a vwd.webinfo file.
The following lines control authentication when debugging (in IISExpress). Set as follows to avoid all dialogs.
<VisualWebDeveloper>
<iisExpressSettings anonymousAuthentication="enabled" windowsAuthentication="disabled" useClassicPipelineMode="false"/>
</VisualWebDeveloper>
If windowsAuthentication="enabled" you may still get a dialog, even if anonymousAuthentication="enabled" :-)