>From what I see you have Geoserver running on port 8080 and IIS/asp
running on port 2573, making it for ajax/javascript two different 'domains'.
The javascript/ajax running on 2573 is not allowed to retrieve
information via ajax from the 8080 'domain'.

see
http://trac.osgeo.org/openlayers/wiki/FrequentlyAskedQuestions#ProxyHost
http://docs.openlayers.org/library/request.html
http://developer.yahoo.com/javascript/howto-proxy.html

to be able to request the data from 8080/geoserver you need to install
an asp-proxy-script on 2573 and add the proxy to your openlayers parameters.

if you are able to run python on your IIS you can use
http://trac.osgeo.org/openlayers/browser/trunk/openlayers/examples/proxy.cgi
otherwise do some googling for an asp(x) equivalent.

Hope this helps

Regards,

Richard Duivenvoorde


DaddyMagic wrote:
> Hi folks, 
> 
> I have GeoServer installed, and a web page built.  However my GetFeatureInfo
> Requests are not producing anything yet.  
> 
> I built my webpage in "MyDocuments" using VisualWeb Developer 2010.  
> 
> When I run my page it is in "http://localhost:2573/WebSite6/Default.aspx"; 
> which I noticed is different from the address my GeoServer pages show when I
> use Layer Preview
> 
> "http://localhost:8080/geoserver/wms?service=WMS&version=1.1.0&request=GetMap&layers=GeoGoshen:GoshenCampMaintRds&styles=&bbox=-79.468,37.958,-79.429,37.99&width=512&height=420&srs=EPSG:4326&format=application/openlayers";
> 
> Do I need to build my page inside of "C:\Program
> Files\apache-tomcat-6.0.29\webapps" to ensure my GetFeatureInfo requests
> work?
> 
> Andy

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to