新建了个网站,想把之前所有的博客都迁移过去。
学习进行的很顺利,就在我开始测试另外一个博客vwww.aboutdnn.net时,一个错误出现了:
服务器总是报告"Conversion from string "" to type 'Integer' is not valid",对于这个出错,我很是费解,一样的代码,为什么换了一个博客就开始出问题呢?Rich Strahl 的一篇文章解答了我的问题: WebLog API and Blog Writers
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
CookComputing. Rpc. RpcFaultException: Server returned a fault exception: [0] Conversion from string "" to type 'Integer' is not valid.
at CookComputing. Rpc. RpcSerializer.DeserializeResponse( Document xdoc, Type returnType)
at CookComputing. Rpc. RpcSerializer.DeserializeResponse(Stream stm, Type svcType)
at CookComputing. Rpc. RpcClientProtocol.ReadResponse( RpcRequest req, WebResponse webResp, Stream respStm, Type returnType)
at CookComputing. Rpc. RpcClientProtocol.Invoke( clientObj, MethodInfo mi, [] parameters)
at CookComputing. Rpc. RpcClientProtocol.Invoke(MethodInfo mi, [] Parameters)
at RpcProxy16e9c151-0058-43cc-ab6c-b59358b72772.NewPost(String , String , String , Post , Boolean )
at AlexJamesBrown.JoeBlogs. WeblogWrapper.NewPost(Post content, Boolean publish)
at BlogMigrator.Form1.button1_Click( sender, EventArgs e) in C:Documents and SettingsNL186000My DocumentsVisual Studio 2008ProjectsBlogMigratorBlogMigratorForm1.cs:line 40
at System.Windows.Forms.Control. (EventArgs e)
at System.Windows.Forms.Button. (EventArgs e)
at System.Windows.Forms.Button. (MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Button .WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Plurals Light
这里有一个library:
Joe Blogs
在codeplex上也有一个:Joe Blogs
这个library完整的实现了对WordPress 的API,同时也支持 Weblog API,所以也可以用来处理 Weblog API
这里是的使用说明:http://www.alexjamesbrown.com/geek/development/dotnet/using-joeblogs/
Migrating content from MovableType or TypePad to Drupal with Python
继续阅读与本文标签相同的文章
-
DNN Web Platform 官方汉化版本 5.5
2026-05-25栏目: 教程
-
MSDTC on server &ldquoServer Name&rdquo is unavailable
2026-05-25栏目: 教程
-
DNN 模块MVP 模式学习中的一些问题
2026-05-25栏目: 教程
-
最强悍的VS插件&mdashreSharper
2026-05-25栏目: 教程
-
对DNN的一些高层架构设想
2026-05-25栏目: 教程
