Publish with Visual Studio 2015

I am trying to publish an ASP.NET 5 MVC6 application to a godaddy server from Visual Studio 2015. I have imported a publish profile from my server and I can verify the connection. However, when I publish my application, I have the following error:

ERROR_USER_UNAUTHORIZED

Failed to complete network deployment task. (Connected to a remote computer ("XXXXXXX") using the web management service, but cannot resolve. Make sure that you are using the correct username and password, the site you are connecting to exists and that the credentials represent the user who there are permissions to access the site.

The credentials are valid, I can publish the VS2013 sample project from VS2015, but I cannot publish the VS2015 sample project, as well as my application from VS2015 with the same credentials.

The user is an administrator on the server.

+6
source share
1 answer

The first thing you need to check is that GoDaddy supports 4.5.1 on its server. As soon as this is confirmed? We can start to work!

Helios (laying between IIS and ASP.NET 5) requires at least 4.5.1, so this is necessary.

The only thing missing is to run dnu publish and make sure you have a web.config file with this section:

 <system.webServer> <modules runAllManagedModulesForAllRequests="true" /> </system.webServer> 

If that doesn't work, I would contact GoDaddy for some support. If they do not support the latest version of the framework, you may need to revert to MVC 5 or switch to if you really want to enable .

+6
source

All Articles