欢迎您来到 数字平台。 您尚未登录。[登录] [注册新用户]
当前位置: 论坛首页 / 栏目 文档与手册 / 文章 31

点击:1172

[回复顶层(需要先登录)] [表状] [详细]
[回复(需要先登录)] [引用(需要先登录)]普通文章跟帖
文章id: 31
前端登录信息设置错误时报错



新装dp2circulation流通前端,安装成功后,自动弹出系统参数配置对话框。修改服务器URL、添加缺省帐户后,直接在缓存管理页面中执行“重新获得书目库检索途径列表”功能,程序报错:

************** 异常文本 **************

System.InvalidCastException: 无法将类型为“DigitalPlatform.CirculationClient.LibraryChannel”的对象强制转换为类型“System.Windows.Forms.Form”。

   在 dp2Circulation.MainForm.Channel_BeforeLogin(Object sender, BeforeLoginEventArgs e)

   在 DigitalPlatform.CirculationClient.LibraryChannel.DoNotLogin(String& strError)

   在 DigitalPlatform.CirculationClient.LibraryChannel.ListBiblioDbFroms(Stop stop, String strLang, BiblioDbFromInfo[]& infos, String& strError)

   在 dp2Circulation.MainForm.GetBiblioDbFromInfos()

   在 dp2Circulation.CfgDlg.button_reloadBiblioDbFromInfos_Click(Object sender, EventArgs e)

   在 System.Windows.Forms.Control.OnClick(EventArgs e)

   在 System.Windows.Forms.Button.OnClick(EventArgs e)

   在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   在 System.Windows.Forms.Control.WndProc(Message& m)

   在 System.Windows.Forms.ButtonBase.WndProc(Message& m)

   在 System.Windows.Forms.Button.WndProc(Message& m)

   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

----------------------------------------

错误对话框中,选择“继续”,关闭错误信息,但不能操作程序;选择“退出”,重新启动程序,仅修改服务器URL和缺省帐户,不执行“重新获得书目库检索途径列表”。确定后退回主界面,再返回执行“重新获得书目库检索途径列表”功能,程序正常。说明第一次修改配置,因没有确定,不能得到正确的登录信息以进行后续操作。

在正常配置并能获取检索途径列表后,故意错误修改服务器URL和缺省帐户信息,确定并退出参数设置窗,执行“重新获得书目库检索途径列表”功能,仍返回“OK”对话框。说明因未退出程序,修改值没有及时生效。

故意错误修改服务器URL和缺省帐户信息,确定并退出参数设置窗,重启程序,并进入参数设置框中执行“重新获得书目库检索途径列表”功能,出现前述同样报错信息。



发表时间: 2006-12-08 12:18:51
最后修改时间: 2006-12-08 12:21:11
  • 普通文章 dp2流通系统测试工作单 xietao 2006-12-06 16:13:54[点击:37265]
  • 普通文章 转移 xietao 2006-12-06 16:37:18 (ID:30) [点击:1339]
  • 普通文章 前端登录信息设置错误时报错 孤舟蓑笠翁 2006-12-08 12:18:51 (ID:31) [点击:1172]
  • 普通文章 因磁盘空间不足导致服务器日志写入失败 xietao 2006-12-08 12:21:51 (ID:32) [点击:1357]
  • 普通文章 预约和到书 xietao 2007-01-07 11:20:10 (ID:41) [点击:1377]
  • 普通文章 预约测试项目 孤舟蓑笠翁 2007-01-16 19:51:47 (ID:44) [点击:1339]
  • 普通文章 预约测试工作单 孤舟蓑笠翁 2007-01-20 21:54:07 (ID:45) [点击:1827]
  •  

    在线用户
    (无) 
    当前栏目在线用户数 0, 总在线用户数 61