Re: [pmapper-users] Mapscript connection to ArcSDE!
Brought to you by:
arminburger
From: Eric A. <eri...@bo...> - 2006-12-01 21:48:11
|
Thanks Armin! I installed my application on MS4W 2.2.1 running Pmapper 1.9.5. It seems = to be working fine on PhpMapscript 4.10 and POSTGIS 8.0! Now I get this error when working with SDE 9.1 layer! I know it's not your software... :)=20 ERROR: Warning: [MapServer Error]: msSDELayerOpen(): SE_connection_create(): Operation Failed. (-1) in C:\p4_eric\projects\relocengine\projects\Akyem\main\carto\pmapper2\incphp= \in itgroups.php on line 229 I checked my connection string... and it seems OK! I suspect the DATA string! I double check my SDE layer with ArcExplorer, and I can see it! SDE.DBO.ERIC Here's my Mapfile layer. ... LAYER NAME "MineInfra" TYPE POLYGON STATUS ON CONNECTION "localhost,port:5151,sde,sa," CONNECTIONTYPE SDE DATA "SDE.DBO.ERIC,shape," FILTER "where shape is not NULL" CLASS TEMPLATE void NAME "Phase 1" COLOR 150 185 255 OUTLINECOLOR 110 110 110 END END # LAYER QUESTIONS: The link you gave me, http://maptools.org/ms4w/index.phtml?page=3DREADME_INSTALL.html#sde-9-1 THEY SAY: 1- Make sure the ArcSDE SDK dlls for 9.1 are available on your machine (the same machine that you are running MS4W on).. -Q: Should I copy all those Dlls to a specific MS4W dir? I appreciate your time on this! -Eric =20 -----Message d'origine----- De=A0: Armin Burger [mailto:arm...@gm...]=20 Envoy=E9=A0: 30 novembre 2006 16:54 =C0=A0: Eric Allard Cc=A0: pma...@li... Objet=A0: Re: [pmapper-users] Mapscript connection to ArcSDE! You should try it with the latest ms4w version from maptools.org (you=20 will need to change all your MS and PHP related libraries to be sure it=20 works, so MS 4.10 and PHP 5.2). Seems like they have support for SDE =3D> = http://maptools.org/ms4w/index.phtml?page=3DREADME_INSTALL.html#sde-9-1 armin Eric Allard wrote: > Hi! All! >=20 > After trying the following SDE layer connection, I get the following error: >=20 > Warning: [MapServer Error]: msSDELayerOpen(): SDE support is not available. > in > C:\p4_eric\projects\relocengine\projects\Akyem\main\carto\pmapper2\incphp= \in > itgroups.php on line 229 > =20 > My setup: > -Windows XP > -MSSQL 2000 > -ArcSDE 9.1 (As a service) > -Apache 2.0.X > -PHP 5.0.5 > -Pmapper 1.9.5 > -php_mapscript_46.dll (Loaded at PHP start) >=20 > My Mapfile connection: > CONNECTION "localhost,port:5151,sde,sa,''," > CONNECTIONTYPE SDE > DATA "SDE.DBO.ERIC,LAYER,SDE.DEFAULT" >=20 > Question: > 1. How do I link the phpmapscrip.dll to use sde91.dll (Or other needed srv)? >=20 >=20 > Link to the phpmapscrip46 used: > - Binary Packages - Win32 > - mapserver-4.6.1-win32-php5.0.5.zip ~16 MB > = http://www.maptools.org/php_mapscript/index.phtml?page=3Ddownloads.html >=20 > Thanks! > -Eric=20 >=20 --=20 Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: = 2006-11-22 =20 --=20 Internal Virus Database is out-of-date. Checked by AVG Free Edition. Version: 7.1.409 / Virus Database: 268.14.13/546 - Release Date: = 2006-11-22 =20 |