iis-8.5

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

一世执手 提交于 2019-12-10 17:37:56
问题 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 access. I have seen below solutions: 1. <system.webServer> <modules> <remove name="WebDAVModule" /> </modules> <handlers> <remove name="WebDAV" /> </handlers> </system.webServer> 2. IIS Settings http://www.somacon.com/p126.php Solution 1, causes Internal

How to allow iis8.5 service to interact with desktop

不羁岁月 提交于 2019-12-10 12:05:24
问题 The problem is i couldn't find this option at all. I need to run winforms app from iis, and i couldn't achieve it. Сan someone give me a tip for this. I tried to give localsystem and admin identity to site pool, but it's not working,just process running without any window. Update i did check "allow service to interact with desktop" thank to answer,but still window not appear Update2 i even tried this one answer,and second one but can not start process at all 回答1: The 'Interact With Desktop'

URL Rewrite causes “This page can’t be displayed”

戏子无情 提交于 2019-12-10 11:37:55
问题 I have implemented URL Rewriting at the server level as I wanted to redirect all HTTP and HTTPS requests that matches a certain rule to my actual site, and redirection should only take place if the users are hitting my actual site. The rules works fine initially. However, triggering CTRL+R repeatedly on my actual site seems to render my site unaccessible. The error "This page can't be displayed" is then returned to the user. This test was done on IE 11 browser on Windows x64, and my web

Restrict access to the Admin side of Orchard CMS by IP

蹲街弑〆低调 提交于 2019-12-08 05:25:11
问题 I'm trying to deny access all IPs to the /Admin with a couple exceptions. The Orchard CMS 1.8.1 app is running on IIS 8.5. I'm experimenting with IP Restrictions rule, but it seems to me that is not the right tool, as I could only set access rights on folders not individual pages. (Managed to deny access to TheAdmin theme.) I've tried the below snippet with no luck: <location path="Admin"> <system.webServer> <security> <ipSecurity allowUnlisted="false"> </ipSecurity> </security> </system

Owin on IIS web requests hang indefinitely

非 Y 不嫁゛ 提交于 2019-12-07 03:46:07
问题 We are running an Owin applications on IIS 8.5 on Win 2012 R2 behind a loadbalancer. One some occations, requests to certain URLs hang indefinitely. If the user selects cancel in the browser, and reloads the page, everything is OK and the server responds quickly. In IIS manager, we can see the requests hanging: The hang seems to occur inside the Owin pipeline. We are running .NET 4.5.2 and the latest Owin packages. Here's the code for the /api/whoami endpoint: [Authorize] public class

http to https redirect - iis8.5 url rewrite 2.0 redirect rule not working

老子叫甜甜 提交于 2019-12-06 17:09:24
问题 I am having a hard time getting the below redirect rule to work... <rules> <rule name="Relative Path Rewrite" stopProcessing="false"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="^/$" negate="true" /> </conditions> <action type="Rewrite" url="/" /> </rule> <rule name="Ssl Redirect" stopProcessing="false">

IIS 8.5 MVC5 Client Cache is ignored

霸气de小男生 提交于 2019-12-06 07:49:51
问题 TL;DR - I want the server (IIS 8.5) to return 304 not modified for the CSS and JS bundles. I've been unable to get IIS 8.5 to honor the clientCache settings in web.config. No matter what I do, I can't seem to get it to cache the static content. This is a MVC5 app in VS2013. I've got all the static files in a folder "Assets". The request looks like: http://someserver/AppName/Assets/mainjs?v=FNj_9ZPAbYVAQsyDo2F8XUnWv5NQpY4iX2RGu4NpJ5g1 Attempt #1, place a new web.config in the Assets folder

Owin on IIS web requests hang indefinitely

南楼画角 提交于 2019-12-05 09:25:47
We are running an Owin applications on IIS 8.5 on Win 2012 R2 behind a loadbalancer. One some occations, requests to certain URLs hang indefinitely. If the user selects cancel in the browser, and reloads the page, everything is OK and the server responds quickly. In IIS manager, we can see the requests hanging: The hang seems to occur inside the Owin pipeline. We are running .NET 4.5.2 and the latest Owin packages. Here's the code for the /api/whoami endpoint: [Authorize] public class WhoAmIController : ApiController { [Route("whoami")] [HttpGet] public IHttpActionResult Whoami() { return Json

Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'aspNetCore

我与影子孤独终老i 提交于 2019-12-04 22:25:14
I have recently published my ASP.NET Core application to my host. I am hitting a HTTP Error 500.19. IIS 8.5 says the issue is:- "Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'aspNetCore'" It also highlights this key add line in my system.webServer config:- <handlers> <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" </handlers> I'm not really sure what to do on this. It looks as though there is a duplicate instance of this, so I have tried renaming this but it still asks to add this again? Here is my web.config:- <?xml version="1

http to https redirect - iis8.5 url rewrite 2.0 redirect rule not working

爷,独闯天下 提交于 2019-12-04 21:13:34
I am having a hard time getting the below redirect rule to work... <rules> <rule name="Relative Path Rewrite" stopProcessing="false"> <match url=".*" /> <conditions logicalGrouping="MatchAll"> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> <add input="{REQUEST_URI}" pattern="^/$" negate="true" /> </conditions> <action type="Rewrite" url="/" /> </rule> <rule name="Ssl Redirect" stopProcessing="false"> <match url="(.*)" /> <conditions> <add input="{HTTPS}" pattern="^OFF$" /> </conditions> <action type=