Questions tagged [iis-8]

Internet Information Services (IIS) Version 8 is a web server and a set of feature extension modules created by Microsoft for use with Microsoft Windows, and shipped with WIndows 8 and Windows Server 2012.

Internet Information Services (IIS8) is a web server and a set of feature extension modules created by Microsoft for use with Microsoft Windows. IIS8 is available with Windows 8 and Windows Server 2012.

Some IIS Links:

2029 questions
12
votes
4 answers

Disabling TLS 1.0 breaks ASP.NET application

Running on Windows Server 2012R2 I am trying to disable TLS 1.0 on IIS because client has a site scanner which highlights that as a security problem. I have a clean test server set up and App is running fine until I disable TLS 1.0. I updated all…
Cade Roux
  • 88,164
  • 40
  • 182
  • 265
12
votes
1 answer

ASP.net 5 Self-Hosted on Live Windows Server - EACCES permission denied?

I was under the impression that we could actually run a console app on a live server that would listen and serve data (web pages if it were for that purpose). This way, we won't have to host our web apps on IIS. I always thought that this is what…
Mickael Caruso
  • 8,721
  • 11
  • 40
  • 72
12
votes
10 answers

HTTP Error 503. The service is unavailable

I'm struggling to setup the environment in IIS8, I searched a lot but couldn't find a right solution. I checked the error logs, but no idea. C:\Windows\System32\LogFiles\HTTPERR 2013-10-09 09:28:39 192.168.43.205 60172 192.168.43.205 80…
Praveen
  • 55,303
  • 33
  • 133
  • 164
12
votes
2 answers

Is there a managed API to manage IIS 8?

In IIS7, you used to be able to use the Microsoft.Web.Administration dll to manage IIS. I have added this reference to my project, however running the following code results in a NotImplementedException at site.Stop(): using (var server = new…
Sean Airey
  • 6,352
  • 1
  • 20
  • 38
12
votes
3 answers

CORS 405 Method Not Allowed

I have been following the Mozilla article on how to set up my website to allow Cross-site scripting requests. Using IIS Manager I have added the following HTTP Response Headers Access-Control-Allow-Origin : * Access-Control-Allow-Headers : Origin,…
Kevin Brydon
  • 12,524
  • 8
  • 46
  • 76
11
votes
4 answers

405 - HTTP verb used to access this page is not allowed. [IIS 8.5] [Windows Server 2012 R2]

I have got a new iis server and from a while i am finding solution for error : 405 - HTTP verb used to access this page is not allowed. The page you are looking for cannot be displayed because an invalid method (HTTP verb) was used to attempt…
ArjunArora
  • 986
  • 3
  • 12
  • 27
11
votes
3 answers

How to share cookie between domain and subdomain, but not other subdomains

Our ASP.NET MVC web application has a few different subdomains we use for testing and legacy code. The subdomains are: www.sitename.com (production site) test.sitename.com (testing) original.sitename.com (legacy code) staging.sitename.com…
Jacob Stamm
  • 1,660
  • 1
  • 29
  • 53
11
votes
2 answers

IIS Auto-Start not disabling Idle Timeout

I setup ASP.NET Auto-Start on my Windows Azure Web Role (I use ASP.NET 4.5 and IIS 8 on Windows Server 2012). I basically followed those instructions. I am setting startMode="AlwaysRunning" on the application pool and preloadEnabled="true" on the…
Flavien
  • 7,497
  • 10
  • 45
  • 52
11
votes
2 answers

Websocket issue with IIS 8 Express on Windows 7

I tried creating handler for web socket but context.IsWebSocketRequest is returning always false and failed to working with IIS 8 Express on windows 7. How can I enable module for websocket or any step I missing? I have VS 2012 application with IIS…
k-s
  • 2,192
  • 11
  • 39
  • 73
10
votes
2 answers

Deploy Webservice using InstallAware

I have created WCF web service and created setup using InstallAware so that our customer just run the setup and it will deploy web service in IIS. My setup create virtual directory under "Default Website" in IIS. Every thing is work fine, my setup…
Rajesh Pandya
  • 1,540
  • 4
  • 18
  • 31
10
votes
2 answers

HTTP Slow Post and IIS settings to prevent

So we got this report from a Security Company saying our MVC website running on IIS 8.0 was vulnerable to slow HTTP post DoS attack. The report stated we should Limit request attributes is through the element, specifically the…
M Raymaker
  • 1,231
  • 5
  • 14
  • 31
10
votes
1 answer

IIS URL Rewrite - with multiple domains

I have a website/application where the same pages run many websites (depending on the URL the pages display different logo/css/content etc). I am trying to force each website domain to redirect to the www. verison of the domain. I have used the…
Jammer
  • 2,330
  • 11
  • 48
  • 77
10
votes
6 answers

IIS 8 - Default Document - resource cannot be found

I'm trying to understand why my default document doesn't come up when I browse the virtual directory. If I browse to the site like I should be able to, I get this: However, if I add the page to the URL, it comes up: One SO answer suggested…
Bob Horn
  • 33,387
  • 34
  • 113
  • 219
10
votes
3 answers

MVC 4. IIS 7.5 PUT returning 405

I'm trying to use PUT in an MVC 4 application and I'm getting a 405 error. In my routing I have a constraint on the route to allow PUT and POST, POST to the endpoint works, PUT fails with a 405. I've followed the advice here ASP.NET Web API returns…
Kevin Jones
  • 2,369
  • 16
  • 26
9
votes
1 answer

IIS https binding disappears sometime

I have IIS on my development machine and I host default asp.net 4.5 website and .NET core application. Applications are configured to work only via https. And sometimes, without any pattern "https" disappears from the configuration list. In this…
Ievgen
  • 4,261
  • 7
  • 75
  • 124