|
-
Jul 17th, 2007, 07:17 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Should I give up?
I am trying to debug my latest effort at programming a mobile app and now I have this error
Unable to Start program”%CSIDL_Program_Files%\DeviceApplication1\Mobile1.exe
The System cannot find the file Specified!
Well that message does not surprise me because when I start the debugger it does not put the exe on my device, why not God knows; it used to but has decided it will not do now?
So let me ask a question other than giving up which would not please me after all this effort why does my IDE (Net 2005) not want to play with me?
I am deploying to my device because the only error message I get when I try to use the emulator is “Operation could not be completed” which is a real help!
-
Jul 17th, 2007, 07:33 AM
#2
Re: Should I give up?
I suggest you create a new application.
Put a textbox or 2 and try running it. If it does not complie then you have a problem, if it compiles ok then try to start a fresh new application and add all your code and buttons from the old (the 1 that does not work).
-
Jul 17th, 2007, 08:25 AM
#3
Frenzied Member
Re: Should I give up?
Hi,
first of all, try the infamous step of re-booting the PC and re-booting the PPC and then try again.
Try doing 'F10' to step into the application, then see what happens. Also, as sapator mentions, try a new application and see what happens to that.
Pete
Last edited by petevick; Jul 17th, 2007 at 08:34 AM.
-
Jul 17th, 2007, 10:14 AM
#4
Thread Starter
Fanatic Member
Re: Should I give up?
Pete,
Tried the re-boot, no luck
Sapator,
This is the new app with all the controls and code copied across, but have now tried the simple app with the same result
So is it the re-install of DOT NET
-
Jul 17th, 2007, 10:17 AM
#5
Frenzied Member
Re: Should I give up?
Hi,
what happens if you do F10, ie step thru the application - same thing?
Is this a new PDA, or the first time you have tried deploying an application to it?
Pete
-
Jul 17th, 2007, 11:03 AM
#6
Thread Starter
Fanatic Member
Re: Should I give up?
If I do F10 I get the message can't find exe etc as above
The PDA is the one I have always used, with no problems in the past
-
Jul 17th, 2007, 12:21 PM
#7
Frenzied Member
Re: Should I give up?
Hi,
click on project, properties and devices - what does it say in the 'output file folder', and is the 'deploy the latest...' box ticked?
Pete
-
Jul 17th, 2007, 03:24 PM
#8
Thread Starter
Fanatic Member
Re: Should I give up?
I have played around with the output folder but no matter what I name it the IDE simply does not create the exe at the location specified?
and Yes the 'deloy latest ' is ticked
-
Jul 17th, 2007, 05:20 PM
#9
Frenzied Member
Re: Should I give up?
Hi,
try re-installing the .Net Compact Framework on the device. If you uninistall it, when you deploy, it should re-install it
Pete
-
Jul 18th, 2007, 02:23 AM
#10
Thread Starter
Fanatic Member
-
Jul 18th, 2007, 03:04 AM
#11
Re: Should I give up?
If you run the program on a virtual device and not your phone does it work?
-
Jul 18th, 2007, 05:53 AM
#12
Frenzied Member
Re: Should I give up?
Hi,
on the pocketpc go to system remove programs, and you should see .Net CF there. If you remove it, reboot the PPC, and then try running your program again, it should re-install the CF for you
Pete
-
Jul 18th, 2007, 01:15 PM
#13
Thread Starter
Fanatic Member
Re: Should I give up?
Sapator,
No that does not work either
Pete,
I un-installed .net framework and when I then try to deploy I get the same error message about the location of the exe and .net framework does not re-install and the exe is not created on the device?
and before you ask yes the device is connected
-
Jul 18th, 2007, 02:10 PM
#14
Frenzied Member
Re: Should I give up?
Hi,
my next suggestion would be a bit drastic then - a hard reset, unless you have another device.
Can you backup your device first?
Pete
-
Jul 19th, 2007, 03:01 AM
#15
Thread Starter
Fanatic Member
Re: Should I give up?
I have tried all of the above on two devices already with the same results but am happy to go to a hard reset, if you tell me how it's done
Last edited by JohnSavage; Jul 19th, 2007 at 03:05 AM.
-
Jul 19th, 2007, 03:23 AM
#16
Re: Should I give up?
Each device is different - the manual for my HP IPaq told me how to do it for that PPC - some combination of holding down button-x while depressing button-y while turning the PPC on...
-
Jul 19th, 2007, 03:55 AM
#17
Frenzied Member
Re: Should I give up?
Does it work if you deploy to the emulator?
-
Jul 19th, 2007, 04:02 AM
#18
Re: Should I give up?
 Originally Posted by petevick
Does it work if you deploy to the emulator?
 Originally Posted by JohnSavage
I am deploying to my device because the only error message I get when I try to use the emulator is “Operation could not be completed” which is a real help!
From the OP - seems to me that it's a setup issue with the .Net IDE - but I've not done enough of this yet to know where all the settings and what not are...
-
Jul 19th, 2007, 04:12 AM
#19
Frenzied Member
Re: Should I give up?
Hi,
sorry - I missed that in the thread. If it is an issue deploying to 2 devices and the emulator, I agree, probably a .Net issue.
Try repairing VS2005 - it takes a while though.
Control Panel>Add Remove Programs>Microsoft VS 2005...>Change/Remove and then select 'Repair/Reinstall'
You will probably have time to prepare a 3 course meal whilst it runs - and I seem to recall you need your installation CD
I remember getting VB on 3 floppies
Pete
-
Jul 19th, 2007, 04:16 AM
#20
Re: Should I give up?
@petevick - are you newly MVP or just a change in your sig?
-
Jul 19th, 2007, 05:15 AM
#21
Thread Starter
Fanatic Member
Re: Should I give up?
Thank you gentlemen, I will start the process tomorrow and report back later
-
Jul 19th, 2007, 05:21 AM
#22
Frenzied Member
Re: Should I give up?
Hi,
MVP since 2000 (ish) - saw your sig and thought 'what a good idea - I will pinch that' 
Pete
-
Jul 20th, 2007, 08:29 AM
#23
Thread Starter
Fanatic Member
Re: Should I give up?
Pete,
His is bigger than yours? lol
Here's the bad news It's working again after watching the cd's turn around for a couple of hours!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|