不能取得类型为:PHY.Authentication.IService.ITradeIndexService的服务!
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: Symphony.Common.BusinessException: 不能取得类型为:PHY.Authentication.IService.ITradeIndexService的服务!
源错误:
行 40: filter.SqlWhere = " isdel=0" ;行 41: filter.OrderBy = "trade_index_id desc";行 42: ITradeIndexService service = this.GetService<ITradeIndexService>();行 43: 行 44: DataSet ds = service.GetTopTradeFilter(filter);
|
源文件: c:\Users\lgx\Desktop\VS\Test\Default.aspx.cs 行: 42
堆栈跟踪:
[BusinessException: 不能取得类型为:PHY.Authentication.IService.ITradeIndexService的服务!] Symphony.Server.Helper.IocHelper.GetService() +354 Symphony.Server.Web.PageBase.GetService() +90 _Default.Showtraderemark() in c:\Users\lgx\Desktop\VS\Test\Default.aspx.cs:42 _Default.Button1_Click(Object sender, EventArgs e) in c:\Users\lgx\Desktop\VS\Test\Default.aspx.cs:111 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +78 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +100 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2863 |
版本信息: Microsoft .NET Framework 版本:2.0.50727.4927; ASP.NET 版本:2.0.50727.4927