05-06-2010 02:12 PM
This is an already already discussed topic but I could not solve it reading the answers. I have a BlackBerry environment up and running with Eclipse on my PC:
- no proxy is configured
- the browser in the simulator can access web resources both internally and externally
- anti-virus is disabled
<?xml version="1.0" encoding="utf-8" ?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="1.0.0"> <name>Test</name> <description>Test</description> <author href="http://jdecuyper.com">jdecuyper</author> <content src="http://localhost/blackberry/index.html" /> <rim:loadingScreen backgroundColor="#f7e7c6"/> <access uri="http://localhost/blackberry/" subdomains="true"> <feature id="blackberry.system" /> <feature id="blackberry.identity" /> </access> </widget>
For some unknown reason, the widget is not able to retrieve a page from my local IIS but it
has no problem retrieving pages from a remote IIS. I have already double checked all IIS properties
but could not find anything.
"Could not select proper transport descriptor for: http://localhost/blackberry/index.html"
- Smartphone Simulator 188.8.131.52
- Windows Vista Professional
Thanks a lot for your help!
05-06-2010 10:11 PM
What happens if you give the fully qualified domain name as it is specified on your LAN for your machine instead of localhost. In some environments we have seen that there can be a problem resolving localhost.
07-02-2010 08:26 AM
Any update on this... I am also getting same error while accessing localhost.
Have you tried to use the fully qualified domain name for your computer instead of localhost?
04-19-2011 05:49 AM
I have the same problem but working with a local Apache web server rather than IIS. I have however solved the problem.
- first check whether or not you can access the problem URL from a desktop web browser. If you can then read no further.... you have a different problem. If you cannot then your problem is probably like mine and it concerns the web server configuration.
Apache and other web servers allow you to bind to a specific IP and port. Any other address, even if it corresponds to the same machine, will not work. So in the Apache web server config (httpd.conf) I have:
172.20.110.200 is the IP of my laptop's ethernet interface and to all intents and purposes is synonymous with localhost.
Consequently the following URL can be reached successfully:
The following "equivalent" URL however will not be served by the web server:
In IE you get "Internet Explorer cannot display the web page".
In a Web Works app trying to access http://127.0.0.1 you get "Could not select proper transport selected...."
Hope this helps.
12-20-2011 06:10 PM