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

  • Thread starter Thread starter Mad Scientist Jr
  • Start date Start date
M

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
 
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..

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
 
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
//
 
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
 
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
 
Back
Top