Server Error in '/' Application.
The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.Exception Details: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
Source Error:
Line 60: <ul class="article_next_prev">
Line 61: @if(true){
Line 62: var prev = ArticleHelper.GetPrevArticle(article);
Line 63: if (prev != null)
Line 64: {
|
Source File: d:\website\newblog.csdn.net\Views\Article\_content.cshtml Line: 62
Stack Trace:
[CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.] System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) +648 System.ServiceModel.Channels.ServiceChannelFactory.OnClose(TimeSpan timeout) +225 System.ServiceModel.Channels.TypedServiceChannelFactory`1.OnClose(TimeSpan timeout) +56 System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) +872 System.ServiceModel.Channels.CommunicationObject.Close(TimeSpan timeout) +872 CSDN.BLOG.Helper.WcfCacheHelper.CallServiceFunc(Func`2 func) in e:\blog_site\newblog.csdn.net\trunk\src\Blog.Helper\Cache\WcfCacheHelper.cs:86 CSDN.BLOG.Helper.WcfCacheHelper.GetPrevious(Int32 blogId, DateTime postTime) in e:\blog_site\newblog.csdn.net\trunk\src\Blog.Helper\Cache\WcfCacheHelper.cs:51 CSDN.BLOG.Helper.ArticleHelper.GetPrevArticle(Article entity) in e:\blog_site\newblog.csdn.net\trunk\src\Blog.Helper\ArticleHelper.About.cs:50 ASP._Page_Views_Article__content_cshtml.Execute() in d:\website\newblog.csdn.net\Views\Article\_content.cshtml:62 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +103 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +173 System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +158 ASP._Page_Views_Article_Details_cshtml.Execute() in d:\website\newblog.csdn.net\Views\Article\Details.cshtml:47 System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280 System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +103 System.Web.WebPages.StartPage.ExecutePageHierarchy() +143 System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +157 System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +378 System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +681296 System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263 System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +681532 System.Web.Mvc.Controller.ExecuteCore() +159 System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +332 System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62 System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +15 System.Web.Mvc.<>c__DisplayClasse.<EndProcessRequest>b__d() +52 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +606 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +288 |
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34209