向高手:The process cannot access the file 'X:\X.XXX' because it is being used by another process
向高手:The process cannot access the file 'X:\X.XXX' because it is being used by another process
日期:2014-05-17 浏览次数:20477 次
向高手求救:The process cannot access the file 'X:\X.XXX' because it is being used by another process 页面外有个Generate按钮 点击了后 调用Generate()方法
但出现的问题是这样的 1.我登陆后 点击Generate按钮 过了6分钟后 被弹出了 要重新登陆 可是Session的时间还没有过 Session是保存在MSSQL中的 2.我再登陆后 点击Generate按钮 差不多有过了6分钟 提示: The process cannot access the file "C:\\accounts\i-techcomau\products\Products.xml" because it is being used by another process.
几天了 一直重复的上面的问题
最后说一下 asp 和 aspx 所在的那个文件夹 里面有7万多过个文件了~~~
有什么方法可以解决这个问题啊~~~
using System; using System.IO; using System.Data; using System.Text; using MYSDatabase.DataSet; using Microsoft.ApplicationBlocks.Data;
public class FileGenerator { // Fields private int appID = -1; private string rootFolder = null; private string websiteName = null;
// Methods public FileGenerator(int appID, string rootFolder) { this.appID = appID; this.websiteName = new SystemAdmin().GetApplicationWebsite(appID); this.rootFolder = rootFolder; }