Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Beau D'Amore 29 posts 70 karma points
    May 10, 2014 @ 22:32
    Beau D'Amore
    0

    how to publish? without missing files, no content, etc...

    Hello,

    I have a site in ver 7 that works completely FINE when I debug in visual studio.. however, when I publish it to a test 2012R2 server, all I get is a blank black and white screen saying 'looks like there's still work to do'... even though there are 7-8 published pages, content, the WebAPI is fleshed out to receive iOS/mobile requests...

    publishing has been a serious issue for me. If I just FTP my entire directory it works, but if I publish (as you're supposed to do) in VS2012, I get undesired results...

    any ideas? I'm lost...

  • Jan Skovgaard 11280 posts 23678 karma points MVP 10x admin c-trib
    May 11, 2014 @ 01:06
    Jan Skovgaard
    0

    Hi Beau

    Are you also copying over the /app_data/ directory all the time? If so leave it out since you probably don't want to have the same umbraco.config file on your server as you have on your local machine and the /TEMP/ folder should also be unique from version to version.

    What happens if you log into Umbraco on your server and try to right click the "Content" node and choose "Republish entire site" ? This should rebuild the XML cache (/app_data/umbraco.config) and show your site.

    However since I'm not using Visual Studio as my editor I'm not sure what the VS2012 publish is all about? Is it simply FTP'ing the files from your local environment to your live environment? Since your database is up and running deploying your files through FTP should be enough.

    /Jan

  • Beau D'Amore 29 posts 70 karma points
    May 11, 2014 @ 20:33
    Beau D'Amore
    0

    Hey thanks for replying. I really need someone who is VS savvy for this one though.

    Publishing in VS2012 can and does do a number of things. If one chooses, you can tick a checkbox and it will compile so that it makes dlls for every .cs page for high security. VS is supposed to be smart enough to know what files are needed to actually run the site, and pushes those via Web Deploy, FTP, or a few other transport methods. Howeverm I have not set it to make DLLs, nor any other special setting to limit anything. Umbraco is quite frustrating because the package that installs from NuGet isn't 'ready-to-go' and requires lots of finagling to get it to run right.

    FYI, the login screen is blank for the back-end, so no, I cannot even login.

    However, upon FTP-ing ALL of the files to the site, it fires up fine, but that's not something I plan on doing on a live and potentially insecure site. Proper procedure is to publish via whatever transport available and it is supposed to run...fine... I've worked in .NET for many years, publishing many web apps for various medical software firms, casinos, police departments, etc.

    All the touting of how 'awesome' Umbraco is falls short on me, currently. It seems that Umbraco is it's OWN environment, it's own ecosystem and has its own rules of how it acts and reacts in Visual Studio... very, very frustrating. Maybe I'm wrong, but Umbraco seems to be so customized inside VS that's it's VERY hard to work with as far as publishing.

    I have an API all written up and working perfectly for my mobile GPS app to push all it's location information up into the Umbraco ecosystem per member, with a  sign up, a login, etc. I just need to know how to properly publish which is a normal, industry accepted method of rolling out ANY app from dev to live.

    But Umbraco is finicky about that...

    Thanks anyway though.

  • DaveC 8 posts 28 karma points
    May 12, 2014 @ 20:40
    DaveC
    0

     Hi Beau, 

     "VS is supposed to be smart enough to know what files are needed to actually run the site."

    My hope exactly!

    I posted what I think is a similar complaint a couple of days ago, with the title:

    "What's the difference between UmbracoCms.7.1.2.zip and NuGet 7.1.2 and Why doesn't VS2013 publish Umbraco.sdf to my hosting site?"

    In my case, I wanted to test Visual Studio's publishing ability before I spent time building a site.  I found that if I use NuGet to download Umbraco straight into an empty ASP.NET project then build & publish the default website, it fails.  However, WebMatrix or FTP can publish the same exact project just fine.  I can make a default ASP.NET 4.5 MVC project in Visual Studio 2013 (no Umbraco) and publish it. It works too.

    I see you also used NuGet for your project, you can read the sordid details in my original post mentioned above.

    DaveC

     

  • DaveC 8 posts 28 karma points
    May 22, 2014 @ 11:44
    DaveC
    0

    Beau,

    Any luck publishing your site from Visual Studio?

    DaveC

  • Beau D'Amore 29 posts 70 karma points
    May 22, 2014 @ 14:09
    Beau D'Amore
    0

    nope. as a work-around I ftp ALL the site to teh server and then publish my changes as I go.. 

    this is truly unacceptable, however, as I am finding out, the support for this is non-existent... so I am forced in this direction.

    It's making me want to look into other CMS sources.

    Finding it very hard to accept that no one is using VS... there MUST be a way of 'fixing' this...

  • DaveC 8 posts 28 karma points
    May 24, 2014 @ 00:29
    DaveC
    0

    Beau,

    I agree.  We have a world-class web development IDE called Visual Studio.  Umbraco provides a NuGet package which claims to work with SQL CE.  Yet their out-of-the-box MVC project does not include all the necessary files and settings to publish to a web server from Visual Studio.  SQL CE is in the App_Data folder – yet it is not included in the project.  When I include App_Data, it generates a number of publishing errors.  We are therefore forced to abandon Visual Studio in favor of WebMatrix or FTP.

     

    I am new to Umbraco and wanted to test it before I invested many months learning this CMS.  I read as much documentation as I could find and still have no answer.  I am not interested in a workaround hack, because either the package works or the documentation needs to state that Umbraco can’t be published via Visual Studio if the project is SQL CE based.

     

    In the meantime, I am studying ASP.NET MVC and not spinning my wheels with Umbraco anymore.  (I've installed umbraco probably 30 times in one month trying to figure out what is wrong.)

     

    DaveC

  • Beau D'Amore 29 posts 70 karma points
    May 24, 2014 @ 17:28
    Beau D'Amore
    0

    I installed it about as many times as well.. 

    The real kicker is... NO ONE else knows what we're talking about and/or has already solved it themselves and never published it here or reads teh forum looking to answer this problem either.

    I am going to try to contact Umbraco headquarters somehow and ask about this. As I have already put 100+ hours into it, I am deep enough to try a little further before trashing and accepting the loos of time, energy, and resources.

    Good luck. Keep in touch :)

  • Jay 49 posts 211 karma points
    Dec 17, 2014 @ 09:16
    Jay
    0

    I just ran into this very same problem.

    All I had to do was copy the Views folder manually from my Visual Studio project into the published web app. Now the published site works!

    Also, make sure your publish profile has 'precompile' set to off. I also have 'exclude app data' turned off.

Please Sign in or register to post replies

Write your reply to:

Draft