ip blocking by country Error code 0x80070021 iis 7 -


There is no way to restrict access to some countries by checking the IP address in ASP.NET. So far, I changed the web. Configured file I collect IP addresses from the third party API, though this error gives me that I've added a screen shot to it.

Any help would be great thanks in advance

Here my web is configured;

  & lt; System.webServer & gt; & Lt; Security & gt; & Lt; IpSecurity allowUnlisted = "true" & gt; & Lt; Clear /> & Lt; Add ipAddress = "5.2.80.0" subnetMask = "255.255.248.0" /> & Lt; Add ipAddress = "5.10.140.0" subnetMask = "255.255.255.0" /> & Lt; Add ipAddress = "5.11.128.0" subnetMask = "255.255.128.0" /> & Lt; Add ipAddress = "5.23.0.0" subnetMask = "255.255.255.0" /> & Lt; Add ipAddress = "5.23.16.0" subnetMask = "255.255.255.248" /> & Lt; Add ipAddress = "5.23.120.0" subnetMask = "255.255.248.0" /> & Lt; Add ipAddress = "5.24.0.0" subnetMask = "255.252.0.0" /> & Lt; Add ipAddress = "5.44.80.0" subnetMask = "255.255.240.0" /> & Lt; IpAddress = "5.44.144.0" subnet mask = "255.255.240.0" /> & Lt; Add ipAddress = "5.46.0.0" subnetMask = "255.254.0.0" /> & Lt; IpAddress = "5.62.126.0" subnet mask = "255.255.254.0" /> & Lt; Add ipAddress = "5.63.32.0" subnet mask = "255.255.224.0" /> & Lt; Add ipAddress = "5.104.0.0" subnetMask = "255.255.240.0" /> & Lt; Add ipAddress = "5.159.248.0" subnetMask = "255.255.248.0" /> & Lt; Add ipAddress = "5.176.0.0" subnetMask = "255.254.0.0" /> & Lt; Add ipAddress = "5.226.192.0" subnetMask = "255.255.192.0" /> & Lt; Add ipAddress = "5.229.0.0" subnetMask = "255.255.0.0" /> & Lt; Add ipAddress = "5.250.240.0" subnetMask = "255.255.240.0" /> & Lt; Add ipAddress = "5.255.0.0" subnetMask = "255.255.192.0" /> & Lt; Add ipAddress = "23.229.3.0" subnet mask = "255.255.255.0" /> & Lt ;! - ... ... ... ... - & gt; & Lt; / IpSecurity & gt; & Lt; / Safety & gt; & Lt; Run the moduleAll managed modules are FORAllRequests = "true" /> & Lt; /system.webServer>   

and here results

Enter image details here From <div class =

, it seems that the problem is related to your service provider, on which the security setting lock Getting high level and override prevention.

This section is locked at a higher level such as applicationhost.config

and there is a link about the page to lock these settings. To:

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -