4

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 ==========
Jaime Oro
  • 9,899
  • 8
  • 31
  • 39

4 Answers4

8

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] 
Jaime Oro
  • 9,899
  • 8
  • 31
  • 39
  • You may try other alternative to upload your files, please just download Filezilla tools and then please upload it to your root folder. –  Apr 18 '14 at 04:07
  • 2
    For me it's easier to Publish from VS. With one click, the app is built and modified files are uploaded. – Jaime Oro Apr 18 '14 at 09:12
2

It is some FTP authentication issue. See here:

http://support.microsoft.com/kb/2581719

https://serverfault.com/questions/75998/ftp-access-denied-when-uploading-to-server

Community
  • 1
  • 1
Ehsan Sajjad
  • 61,834
  • 16
  • 105
  • 160
0
Publish method: FTP
Server:  ftp://domain.somee.com
Site path: Protected.domain.somee.com
Passive mode: Checked 
User name: [YOUR USERNAME] 
Password: [YOUR PASSWORD] 

As I publish above and i succeeded..

sampathsris
  • 21,564
  • 12
  • 71
  • 98
  • 1
    or site path: www. your domain.somee.com – Tarık Eren Tan Nov 01 '14 at 23:53
  • Can you advise what is the use of the "Protected Local Path"? If I publish too protected.domain.somee.com, my website doesn't work and I don't see any files in the somee File Browser. If I publish to www.domain.somee.com, everything works fine. – goofology Nov 19 '18 at 01:04
0

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]