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

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
 
S

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

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
 
D

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
//
 
S

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
 
M

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top