Forum Discussion
WebDav installation issue with IIS
Hi! I have failed installation IIS for Web Server on virtual machine windows server 2016, that have connection via proxy and I connected to it via xfreerdp.
What it can be?
- kyazaferrIron Contributor
Proxy Configuration
Since your VM is connected via a proxy, there may be network restrictions or misconfigurations affecting the installation of IIS and WebDAV. IIS may require external internet access for certain components or updates during installation, especially if you're using a remote desktop or RDP connection to perform the setup.
Solutions:
- Check Proxy Settings: Ensure that the proxy settings on the VM are configured correctly. Open Internet Options (Control Panel > Internet Options > Connections tab > LAN settings) and make sure the proxy server is properly set.
- Verify Proxy Access: Verify that the VM can access required external resources, such as Windows Update or the IIS installation files (if applicable). You can test this by trying to access a website from the VM or running ping commands to external servers to confirm there is no network block.
- Use Local Repository: If your proxy restricts access to external resources, try installing IIS and WebDAV from a local repository instead of downloading from the internet. You can use the Windows Server installation media or a local update server to install the features.
2. Permissions and Administrative Privileges
Installing IIS and the WebDAV feature requires administrative permissions. If you're connected via xfreerdp (a remote desktop client), there could be a permissions issue when trying to install IIS from the remote session.
Solutions:
- Run as Administrator: Ensure that you are logged into the VM with an account that has administrative privileges. When using xfreerdp, try to run the installation process by explicitly choosing the Run as Administrator option.
- Check User Account Control (UAC): Sometimes, UAC settings may block certain installation actions. You may want to temporarily disable UAC or adjust its settings to allow installation.
3. Corrupted Installation or Missing Features
It is possible that IIS or required features are not fully installed, or the installation might be corrupted, leading to issues when installing WebDAV.
Solutions:
- Install IIS Manually: Try installing IIS manually through the Server Manager:
- Open Server Manager and go to Add Roles and Features.
- In the wizard, select Web Server (IIS) and choose the required WebDAV features.
- Proceed with the installation and check the installation log for errors.
- kyazaferrIron Contributor
- Check Windows Update: Ensure that your server is fully up to date with Windows Updates. Some IIS features may fail to install if updates or patches are missing.
4. Check for Errors in Logs
If the installation fails, reviewing the error logs can provide more detailed information on what went wrong.
Solutions:
- Event Viewer Logs: Open Event Viewer and check the Application and System logs for any errors related to IIS installation. Look for entries that might indicate why the WebDAV feature failed to install.
- IIS Installation Logs: Review the IIS-specific logs at:
- C:\Windows\Logs\CBS\
- C:\Windows\System32\inetsrv\logs\
5. Firewall and Network Issues
Since WebDAV involves file sharing and external connectivity, it’s important to ensure that your firewall settings allow for these connections.
Solutions:
- Check Firewall Settings: Make sure the server's firewall is not blocking required ports for IIS and WebDAV (typically, ports 80 and 443 for HTTP and HTTPS).
- Check for Conflicting Applications: Other software or services running on the VM could be conflicting with IIS installation, particularly if they use similar ports.
6. Incompatible RDP Session
There is a possibility that using xfreerdp to connect to the server may introduce issues, especially if it's not set up correctly for remote administration of Windows Server 2016.
Solutions:
- Use Remote Desktop (RDP) Client: If possible, use the official Remote Desktop Client (RDP) for Windows to connect and perform the IIS installation. Sometimes, third-party RDP clients can have compatibility issues with certain installation processes.
- Check RDP Session Settings: Ensure that your RDP session has the correct configuration for running administrative tasks, especially if you are executing commands in the terminal.
7. Verify WebDAV Prerequisites
Ensure that the prerequisites for WebDAV are met. The WebDAV feature requires some other components in IIS.
Solutions:
- Install Additional IIS Features: Make sure that the WebDAV Publishing feature is installed under IIS. You can install this feature from the Add Roles and Features wizard or through