"unable to start debugging" for Pocket PC project in VB 2008

Hi,

When launching an application in VB 2008 (XP Pro Sp2, VS 2008 SP1), I get the error "unable to start debugging". Visual Studio says the project has been successfully deployed (although nothing have been copied on the device) and then, the error pop up. Device is running Mobile 6.0. My project uses Windows Mobile 5.0 Pocket PC Device. Visual Studio connect successfully with the pocket pc (active sync is also fine).

any idea?

thanks for your time and help
Dominic34Asked:
Who is Participating?
 
alexey_gusevConnect With a Mentor Commented:
well, I should confess - the answer is "YES, IT IS NOT GOOD" in many many cases
0
 
alexey_gusevCommented:
it might be due to many reasons, like dlls or wrong folders, and also you could check this:

http://www.keyongtech.com/5173199-unable-to-start-debugging

does it happen with all project, wm6 and wm5?

0
 
CodeCruiserCommented:
In the devices tab of the Project Properties, there is an option which states: "Deploy the latest version of the .NET Compact Framework (including Service Packs). Is it ticked?
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

 
Dominic34Author Commented:
CodeCruiser, yes it's ticked.

alexey: thanks for the links but I already seen it and it didn't help me.

this is happening since I upgraded the project from VS 2005 to VS 2008. don't know if it's related. anyway, since then, breakpoints, which used to work fine, no longer works at all. it's becoming really frustrating
0
 
alexey_gusevCommented:
hmm, cf.net SPs, VS2008 SPs etc are installed?
0
 
Dominic34Author Commented:
yes, everything is installed. If I start a new smart device project from scratch in VS 2008, it works fine. And I check the differences between both projects and I can't find any. Both configuration is identicals...
0
 
alexey_gusevCommented:
you mean you've binary compared ALL files between 2 projects? project file, solution, user settings etc etc?
it might be just Guid of the platform is wrong somewhere
0
 
Dominic34Author Commented:
I mean I compared all the settings and configuration. everything is identical.

We had the problem on 3 different computers since we upgraded the project, nothing was working. So, I started a new project from scratch, added all the objects, rebuild and redeploy and it works fine now.

is it to say that upgrading a smart device project from VS 2005 is not good??!
0
 
Dominic34Author Commented:
well ok then!! thanks for the help!! :-)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.