BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 12-03-2007, 03:43 AM   #1 (permalink)
New Member
 
Join Date: May 2007
Model: 7100
PIN: N/A
Carrier: Airtel
Posts: 12
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default USBDemo not working when used multiple times

Please Login to Remove!

Hi all,
Iam trying to run the UsbDemo application given in the samples. The application registers for CHANNEL R successfully the first time only. After that it throws "IOException: ControlledAccessException" illegal channel.
Can anyone tell me what could be the reason. It works successfully on the simulator, but on the device it fails most of the times.

Awaiting response.
Thanks and regards,
Sriram
Offline  
Old 12-07-2007, 04:28 AM   #2 (permalink)
Talking BlackBerry Encyclopedia
 
Skipper_Joe's Avatar
 
Join Date: Jan 2007
Location: Kharkov, Ukraine
Model: 8300
Carrier: N/A
Posts: 237
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

ControlledAccessException is thrown usually when user denied some permission for your app. Check in Settings > Application menu of your device. Maybe this is a problem?
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Dell CW796 Cover Top 1720 OEM Genuine NIB OEM
$39.95
Dell CW796 Cover Top 1720 OEM Genuine NIB OEM  pictureGenuine OEM 0H983F Dell Optiplex 960 SSF Power Button Board Card P/N: H983F
$7.99
Genuine OEM 0H983F Dell Optiplex 960 SSF Power Button Board Card P/N: H983F pictureOEM BULB with Housing for DELL 1410X Projector with 180 Day Warranty
$124.0
OEM BULB with Housing for DELL 1410X Projector with 180 Day Warranty pictureDell Lamp Bulb 08W621 OEM New in sealed Packaging
$65.0
Dell Lamp Bulb 08W621 OEM New in sealed Packaging pictureOriginal Chunghwa 15" CLAA150XP01QL A+ LCD Screen Display OEM Dell E157FPTe
$45.0
Original Chunghwa 15






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.