Question

sry if this is trivial

which files from my asp.net solution should i upload using filezilla in my website please?

thank you

These errors are appearing in vs:

Connecting to ftp://my____website.com/... Publishing folder /... Unable to add 'Answer.aspx' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service. Unable to add 'Default.aspx' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service. Unable to add 'Web.config' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service. Unable to add 'my____website.bmp' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service. Publishing folder App_Data... Publishing folder bin... Unable to add 'bin/my____website.dll' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service. Unable to add 'bin/my____website.pdb' to the Web site. Could not find a Web server at 'my____website.com' on port 21. Please check to make sure that the Web server name is valid and your proxy settings are set correctly. If you are sure that everything is correct, the Web server may be temporarily out of service.

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped

========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

Was it helpful?

Solution

If you're using Visual Studio, you can use the Publish functionality:

  1. In the Solution Explorer, right-click on the root (your project/website name)
  2. There should be an option called Publish.
  3. Select how/where you wish to publish
  4. In the popup, ensure that the "Only files needed to run this application" option is selected

This will publish only the files needed to your website.

OTHER TIPS

Right click on your web project and choose Publish. Change the output to an empty directory and copy all files that get put there.

Also see this MSDN article for more details on Publishing your site

http://msdn.microsoft.com/en-us/library/1y1404zt(VS.80).aspx

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top