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?
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
[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
[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
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.
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:
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.
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.
Hi Anthony,
Have you got chance to look into my above post?
Your help would be highly appricated regarding this issue.
Regards, Khuram
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.
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.
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.
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
One more thing whenever I add or edit a "uBlogsy - Post" I got following error otherwise all other types have been created successfully.
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
regarding utagsy.... the screen shot has cut off the line number.
Thanks Anthony for your prompt reply.
Here are the line numbers
Looks like malformed json... delete the json in the utagsy json file.
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
Ah.
I meant to delete any bad json in the file.
Just start with this:
{"documents":[{"documentType":"uBlogsyPost","tags":[]}]}
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,
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:
Did you resolve this issue?
If not, check for jsus errors in your browser console.
Did you ever resolve this issue re uBlogsy and uTagsy? I seem to have the same issue now.
Allan check for js errors in your browser console when you click save/publish
is working on a reply...