开发者

error to save xml

开发者 https://www.devze.com 2023-02-22 04:05 出处:网络
When I call: doc1.Save(\"C:\\\\Users\\\\Man开发者_开发问答sour\\\\Documents\\\\Visual Studio 2008\\\\WebSites\\\\WebSite1\\\\Web.sitemap\");

When I call:

doc1.Save("C:\\Users\\Man开发者_开发问答sour\\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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号