Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / October 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mad Scientist Jr - 14 Oct 2006 21:54 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.