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
Siva M - 15 Oct 2006 04:53 GMT
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
David Wang - 15 Oct 2006 05:10 GMT
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
//
> i am getting an error when i try uploading a pdb file:
>
[quoted text clipped - 10 lines]
>
> thanks
Mad Scientist Jr - 19 Oct 2006 23:49 GMT
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
> Is it the source or the destination mywebsite.pdb that is locked.
>
[quoted text clipped - 26 lines]
> >
> > thanks
Steve Schofield - 15 Oct 2006 12:10 GMT
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
>i am getting an error when i try uploading a pdb file:
>
[quoted text clipped - 10 lines]
>
> thanks