RE: [mapserver-users] ArcSDE 9.3 Support.

2008-10-01 Thread Nelson Soto
I got it to work... In case anyone is interested for future reference, it does 
have to do with the %PATH% not being configured properly to look at the SDE SDK 
files and I was unable to configure it correctly but placing the following 
files into the 'cgi-bin' folder where mapserv.exe resides allows it to run:

Sde.dll
Sg.dll
Pe.dll
Msvcp71d.dll <- if you have visual studio 2003 w/ C++ then you may not need to 
obtain this but I had to grab it online.

Thanks for the help guys,
Nelson

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nelson Soto
Sent: Wednesday, October 01, 2008 7:50 AM
To: Andreas Albarello
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] ArcSDE 9.3 Support.

Makes sense. Unfortunately I'd really like to not have to stuff the files in 
the system32 folder but as a last resort it may have to be. It definitely seems 
to be an issue with the bath to my SDE SDK not being added and I can't seem to 
figure how to include the path to my SDK in the %PATH% variable because the 
folder name has spaces in it and while no error happens when running the batch, 
I still run into the same error so back to the drawing board.

Oh, I meant to mention before that I had walked through mapserv.exe and 
libmap.dll but neither seemed to reference the dll at all... I think it only 
loads on request from the map file? ProcMon doesn't help me out either but its 
definitely a PATH variable thing..
-Original Message-
From: Andreas Albarello [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 4:25 PM
To: Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.


On 30 Sep 2008, at 21:56, Nelson Soto wrote:

> After tracing dependencies with Dependency Walker, I can see sde.dll  
> and
> libmap.dll aren't loading correctly when loading  
> 'msplugin_sde_92.dll'.
>
> Any ideas on how to alleviate this?

Nelson,

dynamically loaded plugin dlls which in turn require other statically  
compiled libraries is where Windows dll hell starts to get really  
ugly. Windows tries to locate your sde libraries either in one of the  
directories contained in your %PATH% (probably set by setenv.bat but I  
don't use MS4W so I can't help you there) or, preferably, in the  
application's folder. By that, if I'm not mistaken, they mean the  
directory which the main executable image of your app is launched  
from, so probably the one containing mapserv.exe (or maybe the one  
where libmap.dll resides?). It's definitely not going to work if you  
place them relative to the plugin inside your specialplugins folder as  
that dll is dynamically loaded into the main application's process  
space. What I'm saying is that Dependency Walker won't help you in  
this case if you launch it directly on msplugin_sde_92.dll, because  
what counts is what mapserver.exe/libmap.dll sees, not the plugin.

Still, if all fails, you could always just drop the sde libs into c: 
\windows\system32 but I'm sure with some trial and error you'll find a  
place where they get picked up correctly.

Best regards,
--

Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: [EMAIL PROTECTED]
web:   www.territoriumonline.com


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] ArcSDE 9.3 Support.

2008-10-01 Thread Nelson Soto
Makes sense. Unfortunately I'd really like to not have to stuff the files in 
the system32 folder but as a last resort it may have to be. It definitely seems 
to be an issue with the bath to my SDE SDK not being added and I can't seem to 
figure how to include the path to my SDK in the %PATH% variable because the 
folder name has spaces in it and while no error happens when running the batch, 
I still run into the same error so back to the drawing board.

Oh, I meant to mention before that I had walked through mapserv.exe and 
libmap.dll but neither seemed to reference the dll at all... I think it only 
loads on request from the map file? ProcMon doesn't help me out either but its 
definitely a PATH variable thing..
-Original Message-
From: Andreas Albarello [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 4:25 PM
To: Nelson Soto
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.


On 30 Sep 2008, at 21:56, Nelson Soto wrote:

> After tracing dependencies with Dependency Walker, I can see sde.dll  
> and
> libmap.dll aren't loading correctly when loading  
> 'msplugin_sde_92.dll'.
>
> Any ideas on how to alleviate this?

Nelson,

dynamically loaded plugin dlls which in turn require other statically  
compiled libraries is where Windows dll hell starts to get really  
ugly. Windows tries to locate your sde libraries either in one of the  
directories contained in your %PATH% (probably set by setenv.bat but I  
don't use MS4W so I can't help you there) or, preferably, in the  
application's folder. By that, if I'm not mistaken, they mean the  
directory which the main executable image of your app is launched  
from, so probably the one containing mapserv.exe (or maybe the one  
where libmap.dll resides?). It's definitely not going to work if you  
place them relative to the plugin inside your specialplugins folder as  
that dll is dynamically loaded into the main application's process  
space. What I'm saying is that Dependency Walker won't help you in  
this case if you launch it directly on msplugin_sde_92.dll, because  
what counts is what mapserver.exe/libmap.dll sees, not the plugin.

Still, if all fails, you could always just drop the sde libs into c: 
\windows\system32 but I'm sure with some trial and error you'll find a  
place where they get picked up correctly.

Best regards,
--

Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: [EMAIL PROTECTED]
web:   www.territoriumonline.com


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Andreas Albarello


On 30 Sep 2008, at 21:56, Nelson Soto wrote:

After tracing dependencies with Dependency Walker, I can see sde.dll  
and
libmap.dll aren't loading correctly when loading  
'msplugin_sde_92.dll'.


Any ideas on how to alleviate this?


Nelson,

dynamically loaded plugin dlls which in turn require other statically  
compiled libraries is where Windows dll hell starts to get really  
ugly. Windows tries to locate your sde libraries either in one of the  
directories contained in your %PATH% (probably set by setenv.bat but I  
don't use MS4W so I can't help you there) or, preferably, in the  
application's folder. By that, if I'm not mistaken, they mean the  
directory which the main executable image of your app is launched  
from, so probably the one containing mapserv.exe (or maybe the one  
where libmap.dll resides?). It's definitely not going to work if you  
place them relative to the plugin inside your specialplugins folder as  
that dll is dynamically loaded into the main application's process  
space. What I'm saying is that Dependency Walker won't help you in  
this case if you launch it directly on msplugin_sde_92.dll, because  
what counts is what mapserver.exe/libmap.dll sees, not the plugin.


Still, if all fails, you could always just drop the sde libs into c: 
\windows\system32 but I'm sure with some trial and error you'll find a  
place where they get picked up correctly.


Best regards,
--

Andreas Albarello
Analysis & SW Development

Territorium Online srl/GmbH
Via Buozzi/Buozzistraße 12 - I 39100 Bolzano/Bozen
email: [EMAIL PROTECTED]
web:   www.territoriumonline.com


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Nelson Soto
After tracing dependencies with Dependency Walker, I can see sde.dll and
libmap.dll aren't loading correctly when loading 'msplugin_sde_92.dll'.

Any ideas on how to alleviate this?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nelson
Soto
Sent: Tuesday, September 30, 2008 3:45 PM
To: Huey Brantley; Steve Lime
Cc: mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] ArcSDE 9.3 Support.

Unfortunately, I'm trying to get the msplugin_sde_92.dll to even load as
a plug in at all. I get the following error :

msDrawMap(): Image handling error. Failed to draw layer named
'parcels-sde'. loadCustomLayerDLL: General error message. Failed to load
dynamic Layer LIB: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
msGetSymbol(): General error message. Can't load requested dynamic
library: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll

The path is correct but is likely one of that dll's dependencies...

Ogrinfo and gdalinfo took some time to report 'SDE' in the formats list
and it was due to not being able to find the ArcGIS SDK dlls... I
couldn't figure out why (I did run SETENV.bat) so I just copied them
into the gdal-ogr folder and didn't overwrite any of the files that
perhaps may be shared but I'm sure this will lead to issues...

What steps did you follow to get this set up correctly? I have used ms4w
instructions for enabling and this doesn't seem to be effective... I
have the ArcSDE 9.3 C API SDK installed.

-Original Message-
From: Huey Brantley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 3:29 PM
To: Steve Lime
Cc: mapserver-users@lists.osgeo.org; Nelson Soto
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.

I use MapServer with ArcGIS 9.3 with no problems.

On Tue, 2008-09-30 at 13:34 -0500, Steve Lime wrote:
> My assumption is that if it is not specifically stated that something
WON'T work with a particular
> version then it probably will work. I'd say try it. I don't have that
version handy or I'd do it myself.
> 
> Steve
> 
> >>> On 9/30/2008 at 12:06 PM, in message
>
<[EMAIL PROTECTED]>,
"Nelson
> Soto" <[EMAIL PROTECTED]> wrote:
> > I have seen this question asked but have not found any answers; Is
> > Mapserver capable of displaying and working with SDE 9.3??? The last
> > noted version I can see is 9.2 and am curious as it is not
explicitly
> > labeled as not working on the MapServer website.
> > 
> >  
> > 
> > Thanks,
> > Nelson
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Huey Brantley
I use MapServer with ArcGIS 9.3 with no problems.

On Tue, 2008-09-30 at 13:34 -0500, Steve Lime wrote:
> My assumption is that if it is not specifically stated that something WON'T 
> work with a particular
> version then it probably will work. I'd say try it. I don't have that version 
> handy or I'd do it myself.
> 
> Steve
> 
> >>> On 9/30/2008 at 12:06 PM, in message
> <[EMAIL PROTECTED]>, "Nelson
> Soto" <[EMAIL PROTECTED]> wrote:
> > I have seen this question asked but have not found any answers; Is
> > Mapserver capable of displaying and working with SDE 9.3??? The last
> > noted version I can see is 9.2 and am curious as it is not explicitly
> > labeled as not working on the MapServer website.
> > 
> >  
> > 
> > Thanks,
> > Nelson
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Nelson Soto
Unfortunately, I'm trying to get the msplugin_sde_92.dll to even load as
a plug in at all. I get the following error :

msDrawMap(): Image handling error. Failed to draw layer named
'parcels-sde'. loadCustomLayerDLL: General error message. Failed to load
dynamic Layer LIB: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll
msGetSymbol(): General error message. Can't load requested dynamic
library: D:\ms4w\Apache\specialplugins\msplugin_sde_92.dll

The path is correct but is likely one of that dll's dependencies...

Ogrinfo and gdalinfo took some time to report 'SDE' in the formats list
and it was due to not being able to find the ArcGIS SDK dlls... I
couldn't figure out why (I did run SETENV.bat) so I just copied them
into the gdal-ogr folder and didn't overwrite any of the files that
perhaps may be shared but I'm sure this will lead to issues...

What steps did you follow to get this set up correctly? I have used ms4w
instructions for enabling and this doesn't seem to be effective... I
have the ArcSDE 9.3 C API SDK installed.

-Original Message-
From: Huey Brantley [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 30, 2008 3:29 PM
To: Steve Lime
Cc: mapserver-users@lists.osgeo.org; Nelson Soto
Subject: Re: [mapserver-users] ArcSDE 9.3 Support.

I use MapServer with ArcGIS 9.3 with no problems.

On Tue, 2008-09-30 at 13:34 -0500, Steve Lime wrote:
> My assumption is that if it is not specifically stated that something
WON'T work with a particular
> version then it probably will work. I'd say try it. I don't have that
version handy or I'd do it myself.
> 
> Steve
> 
> >>> On 9/30/2008 at 12:06 PM, in message
>
<[EMAIL PROTECTED]>,
"Nelson
> Soto" <[EMAIL PROTECTED]> wrote:
> > I have seen this question asked but have not found any answers; Is
> > Mapserver capable of displaying and working with SDE 9.3??? The last
> > noted version I can see is 9.2 and am curious as it is not
explicitly
> > labeled as not working on the MapServer website.
> > 
> >  
> > 
> > Thanks,
> > Nelson
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] ArcSDE 9.3 Support.

2008-09-30 Thread Steve Lime
My assumption is that if it is not specifically stated that something WON'T 
work with a particular
version then it probably will work. I'd say try it. I don't have that version 
handy or I'd do it myself.

Steve

>>> On 9/30/2008 at 12:06 PM, in message
<[EMAIL PROTECTED]>, "Nelson
Soto" <[EMAIL PROTECTED]> wrote:
> I have seen this question asked but have not found any answers; Is
> Mapserver capable of displaying and working with SDE 9.3??? The last
> noted version I can see is 9.2 and am curious as it is not explicitly
> labeled as not working on the MapServer website.
> 
>  
> 
> Thanks,
> Nelson

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users