一、把DOTTEXT迁移到ASP.NET2.0,出现的BUG汇总如下
1.homepage报错:is not a valid virtual path
'~/login.aspx?ReturnURL=http://blog2.impx.net/dragonimp/admin/default.aspx' is not a valid virtual path.
把mylinks.cs:Admin.NavigateUrl = string.Format("{0}login.aspx?ReturnURL={1}", "~", ReturnURL);
修改为:Admin.NavigateUrl = string.Format("{0}login.aspx?ReturnURL={1}", HomeLink.NavigateUrl, ReturnURL);
2.homepage报错:Cannot use a leading .. to exit above the top directory.
mylinks.cs,footer.cs,day.cs,categorylist.cs,recentcomments.cs
skins/luxe..../footer.aspx HyperLink ID named2
把所有imgUrl 都用全路径替换 fullurl
3.图片路径错误,生成路径时有两个"/": "host//images" --> "host/images"
在multipleblogconfig.cs增加判断:
public override BlogConfig BuildConfig
if(app.Equals("/")) { app = ""; }//omit when app is /
config.ImagePath = string.Format("{0}{1}{2}",formattedHost,app,virtualPath);
4.category访问和编辑出错:Ambiguous match found.
Source File: /Skins/ClearScreen01/Controls/EntryList.ascx Line: 1
EntryList.cs:Ambiguous match found
private EntryCollection entries;-->entrylistitems
maybe the same as : protected System.Web.UI.WebControls.Repeater Entries;
Source File: admin/EditCategories.aspx:Ambiguous match found
protected System.Web.UI.WebControls.Label BlogID;
//protected System.Web.UI.WebControls.Label blogID;
5.后台管理收藏的bug
admin/EditFavorite.aspx下txbUrl缺少
6.WebService的webservice api,这是本来有的BUG:
- 1.insert and update error when chose any category, index out of bounds bug fixed.
- 2.another update bug, error when chose mulity categories. to be fixed:
发生服务器错误 0
The SqlParameter is already contained by another SqlParameterCollection.
"SqlParameter[] p = new SqlParameter[3];" 移到foreach里面去。
metaweblogapi: http://www.xmlrpc.com/metaWeblogApi
二、自己新增的功能
1、2008.12 RSD服务
2、2008.12 WebService传图
3、2009.01 WordDict翻译ascx,加在首页
posted on 2009-01-06 14:06 dragonimp 阅读(670)
评论(1) 编辑 收藏