Unable to add 'Global.asax' to the Web site. An unknown WinINet error has occurred (code 12113).

Posted on Tuesday, June 9, 2015 at 8:43 AM into csharp, code & gotcha by Steve Woods.
Roughly a 1 minute read.

When publishing - especially via FTP (people still use that?) - using Visual Studio, you may come across the error:

Connecting to ftp://xxx.xxx.xxx.xxx Unable to add 'Global.asax' to the Web site. An unknown WinINet error has occurred (code 12113).

To solve it, you must simply add Visual Studio to your firewall exclusion list - the error is a result of the firewall blocking Visual Studio from accessing your FTP server.

 

;

RSS 2.0 Feed | Copyright © 1999 - 2018 Steve Woods, All Rights Reserved - Warning, may contain nuts.