My OL ASP.Net web application is hosted at production server (windows server 2008)whereas Geoserver is hosted at 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 ?


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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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