出错页面是:http://www.shangqiedu.cn/index.aspx?c=course&a=list&en=shineijiazhuangsheji&sp=teachway-1,isfree-2=,o-1d,cityid-26,bx-2异常信息:Exception of type 'System.Web.HttpUnhandledException' was thrown.Source:System.WebStackTrace: at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at ASP.index_aspx.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) InnerException:System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.IOException: The process cannot access the file 'C:\wwwroot\config\version.xml' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at System.Xml.XmlUrlResolver.GetEntity(Uri absoluteUri, String role, Type ofObjectToReturn)
at System.Xml.XmlTextReaderImpl.OpenUrlDelegate(Object xmlResolver)
at System.Threading.CompressedStack.runTryCode(Object userData)
at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)
at System.Threading.CompressedStack.Run(CompressedStack compressedStack, ContextCallback callback, Object state)
at System.Xml.XmlTextReaderImpl.OpenUrl()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at Kesion.Publics.Utils.GetSysInfo(String Path)
at Kesion.Publics.Utils.GetBusinessVersion()
at Kesion.HtmlTags.BasicField.GetCourseUrl(Int32 id, Int32 schoolUserId)
at Kesion.HtmlTags.ReplaceLabels.ParseKSStr(String key, DataRow drr)
at Kesion.HtmlTags.ReplaceLabels.ScanLabels(String& sTemplate, DataRow dr)
at Kesion.HtmlTags.BasicField.LoopClassList(String loopstr, DataTable dt, Int32& num, Int32 times, Boolean IsJson)
at Kesion.HtmlTags.Intermediate.CosList.Run(String Param)
at Kesion.HtmlTags.ReplaceLabels.GetLabelContent(String Param)
at Kesion.HtmlTags.ReplaceLabels.ReplaceBasicLabel(String& str)
at Kesion.HtmlTags.ReplaceLabels.ReplaceFunFunctionLabel(String& FileStr)
at Kesion.HtmlTags.ReplaceLabels.ReplaceFunAndSQLLabel(String& FileStr)
at Kesion.HtmlTags.ReplaceLabels.ReplaceAllLabel(String& FileStr)
at Kesion.Controllers.courseController.DoListSearch(String& F_C, Int32 teachWay, Boolean isMobileDevice, Boolean isSchool)
at Kesion.Controllers.courseController.DoSearch(Int32 teachWay, Boolean isMobileDevice, Boolean isSchool)
at Kesion.Controllers.courseController.List(Int32 teachWay, Boolean isMobileDevice, Boolean isSchool)
at Kesion.Controllers.courseController.doRun(String a, Boolean isMobileDevice, Boolean isSchool)
at Kesion.Controllers.courseController.Run(Boolean isMobileDevice)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at Kesion.NET.WebSite.Index.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |