When I try and import an RSS feed I get the same error as this post. So I tried commenting out the comments tab in dashboard.config and importing the feed again. This time I get the following error:
Object reference not set to an instance of an object.
StackTrace: at uBlogsy.BusinessLogic.DocumentService.GetDocumentByAlias(Document current, String rootAlias, String alias) in D:\_PROJECTS\uBlogsy - Blog\Branches\2.0.0.1\uBlogsy\uBlogsy.BusinessLogic\DocumentService.cs:line 142 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.Import() in D:\_PROJECTS\uBlogsy - Blog\Branches\2.0.0.1\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 60 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.btnRssImport_Click(Object sender, EventArgs e) in D:\_PROJECTS\uBlogsy - Blog\Branches\2.0.0.1\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 31
I am using uBlogsy v2.0.0.1 and am trying to import this feed.
I'm getting this error when importing and rss feed
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 34:
Line 35:
Line 36: <% if (Comments.Count > 0) Line 37: { %>
Line 38: <h1>
tbh I haven't really looked for a solution. I just wanted the import function to import the blog posts from our old site to the new. I discovered it wouldn't quite import everything we needed imported, or rather the feed didn't include everything we needed so I hacked together an aspx page to do it.
When setting up the blog on another site I gave this a test on to see if it worked. Blog is at level 3 and I used this feed and got this error
Object reference not set to an instance of an object.
StackTrace: at uBlogsy.BusinessLogic.DocumentService.GetDocumentByAlias(Document current, String rootAlias, String alias) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\DocumentService.cs:line 142 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.Import() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 60 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.btnRssImport_Click(Object sender, EventArgs e) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 31
Yes CMSImport PRO can help you with this using RSS. It doesn't require uBlogsy being at the root. I've just release version 2.2 which is optimized for uBlogsy and let's you import posts and comments from BlogML or Wordpress, Check it out at http://our.umbraco.org/projects/developer-tools/cmsimport
Import RSS Bug
When I try and import an RSS feed I get the same error as this post. So I tried commenting out the comments tab in dashboard.config and importing the feed again. This time I get the following error:
I am using uBlogsy v2.0.0.1 and am trying to import this feed.
I downloaded the source to see if I could determine what the problem was. This is the line that is causing the error
I think it may be because my blog landing page is no longer a root page, I moved it under my home node.
Ah yes you're right.
This rss import works only when the landing node is a root.
I have the blog at the root level.
I'm getting this error when importing and rss feed
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 34: Line 35: Line 36: <% if (Comments.Count > 0) Line 37: { %> Line 38: <h1>
Did you solve this issue?
I've done numerous tests with ublogsy 2.1 and it seems fine.
tbh I haven't really looked for a solution. I just wanted the import function to import the blog posts from our old site to the new. I discovered it wouldn't quite import everything we needed imported, or rather the feed didn't include everything we needed so I hacked together an aspx page to do it.
When setting up the blog on another site I gave this a test on to see if it worked. Blog is at level 3 and I used this feed and got this error
Object reference not set to an instance of an object.
StackTrace:
at uBlogsy.BusinessLogic.DocumentService.GetDocumentByAlias(Document current, String rootAlias, String alias) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy.BusinessLogic\DocumentService.cs:line 142 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.Import() in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 60 at uBlogsy.Web.usercontrols.uBlogsy.dashboard.RSSImport.btnRssImport_Click(Object sender, EventArgs e) in D:\_PROJECTS\Personal\uBlogsy - Blog\Branches\2.1.0.0\uBlogsy\uBlogsy\usercontrols\uBlogsy\dashboard\RSSImport.ascx.cs:line 31
RSS import only works when the blog is at the root.
You can try using the CMSImport package.
Hi,
Yes CMSImport PRO can help you with this using RSS. It doesn't require uBlogsy being at the root. I've just release version 2.2 which is optimized for uBlogsy and let's you import posts and comments from BlogML or Wordpress, Check it out at http://our.umbraco.org/projects/developer-tools/cmsimport
Best,
Richard
is working on a reply...