can't save changes

  • Thread starter Thread starter dennist
  • Start date Start date
D

dennist

I get the following message:

the process cannot access the file because it is being
used by another process

I can't imagine what is causing it. Can somebody help?

dennist
 
Hi
Try to look in the Task Manager for a running process that might be
interested in using your file.

HTH
 
Hello,

dennist said:
I get the following message:

the process cannot access the file because it is being
used by another process

I can't imagine what is causing it. Can somebody help?

Where does that message occur? When working with the IDE or when accessing a
file by IO methods?
 
When clicking the save button on the IDE. It happens even if I restart
the computer.

dennist
 
I can't see anything in the task manager that seems to be
using the form or vs.net. On the other hand, I don't
know what I'm really looking at.

It happens when I click the save button on the IDE
toolbar. I sure hope somebody comes up with a solution.
I tried to recreate the app, but the same thing happened
again, after I copied and pasted the code for the main
form. Is this helpful?

dennist
 
When I closed it I got an error message from vb.commenter
that should be of real help to somebody who knows what
they're doing. I captured the message box with snagit
and transcribed the text.

VBCommenter Add-in: Failure converting file extensions
of xml files. The process cannot access the
file "H:\\HasbaraNET\ado.net.tests\TopicFromStartNet\obj\D
ebug\TopicFromStartNet.xml" because it is being used by
another process.

at System.IO._Error.WinIOError(Int32 errorCode, String
str)
at System.IO.File.Move(StringsourceFileName,
StringdestFileName)
at Commenter.Connect.AfterClosing()


hope somebody can make sense of this.

dennist
 
Hi Dennis,
Your Exception stack trace is very helpful, and I also read the Help
documentation of the VBCommenter. I seems that the exception was raised on
the Add-Ins wants to rename the file. In his documentation, there are words:
"The XML comment file is written to the \obj\debug or obj\release folder of
your project. It is actually written as a ".xml_" file. Upon closing the
project, it will be renamed with the ".xml" extention and will load next
time you open the project, providing Intellisense as you work. "
I guess this cause is the add-in failed to rename the ".xml_" file to
".xml". I guess the ".xml" file is being used by other. Perhaps you may try
removing and reinstalling the Add-in, and here is some documentations about
it
http://www.gotdotnet.com/team/ide/helpfiles/VBCommenter.aspx

And I think the VBCommenterLog.txt may give you some more information.

"After building your project, there will also be a file called
VBCommenterLog.txt in
the same directory as the .xml_ file, which contains a list of files that
were parsed, along with error messages for invalid comments that were
detected. You can also open the .xml_ output file in notepad and verify
that the xml is has proper indentation. If it isn't, examine the first
method that has improper indentation and look for improper xml tags, such
as an open tag without a closed tag. "


Thanks!


Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "dennist" <[email protected]>
| Sender: "dennist" <[email protected]>
| References: <[email protected]>
| Subject: can't save changes
| Date: Sat, 13 Sep 2003 04:23:17 -0700
| Lines: 32
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN56W3BkKhk+X/DRRyN6eAr5nnpdA==
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52284
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| When I closed it I got an error message from vb.commenter
| that should be of real help to somebody who knows what
| they're doing. I captured the message box with snagit
| and transcribed the text.
|
| VBCommenter Add-in: Failure converting file extensions
| of xml files. The process cannot access the
| file "H:\\HasbaraNET\ado.net.tests\TopicFromStartNet\obj\D
| ebug\TopicFromStartNet.xml" because it is being used by
| another process.
|
| at System.IO._Error.WinIOError(Int32 errorCode, String
| str)
| at System.IO.File.Move(StringsourceFileName,
| StringdestFileName)
| at Commenter.Connect.AfterClosing()
|
|
| hope somebody can make sense of this.
|
| dennist
| >-----Original Message-----
| >I get the following message:
| >
| >the process cannot access the file because it is being
| >used by another process
| >
| >I can't imagine what is causing it. Can somebody help?
| >
| >dennist
| >.
| >
|
 
Thank you very much Yu(?),

I found the easiest thing to do was uninstall
VBCommenter, as I never used it anyway. The problem
instantly disappeared, only to be replaced with other
problems, which I'll have to deal with by hard work. If
that's not enough, I'll be at the adonet newsgroup.

dennist
-----Original Message-----
Hi Dennis,
Your Exception stack trace is very helpful, and I also read the Help
documentation of the VBCommenter. I seems that the exception was raised on
the Add-Ins wants to rename the file. In his
documentation, there are words:
"The XML comment file is written to the \obj\debug or obj\release folder of
your project. It is actually written as a ".xml_" file. Upon closing the
project, it will be renamed with the ".xml" extention and will load next
time you open the project, providing Intellisense as you work. "
I guess this cause is the add-in failed to rename the ".xml_" file to
".xml". I guess the ".xml" file is being used by other. Perhaps you may try
removing and reinstalling the Add-in, and here is some documentations about
it
http://www.gotdotnet.com/team/ide/helpfiles/VBCommenter.a spx

And I think the VBCommenterLog.txt may give you some more information.

"After building your project, there will also be a file called
VBCommenterLog.txt in
the same directory as the .xml_ file, which contains a list of files that
were parsed, along with error messages for invalid comments that were
detected. You can also open the .xml_ output file in notepad and verify
that the xml is has proper indentation. If it isn't, examine the first
method that has improper indentation and look for improper xml tags, such
as an open tag without a closed tag. "


Thanks!


Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.

--------------------
| Content-Class: urn:content-classes:message
| From: "dennist" <[email protected]>
| Sender: "dennist" <[email protected]>
| References: <[email protected]>
| Subject: can't save changes
| Date: Sat, 13 Sep 2003 04:23:17 -0700
| Lines: 32
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN56W3BkKhk+X/DRRyN6eAr5nnpdA==
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52284
| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| When I closed it I got an error message from vb.commenter
| that should be of real help to somebody who knows what
| they're doing. I captured the message box with snagit
| and transcribed the text.
|
| VBCommenter Add-in: Failure converting file extensions
| of xml files. The process cannot access the
|
file "H:\\HasbaraNET\ado.net.tests\TopicFromStartNet\obj\D
 
Hi Dennis,
I'm glad to hear that you solved your problem, it's my pleasure to help
you.
If you meet any winform related issues, please be free to post it on this
group.
Thanks for using MSDN Newsgroup!



Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
You should not reply this mail directly, "Online" shouldbe removed before
sending, Thanks!

--------------------
| Content-Class: urn:content-classes:message
| From: "dennist" <[email protected]>
| Sender: "dennist" <[email protected]>
| References: <[email protected]>
<[email protected]>
<[email protected]>
| Subject: RE: can't save changes
| Date: Tue, 16 Sep 2003 01:39:48 -0700
| Lines: 134
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcN8LhbOtPXjgo1TRaK6q0fxKrOo7Q==
| Newsgroups: microsoft.public.dotnet.framework.windowsforms
| Path: cpmsftngxa07.phx.gbl
| Xref: cpmsftngxa07.phx.gbl
microsoft.public.dotnet.framework.windowsforms:52312
| NNTP-Posting-Host: tk2msftngxa09.phx.gbl 10.40.1.161
| X-Tomcat-NG: microsoft.public.dotnet.framework.windowsforms
|
| Thank you very much Yu(?),
|
| I found the easiest thing to do was uninstall
| VBCommenter, as I never used it anyway. The problem
| instantly disappeared, only to be replaced with other
| problems, which I'll have to deal with by hard work. If
| that's not enough, I'll be at the adonet newsgroup.
|
| dennist
| >-----Original Message-----
| >Hi Dennis,
| >Your Exception stack trace is very helpful, and I also
| read the Help
| >documentation of the VBCommenter. I seems that the
| exception was raised on
| >the Add-Ins wants to rename the file. In his
| documentation, there are words:
| >"The XML comment file is written to the \obj\debug or
| obj\release folder of
| >your project. It is actually written as a ".xml_" file.
| Upon closing the
| >project, it will be renamed with the ".xml" extention
| and will load next
| >time you open the project, providing Intellisense as you
| work. "
| >I guess this cause is the add-in failed to rename
| the ".xml_" file to
| >".xml". I guess the ".xml" file is being used by other.
| Perhaps you may try
| >removing and reinstalling the Add-in, and here is some
| documentations about
| >it
| >http://www.gotdotnet.com/team/ide/helpfiles/VBCommenter.a
| spx
| >
| >And I think the VBCommenterLog.txt may give you some
| more information.
| >
| >"After building your project, there will also be a file
| called
| >VBCommenterLog.txt in
| >the same directory as the .xml_ file, which contains a
| list of files that
| >were parsed, along with error messages for invalid
| comments that were
| >detected. You can also open the .xml_ output file in
| notepad and verify
| >that the xml is has proper indentation. If it isn't,
| examine the first
| >method that has improper indentation and look for
| improper xml tags, such
| >as an open tag without a closed tag. "
| >
| >
| >Thanks!
| >
| >
| >Best regards,
| >
| >Ying-Shen Yu [MSFT]
| >Microsoft Online Partner Support
| >Get Secure! - www.microsoft.com/security
| >
| >This posting is provided "AS IS" with no warranties and
| confers no rights.
| >
| >--------------------
| >| Content-Class: urn:content-classes:message
| >| From: "dennist" <[email protected]>
| >| Sender: "dennist" <[email protected]>
| >| References: <[email protected]>
| >| Subject: can't save changes
| >| Date: Sat, 13 Sep 2003 04:23:17 -0700
| >| Lines: 32
| >| Message-ID: <[email protected]>
| >| MIME-Version: 1.0
| >| Content-Type: text/plain;
| >| charset="iso-8859-1"
| >| Content-Transfer-Encoding: 7bit
| >| X-Newsreader: Microsoft CDO for Windows 2000
| >| X-MimeOLE: Produced By Microsoft MimeOLE
| V5.50.4910.0300
| >| Thread-Index: AcN56W3BkKhk+X/DRRyN6eAr5nnpdA==
| >| Newsgroups:
| microsoft.public.dotnet.framework.windowsforms
| >| Path: cpmsftngxa06.phx.gbl
| >| Xref: cpmsftngxa06.phx.gbl
| >microsoft.public.dotnet.framework.windowsforms:52284
| >| NNTP-Posting-Host: TK2MSFTNGXA14 10.40.1.166
| >| X-Tomcat-NG:
| microsoft.public.dotnet.framework.windowsforms
| >|
| >| When I closed it I got an error message from
| vb.commenter
| >| that should be of real help to somebody who knows what
| >| they're doing. I captured the message box with snagit
| >| and transcribed the text.
| >|
| >| VBCommenter Add-in: Failure converting file
| extensions
| >| of xml files. The process cannot access the
| >|
| file "H:\\HasbaraNET\ado.net.tests\TopicFromStartNet\obj\D
| >| ebug\TopicFromStartNet.xml" because it is being used
| by
| >| another process.
| >|
| >| at System.IO._Error.WinIOError(Int32 errorCode, String
| >| str)
| >| at System.IO.File.Move(StringsourceFileName,
| >| StringdestFileName)
| >| at Commenter.Connect.AfterClosing()
| >|
| >|
| >| hope somebody can make sense of this.
| >|
| >| dennist
| >| >-----Original Message-----
| >| >I get the following message:
| >| >
| >| >the process cannot access the file because it is
| being
| >| >used by another process
| >| >
| >| >I can't imagine what is causing it. Can somebody
| help?
| >| >
| >| >dennist
| >| >.
| >| >
| >|
| >
| >.
| >
|
 
Back
Top