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 ==========

4 Answers 4

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] 
2
  • You may try other alternative to upload your files, please just download Filezilla tools and then please upload it to your root folder.
    – user1229931
    Apr 18, 2014 at 4: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, 2014 at 9: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

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..

2
  • 1
    or site path: www. your domain.somee.com Nov 1, 2014 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, 2018 at 1: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]

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.