iis-10

Cant write more than 4096 bytes into custom IIS log field

↘锁芯ラ 提交于 2019-12-20 05:38:09
问题 According to this documentation you can configure IIS 10 on Windows Server 2016 to write custom fields as long as " The total amount of data added in custom fields cannot exceed 65,536 bytes " I have configured a custom field to write the cookies from Header and another from the server variable into the logs and this works just fine. But only 4096 bytes are written to the log no matter what value I put in maxCustomFieldLength. When I send 8k of data in the cookies and I: set

Edge browser appears to discard response payload

僤鯓⒐⒋嵵緔 提交于 2019-12-20 04:22:08
问题 I have a web app that returns a PDF to the browser, which works fine in Chrome and Firefox, however it does not work in Edge (version 38.14393.0.0). The response header looks like this: Access-Control-Allow-Headers: Content-Type, Authorization Access-Control-Allow-Origin: * Cache-Control: no-store, no-cache, must-revalidate Content-Disposition: inline; filename="Invoice.PDF" Content-Length: 9255 Content-Type: application/pdf Date: Mon, 30 Jan 2017 04:38:25 GMT Pragma: no-cache Server:

HTTP Error 502.5 in .NET core 2.1.3 on window server 2016

北慕城南 提交于 2019-12-20 03:18:01
问题 I Install .NET core version 2.1.3 for my new computer run window server 2016 OS. I hosted in IIS 10. But it have Error 502 HTTP Error 502.5 - Process Failure Common causes of this issue: The application process failed to start The application process started but then stopped The application process started but failed to listen on the configured port This is my snippet for web.config <?xml version="1.0" encoding="utf-8"?> <configuration> <system.webServer> <handlers> <add name="aspNetCore"

django-wkhtmltopdf on IIS: [WinError 6] The handle is invalid

眉间皱痕 提交于 2019-12-14 02:43:28
问题 this is my very first question, so please forgive me, if I forgot something to mention or there's something wrong with it :) I set up a python(3.5.3)-django(2.1.5) -project on IIS(10)-Windows Server. Everything works great. Problem Only wkhtmltopdf(0.12.5) has a strange behavior. When I run it on localhost the command prompt gives me Loading pages (1/6) Counting pages (2/6) Resolving links (4/6) Loading headers and footers (5/6) Printing pages (6/6) Done and I can find the generated .pdf-file

WCF Service - 404.13 error - though maxAllowedContentLength and maxRequestLength are set

谁说我不能喝 提交于 2019-12-13 02:14:40
问题 I'm quite new to WCF services, and I just ran into this known issue, when the uploaded file is too big to upload. My situation is strange because I set both maxAllowedContentLength and maxRequestLength to a high number, so it should have no problems with uploading 300 MB files... With small files it works perfectly, so for me it seems like it just forgets about my settings. I tried so many ideas to solve this problem, so maybe I messed up things in my config file, there may be some

How to enable server side SSL3.0, TSL1 on Windows server 2016 (IIS 10)?

允我心安 提交于 2019-12-13 00:22:56
问题 I know Windows Server 2016 by default disabled SSL3.0 and TSL1 for IIS 10 service. My question is how to enable them? I followed the steps in the thread https://social.technet.microsoft.com/Forums/windowsserver/en-US/a6f6fa60-03fb-49f6-b356-de4aa7633738/how-to-disable-tls-and-enable-ssl30-on-iis?forum=winserverNIS But, it still doesn't work for me. SSL3.0 and TLS1 is not enabled at the server side. I am trying to fix the issue on following thread. But, I don't want toto change the client code

glassfish get shibboleth sp attribute on iis

妖精的绣舞 提交于 2019-12-12 03:16:46
问题 I was able to get the information returned by Shibboleth through the program deployed above IIS (code below). <% @ Page Language="C#" %> <% Response.Write("<h3>Server Variables</h3>"); Response.Write("mail= " + Request["mail"] + "<br>"); Response.Write("name = " + Request["name"] + "<br>"); %> However, I can't get the authentication information when I jump to glassfish with the following Settings <httpRedirect enabled="false" destination="https://glassfish.fujitsu.com:8443/info"

IIS 10 500.19 error

你说的曾经没有我的故事 提交于 2019-12-12 01:39:18
问题 Currently running IIS 10 and after bringing down a new project (TFS) I cannot get the site to run due to a 500.19 error. To me it looks like IIS is looking for the web.config file in the wrong location (pointing to a directory on the project creators PC) and I don't know how to change this to point to the one on my machine. Anyone had this problem before and knows of a solution? Edit: the error code I get is 0x80070003 来源: https://stackoverflow.com/questions/35845773/iis-10-500-19-error

HTTP Error 403.14 - Forbidden. Asp.NET MVC

↘锁芯ラ 提交于 2019-12-12 01:24:26
问题 Am trying to locally host an ASP.NET MVC project on IIS 10 (windows 10 machine). But when I try to access the site I get a "HTTP Error 403.14 - Forbidden" error. The contents of the Web.Config file as well as the error on the loading page are below. Is there something else am missing? Please suggest. Update: Finally I figured out the issue. This is a webapi project so in the Global.asax.cs I forgot to register the route for the MVC controller which am using. Thank you for all the suggestions.

GCP load balancer 502 server error and “backend_connection_closed_before_data_sent_to_client” IIS 10

时光总嘲笑我的痴心妄想 提交于 2019-12-11 15:53:29
问题 I have GCP load balancer with 4 IIS 10 web servers. Sporadically it comes with 502-Server error . In the logs it shows it is because of backend_connection_closed_before_data_sent_to_client . I have read thru the article https://cloud.google.com/compute/docs/load-balancing/http/ and it says keepalive timout need to be set to 620 seconds for nginx and apache. How do I do the same in IIS 10. 回答1: Figured this out after raising a ticket google cloud team. I am putting it here so that others can