VS 2013 FTP Connect to Website, Can not open file

DMoody007 0 Reputation points
2025-08-03T23:10:21.4266667+00:00

I am using Visual Studio 2013 (aware eol). I do File, Open Website, then FTP Website. I use the IP Address for server and a port. Has worked flawlessly until I recently dumped my Spectrum Router and replaced it with a Asus Router that has a built in firewall. Visual Studio will open the website and display a list of pages in the Solution Explorer. If I try to open a page into the designer/viewer, it fails with a message - "Unable to get file {file name} from the Web server".

Things I tried:

  • I can open the files outside of Visual Studio using browser and/or explorer in SMB and FTP. So I don't think I rights issue.
  • For some reason I can not explain, there are three files in the root of the solution. Web.config, a start page (default.aspx), and an html page. I can open these without issue in Visual Studio. Anything in a folder from the root, I can not.
  • I disabled the firewall on the Asus Router and no change
  • I looked up ports used by Visual Studio and added to port forwarding as suggested by various sources without success.

I am thinking the Asus is somehow blocking but I can not figure out how. Hoping someone here can maybe explain how VS, using my connection method tries to connect and what other ports or requirements might be needed so I can try to engage Asus further and resolve this. Any assistance would be appreciated.

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bhawesh Kumar 75 Reputation points
    2025-08-04T01:25:48.0766667+00:00

    I am not sure if this is going to be a solution but just adding some thoughts. ASUS router's NAT implementation may be blocking passive FTP data connections required by VS 2013 for subdirectory file access. You can perform following actions to debug if things work by this: -

    • Disable ASUS router firewall temporarily
    • Configure port forwarding for FTP ports (21, 20, 80, 443)
    • Force active FTP mode in Visual Studio registry
    • Consider upgrading to newer Visual Studio version

    For Immediate Testing

    • Test with FileZilla FTP client first
    • Verify HTTP access to files via browser
    • Check if root files work but folders don't

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.