远程服务器返回错误: (404) 未找到

 

“/”应用程序中的服务器错误。

远程服务器返回错误: (404) 未找到。

说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Net.WebException: 远程服务器返回错误: (404) 未找到。

源错误:

行 20:         public void ListAllProducts()
行 21:         {
行 22:             this.View.BindAllProducts(this._productService.GetAllProducts());
行 23:         }
行 24: 

源文件: H:/lily/work/防潮信息化/Test/Artech.PetShop/Modules/Products/Products/ProductsPresenter.cs    行: 22

堆栈跟踪:

[WebException: 远程服务器返回错误: (404) 未找到。]
   System.Net.HttpWebRequest.GetResponse() +5314029
   System.ServiceModel.Channels.HttpChannelRequest.WaitForReply(TimeSpan timeout) +54

[EndpointNotFoundException: 没有终结点在侦听可以接受消息的 http://localhost/PetShop/Products/productservice.svc。这通常是由于不正确的地址或者 SOAP 操作导致的。如果存在此情况,请参阅 InnerException 以了解详细信息。]
   System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) +7596735
   System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) +275
   Artech.PetShop.Products.Service.Interface.IProductService.GetAllProducts() +0
   Artech.PetShop.Orders.ProductsPresenter.ListAllProducts() in H:/../Test/Artech.PetShop/Modules/Products/Products/ProductsPresenter.cs:22
   PetShop._Default.Page_Load(Object sender, EventArgs e) in H:/../Test/Artech.PetShop/PetShop/Default.aspx.cs:23
   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.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


版本信息: Microsoft .NET Framework 版本:2.0.50727.3603; ASP.NET 版本:2.0.50727.3082

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值