Server Error in '/' Application.

Could not find file 'E:\IEFang20140208\IEFang20140124\IEFang\XmlResource\chuangchunFriendLink.xml'.

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.IO.FileNotFoundException: Could not find file 'E:\IEFang20140208\IEFang20140124\IEFang\XmlResource\chuangchunFriendLink.xml'.

Source Error:

Line 614:                    if (city == "长春")
Line 615:                    {
Line 616:                        doc.Load(Server.MapPath("/XmlResource/chuangchunFriendLink.xml"));
Line 617:                    }
Line 618:                    if (city == "常州")

Source File: e:\IEFang20140208\IEFang20140124\IEFang\Views\Shared\_NewsIndexLayout.cshtml    Line: 616

Stack Trace:

[FileNotFoundException: Could not find file 'E:\IEFang20140208\IEFang20140124\IEFang\XmlResource\chuangchunFriendLink.xml'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12892871
   System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2481
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229
   System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) +105
   System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn) +282
   System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver) +75
   System.Threading.CompressedStack.runTryCode(Object userData) +136
   System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) +0
   System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state) +118
   System.Xml.XmlTextReaderImpl.OpenUrl() +4996487
   System.Xml.XmlTextReaderImpl.Read() +120
   System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +172
   System.Xml.XmlDocument.Load(XmlReader reader) +144
   System.Xml.XmlDocument.Load(String filename) +205
   ASP._Page_Views_Shared__NewsIndexLayout_cshtml.Execute() in e:\IEFang20140208\IEFang20140124\IEFang\Views\Shared\_NewsIndexLayout.cshtml:616
   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.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +209
   System.Web.WebPages.WebPageBase.PopContext() +222
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +380
   System.Web.Mvc.<>c__DisplayClass1c.<InvokeActionResultWithFilters>b__19() +33
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +613
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
   System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +691
   System.Web.Mvc.Controller.ExecuteCore() +162
   System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext) +305
   System.Web.Mvc.<>c__DisplayClassb.<BeginProcessRequest>b__5() +62
   System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +20
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +453
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +371


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

葡京娱乐场官网下载