Copied to clipboard

Flag this post as spam?

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


  • K Latif 15 posts 35 karma points
    May 23, 2012 @ 09:03
    K Latif
    0

    Error loading Razor Script.

    I recently upgraded Umbraco from version 4 to version 4.7.1

    After installing uBlogsy_2.1.0.0, I have been getting following errors:

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    May 23, 2012 @ 12:33
    Anthony Dang
    0

    I assume you followed the upgrade path and at some point had Umbraco 4.6 or 4.7.

    The 4.7.1 release had changes to razor. I think you probably have a dll remaining in your bin.

    From memory I think it was macro legacy or somethign with the word macro in it.

    Easiest way to find out is to get a fresh umbraco install then compare the files.

     

  • K Latif 15 posts 35 karma points
    May 24, 2012 @ 01:20
    K Latif
    0

     

    Thanks Anthony for your prompt reply.

    I have double checked all the dlls and compared all the config files multiple times. Please see attached screenshot for error details.

  • K Latif 15 posts 35 karma points
    May 29, 2012 @ 05:50
    K Latif
    0

    Hi Anthony,

    Have you got chance to look into my above post?

    Your help would be highly appricated regarding this issue.

    Regards, Khuram

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jun 04, 2012 @ 21:59
    Anthony Dang
    0

    Sorry for the late reply.

    I think it's because at least 1 of your posts has not got a valid date?

    Try unpublishing large chunks of nodes until it doesnt crash.

     

  • K Latif 15 posts 35 karma points
    Jun 06, 2012 @ 06:00
    K Latif
    0

    Hi Anthony,

    I have deleted all the posts and then there are no any error at blog main page.

    But after created a new blog, I have been getting follwoing error again.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jun 08, 2012 @ 14:29
    Anthony Dang
    0

    Have you modified/removed any properties to the post or landing doctypes?

    If you have, then you can do a fresh install and test each change as you go.

     

  • K Latif 15 posts 35 karma points
    Jul 05, 2012 @ 08:04
    K Latif
    0

    Hi Anthony,

    I have been still struggling with the same issue.
    I did every possible thing at my end but not able to fix this and concluded that.
    With fresh Umbraco database all blog functionality works fine but when I used my existing Umbraco database then I got same errors.
    I had compared the database structure for both new and existing database and all are identical.
    Any idea or suggestion?

    Regards,

    Khuram Latif

  • K Latif 15 posts 35 karma points
    Jul 05, 2012 @ 08:43
    K Latif
    0

    One more thing whenever I add or edit a "uBlogsy - Post" I got following error otherwise all other types have been created successfully.

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 05, 2012 @ 09:21
    Anthony Dang
    0

    The only reason why that line of the post service would fail is because of this: 

    .OrderByDescending(x => x.GetProperty("uBlogsyPostDate").Value);

    Ensure that the uBlogsyPost doctype has this property and that the property alias is exactly the same - case sensitive. Ensure that the posts all have a valid date.

     

    try this...

    1. Take a backup of your db before the ublogsy install

    2. Install uBlogsy

    3. Move uBlogsy to the desired part of your tree.

    It should just work

     

     

     

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 05, 2012 @ 09:21
    Anthony Dang
    0

    regarding utagsy.... the screen shot has cut off the line number.

     

     

  • K Latif 15 posts 35 karma points
    Jul 05, 2012 @ 09:25
    K Latif
    0

    Thanks Anthony for your prompt reply.

    Here are the line numbers

    [NullReferenceException: Object reference not set to an instance of an object.]
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.SaveSettings() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:109
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:43
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 05, 2012 @ 17:16
    Anthony Dang
    0

    Looks like malformed json... delete the json in the utagsy json file.

     

  • K Latif 15 posts 35 karma points
    Jul 06, 2012 @ 04:08
    K Latif
    0

    Have removed the follwoing code in utagsy json file

    {"documents":[{"documentType":"uBlogsyPost","tags":["1055_a","1055_b","1055_c","1983_zz"]}]}

    then got this error

    [NullReferenceException: Object reference not set to an instance of an object.]
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.LoadSettings() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:77
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:46
       System.Web.UI.Control.LoadRecursive() +74
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Control.LoadRecursive() +146
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Jul 06, 2012 @ 07:10
    Anthony Dang
    0

    Ah.

    I meant to delete any bad json in the file.

     

    Just start with this:

    {"documents":[{"documentType":"uBlogsyPost","tags":[]}]}

     

     

     

     

  • K Latif 15 posts 35 karma points
    Jul 24, 2012 @ 07:13
    K Latif
    0

    Hi Anthony,

    I had tried but again got old same error

    ****************************

    [NullReferenceException:Object reference notset to an instance of an object.]
    uTagsy
    .Web.usercontrols.uTagsy.datatypes.uTagsy.SaveSettings()in D:\_PROJECTS\Personal\uBlogsy -Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:109
    uTagsy
    .Web.usercontrols.uTagsy.datatypes.uTagsy.OnLoad(EventArgs e)in D:\_PROJECTS\Personal\uBlogsy -Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:43

    *******************************

    Any other Idea?

    Thanks,

  • K Latif 15 posts 35 karma points
    Jul 25, 2012 @ 07:09
    K Latif
    0

    When I tried to update any exisitng post I got this error

    Invalid JSON primitive: a.

    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: System.ArgumentException: Invalid JSON primitive: a.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


    Stack Trace:

    [ArgumentException: Invalid JSON primitive: a.]
       System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +578548
       System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +263
       System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +80
       System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +44
       System.Web.Script.Serialization.JavaScriptSerializer.DeserializeObject(String input) +13
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.SaveSettings() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:109
       uTagsy.Web.usercontrols.uTagsy.datatypes.uTagsy.OnLoad(EventArgs e) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uTagsy\uTagsy.ascx.cs:43
       System.Web.UI.Control.LoadRecursive() +74
    
  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Aug 16, 2012 @ 20:48
    Anthony Dang
    0

    Did you resolve this issue?

     

    If not, check for jsus errors in your browser console. 

     

     

  • Allan Hawkey 232 posts 303 karma points
    Nov 19, 2012 @ 17:15
    Allan Hawkey
    0

    Did you ever resolve this issue re uBlogsy and uTagsy?  I seem to have the same issue now.

  • Anthony Dang 1404 posts 2558 karma points MVP 3x c-trib
    Nov 22, 2012 @ 16:37
    Anthony Dang
    0

    Allan check for js errors in your browser console when you click save/publish

     

Please Sign in or register to post replies

Write your reply to:

Draft