Clickonce - Server connection timed out

joefa

Member
Joined
Sep 16, 2010
Messages
19
Programming Experience
5-10
Hi

I'm trying to publish a Windows application using Clickonce. I've built the project in Release/Any CPU. This is what I'm doing:

- Right click on the project and Publish
- Specify the location ftp://mywebsite.com/Subfolder/ and click Next
- Choose From a website, enter the URL http://mywebsite.com/Subfolder/ and click Next
- Choose Yes, this application will be available online or offline, and click Next
- Click Finish
- Enter the username and password to connect to my website (these are definitely correct, I can connect fine with them using an FTP client) and click OK

This gives the error
"Failed to connect to 'ftp://mywebsite.com/Subfolder/' with the following error: Unable to create the Web site 'ftp://mywebsite.com/Subfolder'. The server connection timed out."
I'm using VS 2017. I've tried it with and without Passive mode selected, this makes no difference.

Has anyone seen this before? I'm wondering about the "create the web site" in the error message. I don't know why it thinks this is necessary, as the site and the sub folder already exist.

Any ideas what I could be doing wrong? Nothing Google says has really helped me.

Many thanks
Joe
 
Back
Top