"greid" wrote:
code = GetStoredRegCode()
I'd bet this is where the issue is. The published channel uses a different registry location than your side-loaded dev channel, so it could be crashing when trying to read from a registry location that your code assumes exists. Check the GetStoredRegCode() function (or any others that read from the registry) and make sure your code doesn't crash if the key you're looking for doesn't exist.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)