InfortecManagementSystem

InfortecManagementSystem

当我在C#.NET中从事项目时,我遇到了电源故障,现在无法调试程序。这些是发生的错误。

Error   1   Unable to copy file "C:\Users\Nihal\Documents\Visual Studio 2005\Projects\InfortecManagementSystem\InfortecManagementSystem\InfortecInternational.mdf" to "bin\Debug\InfortecInternational.mdf". The process cannot access the file 'C:\Users\Nihal\Documents\Visual Studio 2005\Projects\InfortecManagementSystem\InfortecManagementSystem\InfortecInternational.mdf' because it is being used by another process. InfortecManagementSystem

Error   2   Unable to copy file "C:\Users\Nihal\Documents\Visual Studio 2005\Projects\InfortecManagementSystem\InfortecManagementSystem\InfortecInternational_log.ldf" to "bin\Debug\InfortecInternational_log.ldf". The process cannot access the file 'C:\Users\Nihal\Documents\Visual Studio 2005\Projects\InfortecManagementSystem\InfortecManagementSystem\InfortecInternational_log.ldf' because it is being used by another process. InfortecManagementSystem

如何使它再次工作?

最佳答案

文件被另一个进程锁定。 Handle是Windows/SysInternals工具,可帮助解决此问题。它将告诉您当前正在使用那些文件的进程。

下载句柄,转到命令提示符,然后键入“句柄'C:\ Users \ Nihal \ Documents \ Visual Studio 2005'”。

关于c# - 不能再调试我的程序,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/7232272/

10-10 19:42