Many error occured on Chinese environment

Topics: ASP.NET 2.0
Jun 15, 2007 at 4:49 AM
Edited Jun 15, 2007 at 4:51 AM
I've download the BlogEngtine.NET and installed it on my server. But it seems have many fatal error in.

1.Post Error

When I posted a article, the system return an error message like the following (in Chinese):

編譯器錯誤訊息: CS1011: 空的字元常值

原始程式錯誤:
行 368: public void RaiseCallbackEvent(string eventArgument)
行 369: {
行 370: string[] args = eventArgument.Split('?);
行 371: string author = args0;
行 372: string email = args1;

2. add an blogroll

例外詳細資訊: System.NullReferenceException: 並未將物件參考設定為物件的執行個體
stack trace:

NullReferenceException: 並未將物件參考設定為物件的執行個體
ASP.adminpagesblogrollaspx._DataBind__control41(Object sender, EventArgs e) +609
System.Web.UI.Control.OnDataBinding(EventArgs e) +99
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +206
System.Web.UI.Control.DataBind() +12
System.Web.UI.Control.DataBindChildren() +216
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +216
System.Web.UI.Control.DataBind() +12
System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +130
System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +454
System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +53
System.Web.UI.WebControls.Repeater.DataBind() +72
adminPagesblogroll.BindBlogroll() +136
adminPagesblogroll.Page_Load(Object sender, EventArgs e) +40
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

3.change theme

After I change the theme to another, I will see an error message like the following when I first view the blog (front-side):

例外詳細資訊: System.Net.Sockets.SocketException: 不支援這項物件參照類型的操作。

stack trace:


SocketException (0x273d): 不支援這項物件參照類型的操作。
System.Net.Sockets.Socket.get_ConnectEx() +293
System.Net.Sockets.Socket.BeginConnectEx(EndPoint remoteEP, Boolean flowContext, AsyncCallback callback, Object state) +397
System.Net.Sockets.Socket.UnsafeBeginConnect(EndPoint remoteEP, AsyncCallback callback, Object state) +45
System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception) +384

WebException: 無法連接至遠端伺服器
System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) +1502242
Controls.Blogroll.ProcessRespose(IAsyncResult async) +80
System.Net.LazyAsyncResult.Complete(IntPtr userToken) +126
System.Net.ContextAwareResult.CaptureOrComplete(ExecutionContext& cachedContext, Boolean returnContext) +298
System.Net.ContextAwareResult.FinishPostingAsyncOp() +39
System.Net.HttpWebRequest.BeginGetResponse(AsyncCallback callback, Object state) +934
Controls.Blogroll.AddBlog(String name, String description, String feedUrl, String website, String xfn) +215
Controls.Blogroll.CreateList() +380
Controls.Blogroll.DisplayBlogroll() +202
Controls.Blogroll.Render(HtmlTextWriter writer) +59
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
ASP.themesstandardsidepanelascx._Render__control1(HtmlTextWriter __w, Control parameterContainer) +788
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2068251
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
ASP.themesstandardsitemaster._Render__control6(HtmlTextWriter __w, Control parameterContainer) +197
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2068251
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +59
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +68
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +37
ASP.themesstandardsitemaster._Render__control1(HtmlTextWriter __w, Control parameterContainer) +191
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2068251
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +130
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24
System.Web.UI.Page.Render(HtmlTextWriter writer) +26
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896





Jul 8, 2007 at 4:23 PM
If you still have the problem and missed this, you might wanna check for the following post:
http://www.codeplex.com/blogengine/Thread/View.aspx?ThreadId=12018