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 16, 2015 @ 14:49
    Simon
    0

    Error on particular server and not on another one.

    Hi all, 

    I encountered a problem, where I have deployed the same website on two different servers: one of out client's server and the other is a smarterasp.net server.

    On the smarterasp.net server, the site is running ok; No Errors

    But on our client's server, the site is rendering an error related when invoking such extensions methods like .Count(). In fact, macro partials are not being rendered where there the sitemap, breadcrumbs, navigation etc. An error is being thrown.

    Cannot invoke a non-delegate type

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot invoke a non-delegate type

    Source Error: 

    I have checked the the correct .NET versions is installed as wel..

     

    Do you have any idea what might be the problem?

    Thank you in advnace.

    Kind Regards

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 16, 2015 @ 15:58
    Jan Skovgaard
    0

    Hi Simon

    It can be many different things I suppose - Perhaps some files are missing from the deploy, which triggers the error? Perhaps permissions have not been setup correctly? Perhaps you just need to rebuild the examine index... What specs does the client server have versus the smarterasp.net server?

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 16, 2015 @ 21:41
    Simon
    0

    Hi Jan,

    Permissions, I don't think so because the error could be much friendly to tell that something related to denial. Files are the same as on the smarterasp.net, for sure, so, I don't think so.

    Why could rebuilding the examine index affect this error? And how can do that pls?

    Thank you.

     



     

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Mar 16, 2015 @ 21:48
    Dennis Aaen
    0

    Hi Simon

    For rebuilding the examine index, go to the Developer section when you are in there look at the dashboard on the right side, in the top there are a tab called  Examine Management.

    Hope this helps,

    /Dennis

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 16, 2015 @ 21:53
    Jan Skovgaard
    0

    Hi Simon

    I'm not sure if it can fix the issue - But sometimes it's the most unexpected stuff that fixes weird issues...at least that's my experience. If I knew your environment better and could access it it would be easier to be more specific in suggesting what could be wrong. The only thing I know is that there is something on your clients server that is not working the same as on your smarterasp host.

    So it can be because of missing files in the deploy for some reason or it could be a weird examine issues if you have deployed some local indexes, which perhaps can mess things up. It's always a good idea to double check these things when it all acts up.

    Oh yeah and what Dennis describes above is how where you'll find the reindexing options.

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 16, 2015 @ 21:58
    Simon
    0

    Hi Dennis, 

    Do I need to rebuild each index?

    Jan, this is the link:- new.mdemajo.com

    Kind Regards

    Thank you

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

    Hi Simon

    Yes try rebuilding everything.

    /Jan

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

    Hi Simon

    I was thinking about server access to see how it was setup - But that's probably not something you can give me anyway :)

    But there must be a setting missing somewhere or some code that is not deployed correctly if the server setup is identical.

    /Jan

  • Simon 692 posts 1068 karma points
    Mar 16, 2015 @ 22:19
    Simon
    0

    No success for the indexes :(

    I will try to republish it again.

    Jan, do you have an idea to this please, to deploy with VS? - https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/63201-Trying-to-delete-the-umbracoInstall-Folder

    So I can exclude to upload via FTP.

    Thank you.

  • John Palmer 76 posts 201 karma points
    Mar 31, 2015 @ 05:59
    John Palmer
    0

    Hi Simon,

    I would suggest you to contact your hosting provider and ask them to install it for you. From the error message, it seems the problem comes from your code. If they can successfully install umbraco for you, it means that you need to check your code again.

  • Stephen 767 posts 2273 karma points c-trib
    Mar 09, 2016 @ 10:36
Please Sign in or register to post replies

Write your reply to:

Draft