FTP Publish Error in Visual Studio 2013
Asked Answered
T

5

21

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?

Tyburn answered 28/2, 2014 at 10:25 Comment(0)
D
26

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.

Demography answered 5/3, 2014 at 16:0 Comment(0)
E
48

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

England answered 18/8, 2014 at 7:17 Comment(0)
D
26

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.

Demography answered 5/3, 2014 at 16:0 Comment(0)
P
2

In my case VS 2015, i change publish setting of connection ==>checkded on "passive mode" and then it worked. enter image description here

Peppergrass answered 30/8, 2017 at 8:51 Comment(0)
G
0

Hopefully you've managed to find a solution by now, but I'll leave this here just in case any one else comes across it.

I had two publishing profiles, one for Azure/TFS and one for GoDaddy(FTP). While trying to publish to GoDaddy the Microsoft login popped up that I'd normally see when publishing to Azure. I just closed it but this seems to have triggered the problems. Logging in seems to have resolved the issue.

Gentle answered 5/3, 2014 at 12:11 Comment(0)
T
-1

This turned out to be a firewall issue on my Dev pc. The files were being written but no response to say they were successfully deployed.

Telegu answered 12/10, 2022 at 7:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.