Home All Groups Group Topic Archive Search About

cannot ftp upload pdb file, used by another process (even after reboot)

Author
14 Oct 2006 8:54 PM
Mad Scientist Jr
i am getting an error when i try uploading a pdb file:

500 mywebsite.pdb: The process cannot access the file because it is
being used by another process.

I tried rebooting my computer, shutting down IIS, have closed out of
vs.net, etc.

I am not finding any file handles in process explorer when I search for
"mywebsite"

Any ideas?

thanks

Author
15 Oct 2006 3:53 AM
Siva M
This is a guess: when you are debugging/running your app, the PDB file of
that app gets locked by VS itself. However, it would be released when you
stop debugging. Make a copy of the PDB file and try uploading the copy..

"Mad Scientist Jr" <usenet_daugh***@yahoo.com> wrote in message
news:1160859244.091358.103840@k70g2000cwa.googlegroups.com...
i am getting an error when i try uploading a pdb file:

500 mywebsite.pdb: The process cannot access the file because it is
being used by another process.

I tried rebooting my computer, shutting down IIS, have closed out of
vs.net, etc.

I am not finding any file handles in process explorer when I search for
"mywebsite"

Any ideas?

thanks
Author
15 Oct 2006 4:10 AM
David Wang
Is it the source or the destination mywebsite.pdb that is locked.

i.e. your are trying to upload a PDB to another server. Is the PDB file
in-use on that server or on your machine.

Because if it is in-use on the server, no amount of rebooting, closing
IIS, closing VS, Process Explorer on your client will affect the
outcome.

What FTP server is being used? Is the PDB in-use on the server (say, by
a debugger or by virus scanner, etc).


//David
http://w3-4u.blogspot.com
//


Mad Scientist Jr wrote:
Show quote
> i am getting an error when i try uploading a pdb file:
>
> 500 mywebsite.pdb: The process cannot access the file because it is
> being used by another process.
>
> I tried rebooting my computer, shutting down IIS, have closed out of
> vs.net, etc.
>
> I am not finding any file handles in process explorer when I search for
> "mywebsite"
>
> Any ideas?
>
> thanks
Author
19 Oct 2006 10:49 PM
Mad Scientist Jr
You were right, it was the copy on the destination server - duh.
I came back the next day and it let me upload it.
thanks

David Wang wrote:
Show quote
> Is it the source or the destination mywebsite.pdb that is locked.
>
> i.e. your are trying to upload a PDB to another server. Is the PDB file
> in-use on that server or on your machine.
>
> Because if it is in-use on the server, no amount of rebooting, closing
> IIS, closing VS, Process Explorer on your client will affect the
> outcome.
>
> What FTP server is being used? Is the PDB in-use on the server (say, by
> a debugger or by virus scanner, etc).
>
>
> //David
> http://w3-4u.blogspot.com
> //
>
>
> Mad Scientist Jr wrote:
> > i am getting an error when i try uploading a pdb file:
> >
> > 500 mywebsite.pdb: The process cannot access the file because it is
> > being used by another process.
> >
> > I tried rebooting my computer, shutting down IIS, have closed out of
> > vs.net, etc.
> >
> > I am not finding any file handles in process explorer when I search for
> > "mywebsite"
> >
> > Any ideas?
> >
> > thanks
Author
15 Oct 2006 11:10 AM
Steve Schofield
Process Explorer by Sysinternals would tell you want process has the pdb
in-use.  Depending on what process is using the file would determine how to
resolve your issue.

Steve Schofield
Microsoft MVP - IIS


Show quote
"Mad Scientist Jr" <usenet_daugh***@yahoo.com> wrote in message
news:1160859244.091358.103840@k70g2000cwa.googlegroups.com...
>i am getting an error when i try uploading a pdb file:
>
> 500 mywebsite.pdb: The process cannot access the file because it is
> being used by another process.
>
> I tried rebooting my computer, shutting down IIS, have closed out of
> vs.net, etc.
>
> I am not finding any file handles in process explorer when I search for
> "mywebsite"
>
> Any ideas?
>
> thanks
>

AddThis Social Bookmark Button