Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 342
Registered: ‎09-28-2009
My Device: Not Specified
Accepted Solution

DNSException: DNS Error

So, I have this run of the mill connection code:

 

httpConn = (HttpConnection) Connector.open(_url + ";deviceside=true");

 and I'm connecting to a website like: https://mysite.joe.dcn/blah.fwx?parameter1=10&parameter2=20

 

On the simulator, it's all good and well, but on an actual device, I get this:

net.rim.device.cldc.io.dns.DNSException: DNS Error

 

Can't seem to find alot of info about it online. Anyone know where to start with this error?

 

Developer
Posts: 342
Registered: ‎09-28-2009
My Device: Not Specified

Re: DNSException: DNS Error

Yeah, well if anyone else has this problem, I fixed it by setting deviceside=false.