Can’t login FTP site because of missing port 20 on Windows firewall

Situation: The client setup a FTP site in their Windows 2012 R2. When they try to access the FTP site, and enter their credentials, they can’t access the FTP with timeout message.

Troubleshooting: 1. If we turn Windows Firewall off, it works.

2. The Windows Firewall already has FTP inbound and outbound configured.

3. We fix the problem by adding port 20 in windows firewall.

FTP: 227 Entering Passive Mode (10,0,1,17,149,179)

Situation: The client setup a FTP site on their Windows 2012 R2 server. They can’t access FTP with this message: Make sure you have permission to access that folder. The hadle is invalid.

Details
200 Type set to A
227 Entering Passive Mode (10,0,1,17,149,179)

Troubleshooting: This could be the FTP Firewall Support issue. Go to IIS Manger>Server name, double click on FTP Firewall Support.

Change the Data channel Port Range to 0-0 and remove the External IP addresses of Firewall in it is used for internal only.

An error occurred opening that folder on the FTP Server.

Situation: The client setup a FTP site on their Windows 2012 R2 server. They can’t access FTP using Internet Explorer, Microsoft Edge, and FileZilla and WinSCP. However, they can access FTP using Chrome browser. This is the error message: An error occurred opening that folder on the FTP Server. Make sure you have permission to access that folder. The hadle is invalid.

Troubleshooting: This could be the FTP Firewall Support issue. Go to IIS Manger>Server name, double click on FTP Firewall Support.

Change the Data channel Port Range to 0-0 and remove the External IP addresses of Firewall in it is used for internal only.

Can’t access FTP, SFTP and FTPS server

Here are some cases we have been working on FTP connection problem.

  1. The certificate expired.

2. Make sure you connect to correct FTP site. In this case, the client open the port 21 on Default website. Disable the default website or remove the port 21 from the default website fixes the problem.

3. In other case, The client assign port 21 to ftps site. Refer to above screenshot.

4. Make sure you configure correct authentication and authorization. Also make sure you enter correct username and password. In one of case, the client needs to enter domainname/user to access the FTP site.

System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid

Situation: When running Installutil to install a program as windows service, the client receives this message:

An exception occurred during the Install phase.
System.ComponentModel.Win32Exception: The account name is invalid or does not exist, or the password is invalid for the account name specified

Troubleshooting: You need to use correct login format, for example domain name\admin and correct password.

Add-in doesn’t work in Outlook

Situation: After the user installed Business for Skype on her new computer, the CRM Add-in doesn’t work.

Troubleshooting: we can see the CRM add-in, but whenever we enable it, it doesn’t work and it doesn’t give any error.

After checking the programs and features, we find there are two version of Microsoft Office, Microsoft Office 2016 and Microsoft Office 2016 ProPlus.

Removing all Office and re-installing Office Proplust fixes the problem.

Fix Windows 10 Update error 80070422

Situation: When the client tries to install Windows update, he gets this message: ” There were some problems installing updates, but we’ll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070422)”

Troubleshooting: 1. Make sure Windows Update service is running. If not, start it and configure Windows Update service startup type as Automatic.

2. Download and install Windows Update Assistant from Microsoft. This step by step video may help:

Windows 10 goes into sleep after 1 minute idle

Situation; The client has windows 10 laptop. If he leaves the computer idle for a minute it goes into sleep but then flickers between unlock screen and black screen. He has to keep logging in to carry on. All power settings are set with never to try and resolve but the laptop appears to be taking no notice of the power settings.

Why and how to fix it?

Resolution 1

  1. Run regedit
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\238C9FA8-0AAD-41ED-83F4-97BE242C8F20\7bc4a2f9-d8fc-4469-b07b-33eb785aaca0
  3. Double click on Attributes
  4. Enter number 2.
  5. Go to Advanced power settings (click on Windows button, write power options, click on Power Options, in the selected plan click on the Change plan settings, click on the Change advanced power settings).
  6. Click on the Change settings that are currently unavailable
  7. Click Sleep, then System unattended sleep timeout, then change these settings from 2 Minutes to 20 for example.

Resolution 2:

That couls be the SCREEN SAVER settings.
To find the screen saver, open your control panel. Select Personalization.
Now select Screen Saver, which may be one of the icons along the bottom of the window. Now you can set your screen saver to come on after some more reasonable amount of time.

SQL Server time out because of name resolution

Situation: The client just installed SQL on Windows 2016 server. The users can’t access SQL database because of time out.

Troubleshooting:

  1. The SQL server is configured as workgroup with public network while most workstations and server are in domain network.
  2. If we ping SQL server host name, it takes 4 to 5 second to reply. If we ping the SQL server by IP, it takes just second.
  3. When checking the DNS Manger, we find the the SQL serer is not registry the A record.
  4. We fix the problem by add statics DNS A for the SQL server. Run ipconfig /flushdns on workstation, we can access the SQL database without any issues.