Search code examples
asp.net-mvcasp.net-mvc-4visual-studio-2012somee

MVC4 site publish to Somee


I've created an MVC application using Visual Studio 2013 and I want to publish it using my free account of Somee. They claim to support MVC 4 but I'm unable to publish.

Here's my output when trying to publish:

1>------ Build started: Project: Somee, Configuration: Debug Any CPU ------
1>  Somee -> c:\users\jaime oro\documents\visual studio 2013\Projects\Somee\Somee\bin\Somee.dll
2>------ Publish started: Project: Somee, Configuration: Debug Any CPU ------
2>Connecting to ftp://jaimeoro.somee.com...
2>Transformed Web.config using c:\users\jaime oro\documents\visual studio 2013\Projects\Somee\Somee\Web.Debug.config into obj\Debug\TransformWebConfig\transformed\Web.config.
2>Copying all files to temporary location below for package/publish:
2>obj\Debug\Package\PackageTmp.
2>Publishing folder /...
2>Unable to add 'Global.asax' to the Web site.  Access is denied (550).
2>Unable to add 'packages.config' to the Web site.  Access is denied (550).
2>Unable to add 'Web.config' to the Web site.  Access is denied (550).
2>Unable to add folder 'bin' to the Web site.  Cannot create folder "bin".
2>Unable to add folder 'Content' to the Web site.  Cannot create folder "Content".
2>Unable to add folder 'Models' to the Web site.  Cannot create folder "Models".
2>Unable to add folder 'Scripts' to the Web site.  Cannot create folder "Scripts".
2>Unable to add folder 'Views' to the Web site.  Cannot create folder "Views".
2>Site was published successfully ftp://jaimeoro.somee.com/
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========

Solution

  • As @Ehsan Sajjad said there was a problem with the FTP. Site path is required in Somee.

    Here is the way to configure the publish tool under the connection section:

    Publish method: FTP
    Server: ftp://[YOUR USERNAME].somee.com
    Site path: /www.[YOUR USERNAME].somee.com/ 
    Passive mode: Checked 
    User name: [YOUR USERNAME] 
    Password: [YOUR PASSWORD]