日期:2014-05-18  浏览次数:20700 次

紧急求助,报错了
Server   Error   in   '/ '   Application.
--------------------------------------------

The   process   cannot   access   the   file   'D:\CSDN   Web   Site\CSDN   Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml '   because   it   is   being   used   by   another   process.  
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.IOException:   The   process   cannot   access   the   file   'D:\CSDN   Web   Site\CSDN   Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml '   because   it   is   being   used   by   another   process.

Source   Error:  

An   unhandled   exception   was   generated   during   the   execution   of   the   current   web   request.   Information   regarding   the   origin   and   location   of   the   exception   can   be   identified   using   the   exception   stack   trace   below.    

Stack   Trace:  


[IOException:   The   process   cannot   access   the   file   'D:\CSDN   Web   Site\CSDN   Blog\NewDottext\DottextWeb\HTML\BlogConfig\BB\1B\56\GoT_FoX.xml '   because   it   is   being   used   by   another   process.]
      System.IO.__Error.WinIOError(Int32   errorCode,   String   maybeFullPath)   +2014461
      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)   +998
      System.IO.FileStream..ctor(String   path,   FileMode   mode,   FileAccess   access,   FileShare   share,   Int32   bufferSize,   FileOptions   options)   +115
      System.IO.StreamWriter.CreateFile(String   path,   Boolean   append)   +58
      System.IO.StreamWriter..ctor(String   path,   Boolean   append,   Encoding   encoding,   Int32   bufferSize)   +91
      System.IO.StreamWriter..ctor(String   path)   +27
      Dottext.Framework.BuildStaticPage.Helper.WriteConfig(BlogConfig   userConfig)   +75
      Dottext.Framework.BuildStaticPage.ConfigBuilder.Build()   +10
      Dottext.Framework.Data.SqlDataProvider.WriteConfigFile(BlogConfig   config)   in   D:\CSDN   Web   Site\Csdn   Blog\Src\Library\Data   Providers\Dottext.SqlDataProvider\SqlDataProvider.cs:1552
      Dottext.Common.Config.MultipleBlogConfig.BuildConfig(String   host,   String   application,   HttpContext   context)   i