Importing WordPress into BlogEngine.net

Oct 14, 2011 at 7:04 PM
Edited Oct 24, 2011 at 8:23 PM

Hello all,

I am trying to import WordPress posts into BlogEngine.net using BE 2.5 Importer with IE 8

I converted the posts.xml file into the BlogML format using the new plugin for WordPress.

Both Validate buttons return "Validate OK"

 

But when I press the import button I get this error:

 

"The UserName or Password" is not correct.

Then another pop up says "Import Complete"

It imports 72 posts out of 114.

 

Also it only posts half of the content of each post with no images if the post had any.

 

I am only trying to import "Posts"   In WordPress I select export "Posts"  on the server.  Then on my local version with the modified export function for

BlogML I export it into BlogML format.

 

Tried using BE 1.6 with IE 8 still have the same issue.

Other user posted that it worked for them in BE 1.6 here it didn't.

 

When I try just to import with out the Importer I get this error:

 

"BlogReader.Import: Object reference not set to an instance of an object."

 

Thanks for any help,

 

Brian Davis

Java Blog

Oct 14, 2011 at 7:17 PM
Edited Oct 14, 2011 at 7:21 PM

I have downloaded this tool:

http://wpblogml.codeplex.com/releases/view/49659

 

I tried to import BlogML file.

Did not get any error messages just:

A Green Check mark message saying, "Imported 0 Posts"

It imported 85 posts but only half of their content with no images.

 

With the Importer in IE 8.

No errors but same thing.

 

It imports the posts.

But only half of their content with no images.

 

It did import the tags, and cateories.

But, just not the entire  individual post.

Oct 14, 2011 at 7:26 PM
Edited Oct 14, 2011 at 7:56 PM

Got it to work, but had dups so I deleted all posts.

Then tried again to import.

 

Now not working at all.

Get zero error messages seems everything is working but no import of any posts.

 

ScreenShot Using the Import File:  http://awesomescreenshot.com/047m9ly95

 

Getting ELAMH ERROR: 

The file '/admin/api/blogimporter.asmx' does not exist.

Its there but it points to a code behind file which is also there.

Notice it was change from

Change set 865bc7b1324e by williamforney on 09/07/2010 12:14 PM

To have it from a CodeBehind.
Coordinator
Oct 14, 2011 at 7:52 PM

If you send me BlogML file you trying to import, I can take a look what is not working.

Wordpress uses extended RSS format for export and it changes from version to version, may be we need to update importer.

Oct 14, 2011 at 8:07 PM

Now getting this error:

 

System.Web.HttpExceptionThe file '/admin/api/blogimporter.asmx' does not exist.

System.Web.HttpException (0x80004005): The file '/admin/api/blogimporter.asmx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath)
   at System.Web.UI.WebServiceParser.GetCompiledType(String inputFile, HttpContext context)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetCompiledType(String url, HttpContext context)
   at System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContext context, String verb, String url, String filePath)
   at System.Web.Script.Services.ScriptHandlerFactory.GetHandler(HttpContext context, String requestType, String url, String pathTranslated)
   at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
   at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
		
Oct 14, 2011 at 8:12 PM

Rtur:  I sent you the file through your contact form on your website.

 

http://rtur.net/blog/contact.aspx

 

What I don't get is it worked only 1 once, and after I deleted the posts it won't work at all.

 

I am not getting any error messages any more it just don't work.

 

I put the code behind file into the /blogimporter.asmx  file.

 

Still saying "File Not found"  even through its there.

 

Seems like its using a webservice.  Could the web service be down?

What is the URL of the web service?

Oct 14, 2011 at 8:19 PM

Looks like this is the error:?

 

http://localhost:53265/api/BlogImporter.asmx/ForceReload

 

Returns Error:

 

System.NullReferenceException: Object reference not set to an instance of an object.
   at BlogImporter.ForceReload()


When pressed invoke.

The others seems to work.




BlogImporter


The following operations are supported. For a formal definition, please review the Service Description.

Oct 14, 2011 at 8:21 PM
Edited Oct 14, 2011 at 8:25 PM

This is with the

Import with out the Once Click

 

Logger:

Date: 10/14/2011 3:21:46 PM
Contents Below
BlogReader.LoadBlogPosts: Start importing posts
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

[85 Times]  This is the number of posts being imported.

Date: 10/14/2011 3:21:46 PM
Contents Below
BlogReader.LoadBlogPosts: Object reference not set to an instance of an object.
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
Date: 10/14/2011 3:21:46 PM
Contents Below
BlogReader.LoadBlogPosts: Completed importing 0 posts

Oct 14, 2011 at 8:32 PM

rtur:          Did you get my file?

 

Thanks for your help :)

 

Brian Davis

Oct 14, 2011 at 8:50 PM

Tried using

both methods on a live server, that still have the code behind file for the BlogImporter.asmx

 

Same problem as on my local computer.

 

So Local or live on server same issue.

 

Still getting "BlogReader.LoadBlogPosts: Object reference not set to an instance of an object."

 

Also not getting any error messages other than this one. 

Coordinator
Oct 14, 2011 at 10:07 PM

I'll check this out later tonight.

Oct 14, 2011 at 10:37 PM

thanks

Coordinator
Oct 15, 2011 at 6:40 AM

There are several issues with converted file, most of the post attributes just missing. Try to use this converter instead, it worked fine with my test blog. Better yet, do you mind sending me original export file? I'll do conversion and test import service a little more.

Oct 15, 2011 at 2:30 PM

I sent you the orginal wordpress post xml file.

Oct 15, 2011 at 2:42 PM

I tried using the tool WXR2BlogML   I open it up and drag the posts.xml file there but it then do nothing.

How to get it to work?  I press enter and the screen goes away and nothing happens.

Oct 15, 2011 at 2:54 PM

Figure it out drag file to program don't open it.

 

But now it stops half way between converting.

 

Change the code to "Try" and "Catch" but getting errors.