You may encounter “Page cannot be displayed” when using IIS HTTP redirect

If you are using IIS 7and above, as well as HTTP redirect to redirect requests, you might encounter this error: I have a website, and would like to redirect all requests to its sub application test2: So I would configure redirect rule like below in website level: However when test browsing, would found above error,…

0

How to call CRM WebAPI in Logic Apps

You probably often use web API provide by Azure/Microsoft in your web applications for customized requirements. Normally, you should follow OAuth 2.0 code authorization flow to acquire the access token for the API in your web application. But in Logic Apps, the story is different because all the actions of a work flow are executed…

0

How to encrypt sections in web.config and to share among the servers

Scenario: Considering you have 2 iis servers (SERVER#1 and SERVER#2) which share the same web.config file. You would like to encrypt the sections in the file for security consideration. How to make it work on both servers after the encryption?   STEPS: 1.Create a new key container with the name of MyKeys on the SERVER#1:…

0

How to force MS web deploy using TLS1.2

Web Deploy (msdeploy) simplifies deployment of Web applications and Web sites to IIS servers. Administrators can use Web Deploy to synchronize IIS servers or to migrate to newer versions of IIS. Web Deploy Tool also enables administrators and delegated users to use IIS Manager to deploy ASP.NET and PHP applications to an IIS server. By…

0

How to capture crash dump for Desktop Bridge Converted or UWP app

Here is the guide on how to capture crash dump for UWP and Desktop Bridge Converted Apps: 1. Install Windows SDK which includes Windows Debugger (by clicking Install SDK) https://developer.microsoft.com/en-us/windows/downloads/sdk-archive     2. Only select Debugging Tools for Windows to finish install.   3. Open Powershell Command, run this command to get your application ID:…

0

IIS 8.5 binds to all IP addresses on a server

  If you have multiple IPs in one windows server 2008 and above, when you add a website in IIS, you might found that 0.0.0.0 is listening on 80 or 443, rather than the IP address you just added. In this article, I will talk about the root cause and workarounds for this kind of…

0

“Transfer-encoding: chunked” is not in the response header when using ARR

  One of my customer is using ARR (Application Request Routing) in IIS8.5 as a reverse proxy to route the incoming requests to an application which does its own chunked transfer encoding. However, they find the “transfer-encoding: chunked” is not in the response header when using ARR, which causes the failure of the application connection….

0

How to send a email to the subscription’s admin in Logic Apps

  Logic Apps provide a way to simplify and implement scalable integrations and workflows in the cloud. Using Logic Apps and Azure Service Management REST API (https://msdn.microsoft.com/en-us/library/azure/ee460799.aspx), you can create an application to manage your service’s resources programmatically. In this article, we will demonstrate how to get the email address of Azure subscription and send…

0

How IIS interferes in Group policy “Log on as a service”

  Since windows server 2008, there exists a Group policy called Log on as a service, it’s located in Group policy\Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment. As introduced in the Microsoft official document https://technet.microsoft.com/en-us/library/dn221981(v=ws.11).aspx , it’s used to determine which service accounts can register a process as a service. By checking into this group…

0

How to keep escape characters of slash ‘/’ in URL when using IIS ARR

  Recently I encountered an issue that customer would like to keep Escape Characters (in this case, it’s slash ‘/’, which is encoded to ‘%2F’) in URL, when using IIS ARR to forward the request to backend server. For example, if the Browser send a request containing /a%2Fb to IIS, then ARR would forward the…

0