Posted on

iis error 0x80070021 on web.config

This error occurs when installing a site locally with IIS on a windows 10 or a windows 8.1. It is not excluded that it can also occur on server operating systems.

Error Details

Module :IIS Web Core

Notice: BeginRequest

Handler: Not yet determined

Error: 0x80070021

Configuration error: This configuration section can not be used in this way. This happens when the section is locked at the parent level. Locking is either by default (overrideModeDefault = “Deny”), or installed directly by the tag location with overrideMode = “Deny” or inherited property allowOverride = “false”.

The configuration file
\\?\C:\inetpub\wwwroot\test\web.config

Physical Path
C:\inetpub\wwwroot\test\miofile

Logon Method: Not yet determined

Users who have logged on: yet to be determined

SOLUTION

You also need to install .NET and the IIS development tools

or

Posted on

Installing Windows 2019 server on HPE server

Entering Intelligent Provisioning on the HPE server you realize that you can only install from CD ROM. But you haven’t mounted the CD player on your server.

With your iso create a bootable usb using for example Rufus. Does not work!

Download the “USB Key Utility” from the HP site to create a bootable USB with HPE specifications. Does not work!

What to do ?

The solution is very simple but poorly documented.

Solution

From your computer, go to the ILO page of the HP server. To do this you need to connect the server’s ILO port (it is a particular ethernet port) to the network. Turning on the server, if a DHCP server is active in your network, when you turn on the machine you will see, at the bottom, the ip address assigned to ILO. If a DCHP server is not active you will have to put a static ip by going to the utilities (button F9).

On the case of your HPE server there is a sticker with the password to access the ILO. Connect from your computer with a web browser to the ILO IP. The user is “Administrator”. Log in.

In this example I am using ILO 5.

On the left click on “Remote Console”.

A page appears from which you can open server management consoles, using different technologies. I’m using HTML 5. After the console opens, you have a button with a circle at the top. You can select your iso file which will be mounted on the server CD / DVD.

At this point you can restart the machine. To do this, you can send the ALT + CTRL + DEL command via the Remote Console keyboard.

When you reboot the server your iso will be mounted on CD / DVD and you can start the installation via Intelligent Provisioning.

Posted on

Error “CredSSP” Error using rdp on Windows Server 2012 R2

Scenario

You are trying to connect via rdp to windows server 2012 r2 and you receive this error :

An authentication error has occurred.
The function is not supported.
Remote Computer: your hostname
This could be due to CredSSP encryption oracle remediation.

Solution

Download and install KB4103725 form Microsoft Update Catalog

After installing you need to restart the server.

Posted on

Fix Windows Update errors

Open Start, type: CMD
Right click CMD
Click Run as administrator

Type each of the following then hit Enter

taskkill /f /fi "SERVICES eq wuauserv" (Do this multiple times)
net stop cryptSvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
rmdir C:\Windows\SoftwareDistribution\DataStore
rmdir C:\Windows\SoftwareDistribution\Download

When complete, hit Enter, then restart, then try updating again.

If that does not work..

1. Open Start, type: CMD
Right click CMD
Click Run as administrator

Type each of the following then hit Enter

Run these codes:

Net Stop bits
Net Stop wuauserv
Net Stop appidsvc
Net Stop cryptsvc
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak
Net Start bits
Net Start wuauserv
Net Start appidsvc
Net Start cryptsvc

After running these commands, check if your issue is fixed.

Posted on

Windows, change rdp port

The rdp defaul port is 3889.

To change this port :

WINDOWS FIREWALL

In windows firewall, create a windows inbound rule on this new port on windows firewall.

WINDOWS REGISTRY

  1. Start the registry editor. (Type regedit in the Search box.)
  2. Navigate to the following registry subkey: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\PortNumber
  3. Click Edit > Modify, and then click Decimal.
  4. Type the new port number, and then click OK.
  5. Close the registry editor, and restart your computer.