How can I get around the "There is not enough space on the disk" exception when attempting to deploy to a handheld device?

0

Today, when I try to deploy my Windows CE project to the handheld device from VS 2008, I get the deployment error:

"Deployment and/or registration failed with error: 0x8973190e. Error writing file '%CSIDL_PROGRAM_FILES%\Duckbill\Platypus.exe'. Error 0x80070070: There is not enough space on the disk. Device Connectivity Component"

How can I get around this? Do I need to jettison some of the files on the device? If so, which ones are safe to get rid of?

UPDATE

In replay to ctacke's comment:

Thanks for those tips; I didn't install anything to the handheld (besides the .exe in question). I assume by "Start > Control Panel" you mean Start > Settings > Control Panel (and not Start > Programs > CtrlPanel). I did find the division of memory widget there.

I changed it to Storage Memory = 42944KB total, Program Memory 42824KB total from around 29000 / 57000.

As to "deploying to some form of mounted media," I don't know what I should choose. Here is what's available from Project > Properties... > Devices > Output File Folder:

enter image description here

For now, increasing the storage memory works, but I'd still like to know what I should do for step 2 in case I come to that fork in the code, I mean road.

visual-studio-2008
compact-framework
windows-ce
diskspace
handheld
asked on Stack Overflow Dec 2, 2013 by B. Clay Shannon • edited Dec 2, 2013 by B. Clay Shannon

1 Answer

1

A few options:

  1. Use the System memory control panel applet (Start -> Control Panel -> System -> Memory) to change the memory division to give yourself more storage memory.
  2. Don't deploy to the Program files directory, but instead deploy to some form of mounted media (SD card or whatever) by changing the Deployment option in the Project settings (see the answer here)
  3. Delete anything on the device that you installed that isn't necessary
answered on Stack Overflow Dec 2, 2013 by ctacke • edited May 23, 2017 by Community

User contributions licensed under CC BY-SA 3.0