It was happening every time. I'm not 100% sure of the particulars, as I
couldn't reproduce the problem locally. The customer fixed it and gave me
the following description of the problem, which may be of use:
"When I deploy my App. Main App loads into root directory of the device. All
dll's load into root directory and for some strange reason three other dll's
load into \Program Files direc. as well. I had to delete dll's from \Program
Files once and now things are back to normal.
The only thing I can think of is the fact that I have 2 project under my
app. Second project creates dll's which I reference in my first project.
So during deploy two sets of dll's get loaded . One set into \Program Files
and the other via reference into root. So during debugg start it must sense
some sharing violation."
From my perspective, he got it working, and has been the only customer to
complain about this specific problem, so I'm back burnering it until it
appears again. Understanding why it happened would be nice, but at this
point it's not worth the time.
--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net
"Geoff Schwab [MSFT]" <a-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Chris,
>
> Being that you are very knowledgeable, I am assuming you have tried
> soft/hard resetting the device, as well as restarting Visual Studio and/or
> rebooting the PC.
>
> Is this intermittent or does it happen every time? Have you tried
multiple
> PXA255 devices on a machine that is having this problem or tried a
> problematic device on a different development system?
>
> --
> Geoff Schwab
> Program Manager
> Excell Data Corporation
> http://msdn.com/mobility
>
http://msdn.microsoft.com/mobility/p...Q/default.aspx
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Section 11.2 talks about Studio being able to deploy but not debug on a
> > device. It says that this applies only to CEPCs, but I have customers
> using
> > PXA255 devices with the same symptom. Applying proxyports.reg doesn't
fix
> > the problem, so what's the non-CEPC fix?
> >
> > --
> > Chris Tacke, eMVP
> > Co-Founder and Advisory Board Member
> > www.OpenNETCF.org
> > ---
> > Windows CE Product Manager
> > Applied Data Systems
> > www.applieddata.net
> >
> > "Geoff Schwab [MSFT]" <a-(E-Mail Removed)> wrote in message
> > news:%(E-Mail Removed)...
> > > As promised, the FAQ has continued to be updated. The following items
> > were
> > > added last week and are available in the latest version:
> > >
> > > 10.6. Are there any non-Microsoft web sites that have information
about
> > > developing .NET Compact Framework-based applications?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#10.6
> > >
> > > 11. Connectivity
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.0
> > >
> > > 11.1. Why am I unable to deploy to Windows CE devices through
> ActiveSync?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.1
> > >
> > > 11.2. Why am I unable to debug CEPC or any other x86 based Windows CE
> > > devices through ActiveSync?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.2
> > >
> > > 11.3. Why does debugging fail when Toolhelp.dll is missing on the
> device?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.3
> > >
> > > 11.4. Why am I unable to deploy to devices when the number of network
> > > protocols exceeds 50?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.4
> > >
> > > 11.5. Why am I unable to deploy to devices through ActiveSync after
> > > uninstalling ActiveSync?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.5
> > >
> > > 11.6. How come localized machine names or user names may cause failure
> of
> > > deployment to devices?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.6
> > >
> > > 11.7. Why does deployment to devices fail if the logon user is not in
> the
> > > Administrators group?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.7
> > >
> > > 11.8. Why does deployment to a Pocket PC device or Emulator fail with
a
> > > sharing violation error?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.8
> > >
> > > 11.9. Why do I get a Security Alert message when the Emulator is used
> for
> > > the first time on a .NET Server machine?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ault.aspx#11.9
> > >
> > > 11.10. Why do I get an error message about missing files when the
> Emulator
> > > is being started?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.10
> > >
> > > 11.11. Why does the first Emulator deployment attempt sometimes fails?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.11
> > >
> > > 11.12. How come after the Emulator is started with the Connect to
Device
> > > button, the first deployment attempt fails?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.12
> > >
> > > 11.13. Why does Emulator debugging fail if the machine does not have a
> > > network connection?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.13
> > >
> > > 11.14. How come the Emulator won't boot (black screen) if it uses a
COM
> > > port?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.14
> > >
> > > 11.15. Why does the Visual Studio .NET 2003 Emulator not work with
> > eMbedded
> > > Visual Tools Emulator at the same time?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.15
> > >
> > > 11.16. Why am I unable to deploy to a device with a TCP connection but
> no
> > > ActiveSync connection?
> > >
> >
>
http://msdn.microsoft.com/mobility/p...ult.aspx#11.16
> > >
> > > --
> > > Geoff Schwab
> > > Program Manager
> > > Excell Data Corporation
> > > http://msdn.com/mobility
> > >
> >
>
http://msdn.microsoft.com/mobility/p...Q/default.aspx
> > >
> > > This posting is provided "AS IS" with no warranties, and confers no
> > rights.
> > >
> > >
> >
> >
>
>