Visual Studio deploy error can't access exe file 0x80070020

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I am working with an example program in Visual Studio 2005 Pro,
Version 8.0.50727.42), MS Visual C++, target Windows Mobile 5 PDA
emulator. I have compiled and run this program before; I made some
change to it, it compiled fine, but it will not run. When I try to
run it it says:

Deploy started: Project: BaseSample, Configuration: Debug Windows 5.0
Pocket PC SDK (ARMV41) ------
l> Deployment and/or registration failed with error: 0x8973190e. Error
Writine file '%CSIDL_PROGRAM_FILES%\BaseSample\BaseSample.exe'. Error
0x80070020: The process cannot access the file because it is being
used by another process.
l>
========== Deploy: 0 succeeded, 1 failed, 0 skipped =============

At one time I disabled ActiveSync (since I had no desire to synch my
information onto my PDA; in other fora I've seen that this can cause a
problem. I re-enabled ActiveSync, and have its greyed-out-looking
icon in that place on the task bar where background processes are.
I've opened and looked at it; it seems to be waiting for a connection.

I have told the emulator I don't want it to save its state; I told it
once I did, but now I'm telling it no.

I have looked at the process list in windows task manager; there are
52 processes there, nothing that has the name of my app. I have heard
that there can be a DLL still running and open, but I don't see
anything that looks likely. I've restarted VS a couple of times, and
rebooted the machine entirely a couple of times, with no change.

Anyone have any other suggestions? I suppose I can uninstall and
reinstall VS, but it seems a bit drastic for having made a two-word
change in code that is compiling and used to run. Can anyone help me
please?

rc
.



Relevant Pages

  • Re: Writing text file to PDA
    ... I tired those code lines and it's does not work through the Emulator or ... the PDA, yet, it does work if i run the APP through windows XP. ...
    (microsoft.public.pocketpc.developer)
  • Re: WinCE 6.0 BSP (CEPC) for Virtual PC
    ... but beware phrases like this on the page: "With Windows ... could use VS2008 with the Windows Mobile 6 Professional VGA Emulator ... CE license and that's supposed to be tied to a piece of hardware, ... was hoping there was a CEPC VPC out there... ...
    (microsoft.public.windowsce.embedded)
  • Re: WinCE 6.0 BSP (CEPC) for Virtual PC
    ... what I knew about Windows CE to it was a waste of time. ... VPC as a target and it works VERY well. ... Just install the emulator BSP, generate an image and have the ... when developing your platform, and few OEMs go to that trouble since the ...
    (microsoft.public.windowsce.embedded)
  • RE: Windows CE6.0 with IPv6
    ... Not very sure how it works in an emulator, that too Windows CE 6.0. ... Yes, Mobile IPv6 is supported in Windows CE, though they haven't mentioned ... and dhcpv6l.dll. ...
    (microsoft.public.windowsce.embedded)
  • RE: Windows CE6.0 with IPv6
    ... but no IPv6 specific messages orriginated from the Windows ... Not very sure how it works in an emulator, ... and dhcpv6l.dll. ...
    (microsoft.public.windowsce.embedded)