zoukankan      html  css  js  c++  java
  • iBatisNet 的 NPetshop跑不起来

    园子里那位高人 研究过 iBatisNet 的 NPetshop,我这边搞死跑不起来,点击图像会报 :
    ===========================================================================

    Error on page
    Exception : at NPetshop.Web.UserControls.Error.Page_Load(Object sender, EventArgs e) in E:\Project\NPetshop\Source\NPetshop.Web\UserControls\Error.ascx.cs:line 25 at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at NPetshop.Web.Default.OnPreRender(EventArgs e) in E:\Project\NPetshop\Source\NPetshop.Web\Default.aspx.cs:line 115 at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain()
    Error message : Referring to the object is an object.   It is not set as the instance.
    Source : NPetshop.Web
    View : StartUp

    ============================================================================


    点击左边的文字会报 "
    ===========================================================================
    Error on page
    Exception : at IBatisNet.DataMapper.SqlMapSession.OpenConnection() at IBatisNet.DataMapper.SqlMapper.OpenConnection() at IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSession.OpenConnection() at IBatisNet.DataAccess.DaoManager.OpenConnection() at NPetshop.Service.CatalogService.GetProductListByCategory(String categoryId) in E:\Project\NPetshop\Source\NPetshop.Service\CatalogService.cs:line 89 at NPetshop.Presentation.UserActions.CatalogAction.ShowProductsByCategory(String categoryId) in E:\Project\NPetshop\Source\NPetshop.Presentation\UserActions\CatalogAction.cs:line 31 at NPetshop.Web.UserControls.SideBar.LinkButton_Command(Object sender, CommandEventArgs e) in E:\Project\NPetshop\Source\NPetshop.Web\UserControls\SideBar.ascx.cs:line 31 at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain()
    Error message : Unable to open connection.
    Source : IBatisNet.DataMapper
    View : StartUp

    ===========================================================================

  • 相关阅读:
    CharacterEncodingFilter详解及源码解析
    SPI 串行Flash闪存W25Q128FV 的使用(STM32F407)_硬件篇
    STM32 TFT LCD
    什么叫状态机:按键消抖实例
    STM32 ADC单通道采集 (STM32F103C8T6 ADC1的0通道 )
    STM32 PWM输出 (STM32F103C8T6 TIM2_CH2 )
    STM32 多通道ADC连续采集之数据到内存 DMA传输
    STM32 DAM之串口通讯
    STM32定时器之PWM 4路输出 TIM3、TIM14
    STM32定时器 TIM14之PWM 可调脉宽输出 呼吸灯
  • 原文地址:https://www.cnblogs.com/Alvin/p/136231.html
Copyright © 2011-2022 走看看