Hire Me

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

Find out what to do when Visual Studio reports a WinINet error code 12113 when deploying a website via Web Publish

Posted on Tuesday, June 9, 2015 at 8:43 AM into csharp code by Steve Woods

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.

 

;