Quote:
Originally Posted by bolocafe
Hi All,
I cannot download a file stored on web server. It is corporate blackberry. I can access web site using BlackBerry browser.
If I use simulator, it is working fine but when I use BlackBerry, I think it opens connection but it waits and nothing happens.
Here is code.
try {
StreamConnection s = (StreamConnection)Connector.open(_url + ";deviceside=false");
HttpConnection httpConn = (HttpConnection)s;
status = httpConn.getResponseCode();
}
It seems to me that it connects to MDS and waits and times out.
How do I trobleshoot problem? Do I need to check anything on MDS or BES?
I will appreciate any help. Prompt response will be appriciated.
Thanks
|
If it works in your simulator, but not on your corporate BES/MDS, and your device is indeed registered with your corporate BES, then unfortunately (?) the best way to trouble shoot will involve talking to your BES team in your company, and getting them to turn on some additional MDS logging.
In the interim, try to surf to any corporate intranet site using the BlackBerry Browser on your device. If it works, that will at least confirm that MDS is working and the issue is specific to your program. If you can't surf intranet sites, then your device isn't configured or allowed to work with your corporate BES/MDS.
eeksock