保存 xml 时出错
当我打电话时:
doc1.Save("C:\\Users\\Mansour\\Documents\\Visual Studio
2008\\WebSites\\WebSite1\\Web.sitemap");
我收到以下错误。这个错误是什么意思?
The process cannot access the file 'C:\Users\Mansour\Documents\Visual Studio 2008
\WebSites\WebSite1\Web.sitemap' because it is being used by another process.
When I call:
doc1.Save("C:\\Users\\Mansour\\Documents\\Visual Studio
2008\\WebSites\\WebSite1\\Web.sitemap");
I get the following error. What does this error mean?
The process cannot access the file 'C:\Users\Mansour\Documents\Visual Studio 2008
\WebSites\WebSite1\Web.sitemap' because it is being used by another process.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这意味着另一个程序打开了该文件并锁定了它。您可以使用 FileMon 等工具来告诉您哪个程序导致了问题。
It means that another program has the file open and is locking it. You can use a tool like FileMon to tell you what program is causing the problem.