Hi Haris,
thank you for your answer.
I found out 2 problems. The first was that I miss MIME Type for GML
and KML (and KMZ).
The sencond was that some path inside Georest pages are not well
addressed. Of course they works well when using Georest http server,
but they don't work with IIS 7. So, I changed something in the
configuration, and some path in HTML pages and Georest is OK also with
IIS7. In other words, references in HTML pages are for example '/css/
stylesheet.css', that is the root application name is missing, if I
change in 'css/stylecheet.css' the stylesheet is well addressed. Also
instead of '/georest/rest/data/property....' I changed with '/rest/
data/property....'
My configuration steps:
1. Set permissions on the C:\GeoRest folder as follows:
* Network Service: Read
* IUSR: Read
2. Set permissions on the C:\GeoRest\bin folder as follows:
* Network Service: Full Control
3. Create new application pool to be used by this service. It does
not require any managed components. If using 64 bit Windows version
enable a 32-bit Application Pool. Right click on application pool and
select "Advanced Settings" and change "Enable 32-bit Application"
property to True.
4. Create a new virtual directory at the root of your website with
an alias of "rest" pointing to C:\GeoRest\bin
5. Convert this virtual directory into an application, using the
application pool you set up earlier.
++++++++ Create a new virtual directory at the root of your website
with an alias of "georest" pointing to C:\GeoRest\bin\www
++++++++ Convert this virtual directory into an application, using the
application pool you set up earlier.
6. Under Handler Mappings, create a new Module Mapping, setting the
wildcard to * and pointing to C:\GeoRest\bin\GeoRest_ISAPI.dll. Make
sure to allow this extension to run, or set up a new web extension
rule for it manually.
7. browse to
http://localhost/rest/hello
Regards, Naspi
On May 30, 12:36 pm, Haris Kurtagic <
ha...@sl-king.com> wrote:
> I believe It should work with IIS 7. Simon could confirm it ? I think he has
> done projects with IIS 7.
>
> Have you tried to get other representations of feature like .xml, . json or
> .png ?
>
> Error message sounds unfamiliar to me. Perhaps it is issue with custom
> OpenLayers GeoREST layer. Simon developed that.
>
> Haris
>
> On Sun, May 30, 2010 at 9:04 AM, NaSpi <
nadia.spiti...@gmail.com> wrote:
> > Hi,
> > Thank you very much for your answer.
> > I downloaded and installed Georest (and also MG 2.1). I followed wiki
> > instructions, everythings works fine with georesthttpserver, but not
> > with IIS 7. The test is ok but when I try to load the map I get 'error
> > in loading gml file'. Did I miss something? Is this a Georest issue or
> > an Openlyers issue? Any help will be apreciated.
>
> > Regards,
> > Naspi
>
> > On May 27, 3:39 pm, NaSpi <
nspiti...@tiscali.it> wrote:
> > > Hi,
> > > GeoREST is very very interesting, really a good work.
>
> > > Does it work with Mapguide 2.0.2 ?
>
> > > Regards,
> > > NaSpi
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "GeoREST" group.
> > To post to this group, send email to
geo...@googlegroups.com.
> > To unsubscribe from this group, send email to
> >
georest+u...@googlegroups.com<
georest%2Bunsu...@googlegroups.com>
> > .