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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Java Development

Reply
Developer
dang133
Posts: 23
Registered: ‎12-01-2009

Trouble opening certain attachments via the browser

I'm having trouble opening certain attachments/links through the browser.

 

works = opens in correct app.

 

5.0-9700

PDF-works

TXT-works

HTML-works

DOC-works

JPG-works

RTF-fails (goes to save)

DOCX-fails (500 server error)

 

6.0-9800

PDF-works

TXT-works

HTML-works

DOC-fails (goes to save)

JPG-works

RTF-fails (goes to save)

DOCX-fails (goes to save)

 

I'm opening these attachments through the browser via the following code:

 

 

BrowserSession bSession = Browser.getDefaultSession();
bSession.displayPage(urlForAttachment);
Both of these devices are connected to a BES.
Does anyone know how to resolve this issue so that all of the attachments/links open correctly through the browser?
Thanks!

 

Please use plain text.
Developer
dang133
Posts: 23
Registered: ‎12-01-2009

Re: Trouble opening certain attachments via the browser

So in 5.0 it was an MIME settings issue.  In 6.0 it seems to be a browser issue.  When we upgraded to a new build of 6.0, here is the error we got:

 

The requested URL could not be retrieved

 

Sorry, we can't open the web page that you requested because access was denied. If you should have access to this web page, contact your wireless service provider.

 

Error Code: 10001

 

Any ideas?

 

Note: the server doesn't even log an attempt to communicate.

 

Thanks!

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
My Carrier: Bell

Re: Trouble opening certain attachments via the browser

Do you see the same behaviour when manually accessing the URL in the browser or does the issue only appear when the browser is launched from your application?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Found a bug? Report it using the Issue Tracker
Please use plain text.
New Contributor
BBT454
Posts: 4
Registered: ‎01-04-2011

Re: Trouble opening certain attachments via the browser

I have a similar problem (i.e. "The requested URL could not be retrieved" error  code 10001). I am trying to log into my security system which I access through a DNS service. I typically do not have problems getting into the system using IE or Firefox. However, on occasion the security system's login page will not be displayed (i.e. blank page). If I reload the page while holding down the ctrl key it will work. I have posted my problem before (see below link) and the only response I got was "You may want to try changing to a different build of the OS".

 

Not the solution I was looking for. Any thoughts?

 

 

http://supportforums.blackberry.com/t5/BlackBerry-Torch-9800-smartphone/Error-The-requested-URL-coul...

Please use plain text.