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

5.8k views Asked by At

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.

1

There are 1 answers

0
ctacke On BEST ANSWER

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