Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

My OL ASP.Net web application is hosted at 172.24.100.16 production server (windows server 2008)whereas Geoserver is hosted at 172.24.100.15 production server (Linux, UBUNTU). When i access page from outside the production environment, then Layers does not show over google map in page.

I need suggestion to fix this problem. Also, i need explanation why it happen ?

share|improve this question
    
Setup up xDomain and Proxyhost - cartoninjas.net/post/2010/11/24/… - via IIS 7x –  Mapperz May 25 '11 at 13:40
    
Or IISProxy - geographika.co.uk/a-proxy-for-iis-and-net –  geographika May 26 '11 at 9:13

1 Answer 1

up vote 1 down vote accepted

It is because of crossdomain ajax problem with Geoserver WMS XMLhttp request. To fix this the geoserver and IIS(In case of ASP) should be in same domain.You need to set up proxy to access geoserver frm IIS .Otherwise you have to write your own proxy. visit: http://khayer.wordpress.com/2010/07/14/open-layer-with-geosever/#comment-367

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.