Copied to clipboard

Flag this post as spam?

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


  • Simon 692 posts 1068 karma points
    Mar 05, 2015 @ 17:31
    Simon
    0

    Umbraco Issue when publishing

    Hi,

    Appreciate any help.

    I have publihsed via web deploy, first to file system and then from the file system to the web server.

    Locally, working fine, but when accessing website online, I am having such strange problems which I am not understanding why they are happening.

    For example, Both the navigation menu and the breadcrumbs, (both in macros), are not being rendered. 

    Also, in the home page, I have home page banners, but error is being thrown.

    It is quite strange, because the same site is working locally. I am suspecting, something related to CurrentPage. methods, because I have another example: 

    var selection = Model.Content.Children.InGroupsOf(2);

    which is not working fine also. Nothing is being rendered, but with no errors, but no Data.

    Any idea please?

    Thank you.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 05, 2015 @ 20:17
    Jan Skovgaard
    0

    Hi Simon

    Have you tried comparing what's deployed to what you have locally making sure it's not because there are some files missing?

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 05, 2015 @ 22:04
    Simon
    0

    Hi Jan

    Thank you for your reply.

    I will check tomorrow and let you know.

    If so, which files do you think are missing, please?

    Kind Regards

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 05, 2015 @ 22:14
    Jan Skovgaard
    0

    Hi Simon

    Could be some of the view files - Don't know if you have some custom controllers etc. setup in your project as well that could be missing too perhaps?

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 06, 2015 @ 10:09
    Simon
    0

    Hi Jan,

    Both locally and online, there are the same files exactly.

    Locally, it works fine, but online, some errors persist, as mentioned above, related to code.

    But is sounds really strange.

    Do you have any ideas what is might be the problem?

    This is the link, if you want to check. (new.mdemajo.com) and also check (new.mdemajo.com/news)

    Thank you.

    Regards

  • Simon 692 posts 1068 karma points
    Mar 06, 2015 @ 10:30
    Simon
    0

    Hi Jan,

    One more thing. I have continue testing, and I found also that online, CurrentPage.Children() works fine, but CurrentPage.Children("documentTypeAlias") does not work. The same error popup: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot invoke a non-delegate type

    Any Ideas, pls?

    Thank you in advnace.

    Kind regards

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 06, 2015 @ 23:12
    Jan Skovgaard
    0

    Hi Simon

    How does your server setup differ from your local setup? Could there be missing a framework on the server? Some IIS modules? How about permissions? Are they setup correctly?

    Let's try to figure out 1 thing at the time - Starting with the server setup.

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 06, 2015 @ 23:20
    Simon
    0

    Hi Jan,

    Thank you for your response.

    But, what do you mena by missing frameworks? The server is client's server that we are uploading website to.

    Regards

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 06, 2015 @ 23:25
    Jan Skovgaard
    0

    Hi Simon

    If for instance the wrong version of the MVC framework is installed or some other stuff that Umbraco depends on then it can cause issues. Not sure that's the culprit but since I don't know what is installed on your server it's hard to figure out where things might be wrong :)

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 06, 2015 @ 23:28
    Simon
    0

    Currently, I am trying to publish it to another server, but do you Know what the MVC framework it should be installed, to check with the client, pls...

    Thank you.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 06, 2015 @ 23:34
    Jan Skovgaard
    0

    Hi Simon

    To be honest I can't remember - I usually use the web platform installer to fix it for me because I'm lazy. When I choose to install Umbraco initially using it then all dependencies that are needed for Umbraco to run are downloaded and installed before the Umbraco installation starts. Afterwards I tend to deploy my local site to the server and delete the Initial Umbraco site I installed with the WebPi.

    I tried to see if I could find the documentation somewhere but I could not find it.

    /Jan

  • mike 90 posts 258 karma points
    Mar 07, 2015 @ 00:10
    mike
    0

    Go to the application pool for domain on server and make sure its using the latest .net.  I forget sometimes to change it when setting up new domain and get weird errors.

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 00:29
    Simon
    0

    Hi,

    I have uploaded the site on a new server, but now, the CMS is accessing everything, but when preview or access the frontend site, a browser messages will be shown that This Web Page is not availalbe.

    Now, errors are not popup, but also can't access it.

    Any ideas.

    Kind Regards

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 00:31
    Simon
    0

    Only the Page not found, with all styling is now showing. But pages, Web Page is not availalbe. 

  • mike 90 posts 258 karma points
    Mar 07, 2015 @ 00:51
    mike
    0

    Is it a custom 404 page?  Have you tried removing that?

    Can you log into the control panel or is it just front end?  If you can get into control panel go to some content and see if there is a value for published content link

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 09:21
    Simon
    0

    Hi Mike,

    No not an error. Just the Browser is saying that This web Page is not availalbe, on gray background.

    But, in the CMS, there is all the Content. 

    Any idea.

    Regards

  • Simon 692 posts 1068 karma points
    Mar 07, 2015 @ 13:54
    Simon
    0

    Hi,

    Actually, I am getting this error: ERR_CONTENT_DECODING_FAILED  

     

     

     

     

     

     

     

    But when accessing the CMS, it works fine. Only pages.

    Any idea pls?

    Kind Regards


  • Simon 692 posts 1068 karma points
    Mar 17, 2015 @ 15:17
    Simon
    0

     

    Hi Jan or somebody else,

    I have been facing the problem of running the same website on two different servers; smarterasp.net server and our client's server.

    On the smarter, it works fine, but with SAME files on the the client's server, it is popin up an error. (new.mdemajo.com)

    Now, we grab some server specifciations, and we would like to know whether it may be causing the issue something related to the server:

    Smarterasp.net Client's server
    IIS8 IIS7
    Windows Server 2012 windows Server 2008 R2 Standard
  • Simon 692 posts 1068 karma points
    Mar 23, 2015 @ 11:16
    Simon
    0

    Hi Jan,

    Do you think it is affecting this error pls?

    Thank you.

    Regards

Please Sign in or register to post replies

Write your reply to:

Draft