xcrane - 2010/9/2 13:56:00
“/”应用程序中的服务器错误。
至少一个参数没有被指定值。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Data.OleDb.OleDbException: 至少一个参数没有被指定值。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[OleDbException (0x80040e10): 至少一个参数没有被指定值。]
System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr) +1002416
System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) +255
System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) +188
System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) +58
System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) +161
System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior) +116
System.Data.OleDb.OleDbCommand.ExecuteReader() +6
PageAdmin.template_pic.xba28efec9d7f3073() +3655
PageAdmin.template_pic.Page_Load(Object sender, EventArgs e) +115
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Control.LoadRecursive() +141
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
版本信息: Microsoft .NET Framework 版本:2.0.50727.3053; ASP.NET 版本:2.0.50727.3053
Vwunwun2 - 2010/9/2 14:04:00
旧的数据库和新的程序不匹配哦。
xcrane - 2010/9/2 15:54:00
xiyou - 2010/9/2 16:21:00
alter table template add starthtml ntext,endhtml ntext,iswrap int default 0;
alter table webset add zdy_banner ntext;
alter table template add ismarquee int default 0,template_height int default 150;
后台数据库操作那里先运行这几个语句后再覆盖文件
greybj - 2010/9/2 17:01:00
我也升级N次了,没有成功,现在将近用了,感觉有一块心病。我的状况是运行SQL时,说****字段已存在。到最后intall的时候就出错了。
njyshouji - 2010/9/2 20:14:00
帮顶了。。路过瞧瞧。
xcrane - 2010/9/2 23:26:00
原帖由 xiyou 于 2010-9-2 16:21:00 发表 alter table template add starthtml ntext,endhtml ntext,iswrap int default 0; alter table webset add zdy_banner ntext; alter table template add ismarquee int default 0,template_height int default ...... |
运行中出现以下错误:
1:字段 'starthtml' 已经存在于表 'template' 中。
2:字段 'zdy_banner' 已经存在于表 'webset' 中。
3:字段 'ismarquee' 已经存在于表 'template' 中。