Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

FTP Publish Error in Visual Studio 2013

Tags:

I've been working on an old Visual Studio 2010 Project which is published via FTP,

as part of my process I have updated the project to Visual Studio 2013 and attempted to republish onto the server to my test environment, upon doing so I get the following error,

    Publishing folder /...     Unable to add 'About.aspx' to the Web site.  An unknown WinINet error has occurred (code 12113). 

it then continues to list every file in my Site with exactly the same error message

I've gone back to the VS 2010 Project and it still works perfectly with exactly the same FTP settings, looking round the net there are a number of people asking similar questions with regards to VS 2013 but I can't find one that is solved.

I watched the publishing folder on the server and when i published a new file was created in the folder, (something like ProjectName.publish.xml) so the connection is working right?? but why the error?

like image 207
Chris Warnes Avatar asked Feb 28 '14 10:02

Chris Warnes


2 Answers

When setting up the login parameters of the FTP in the profile setup in VS - under connection, make sure "Passive mode" is checked. That solved my problems.enter image description here

like image 119
Kaptein Babbalas Avatar answered Oct 12 '22 09:10

Kaptein Babbalas


in my case the issue was in firewall rules. You have to add inbound rule for Visual studio. In my case the files marked in VS with this error still appeared on the server, so, as I understood, this error means that VS cannot receive a message from the target server that file transfer completed correctly.

like image 21
osharper Avatar answered Oct 12 '22 08:10

osharper