[mapguide-users] cannot connect to Oracle XE and 9.2 (using King Oracle provider)

Haris Kurtagic haris at sl-king.com
Mon Dec 11 03:58:04 EST 2006


Hi Shailesh,

 

Which version of King.Oracle provider Instant client or standard client
are you using ?

Do you have Oracle client installed also ?

It looks to me that "oracle" as you wrote is TNS name and not SID and
that will not work for instant client.

If oracle is your tns name than you use standard King.Oracle (if you
have Oracle client installed) than for Property "Service" you enter just
oracle.

 

We can connect on chat.

 

Haris

 

From: shailesh [mailto:shailesh at simplexindia.com] 
Sent: 9. december 2006 6:41
To: users at mapguide.osgeo.org
Subject: RE: [mapguide-users] cannot connect to Oracle XE and 9.2 (using
King Oracle provider)

 


I am using King Oracle provider ver 0.4.4 and NOT 0.5.1, 
I am able to connect Oracle with Munsys which uses map 3d 2006 and
FDO2FDO, eveything is fine on that end.

I am NOT able to connect MGOS to Oracle (both my setups, one with XE and
9.2). 

On my xe-MGOS installation i used //localhost/xe 
( xe as in your demo and could copy shp to xe using fdo2fdo)

On my 9.2-MGOS installation
I connect using //localhost/oracle , 
Username/password/schema MCITY93INT (Munsys sample schema which i can
pull/query in MAP 3d 2006) 



Haris , If you don't mind can you please spare 5-10 mins on the chat on
your site ? I think that should help me a lot. Kindly Oblige.
When are you usually available in the office or on chat. I had a chat
with Saso last week but that did not help me much. and i am still stuck
where i was 10 days back.





----- Original Message -----

From: Haris Kurtagic <haris at sl-king.com> <mailto:haris at sl-king.com> 

To: <users at mapguide.osgeo.org> <mailto:users at mapguide.osgeo.org> 

Cc: 

Date: Friday, December 8 2006 09:11 PM

Subject: RE: [mapguide-users] cannot connect to Oracle XE and 9.2 (using
King Oracle provider)

Hi Shailesh, 

I am out of office and not able to see .gif files but I will try to
help. 

Which version of provider are you using with Map? Latest (0.5.1) one is
not for Map just for MG OS 1.1 RC 1 (FDO 3.2). 
With MGOS 1.0.2 you should use 0.4.4 not 0.5.1 
That could explain why you are able to connect with Fdo2Fdo but not with
Map. 

With instant client you can use connection string like //machine/sid ,
for xe installation it should be like: //localhost/xe 

Haris 

________________________________ 

From: shailesh [mailto:shailesh at simplexindia.com] 
Sent: pet 12/8/2006 11:01 
To: users at mapguide.osgeo.org 
Subject: [mapguide-users] cannot connect to Oracle XE and 9.2 (using
King Oracle provider) 


Hi all, 
I have been getting the error 
**************************************************************** 
System.Net.WebException: The remote server returned an error: (559)
MgFdoException. 
at
Autodesk.MapGuide.Studio.Site.Comm.RequestManager.ExecutePendingGetReque
stToString(Operation operation) 
at
Autodesk.MapGuide.Studio.Site.Comm.RequestManager.TestConnection(String
resourceId, String provider, String connectionString) 
at Autodesk.MapGuide.Studio.Site.FeatureSourceInfo.TestConnection() 
at
Autodesk.MapGuide.Studio.UI.FeatureSourceEditors.TestConnectionControl.b
uttonTestConnection_Click(Object sender, EventArgs e) 

*************************************************** 
I have been getting the same error while connecting to oracle using king
oracle provider on different/independent setups that i have 

SETUP 1 - MY LAPTOP 

I have installed 
MGOS 1.0.2 
ORACLE 9.2 
Munsys - Munsys is a software which works on map3d and oracle spatial
data. 
Munsys comes with a demo data which I have installed . the dataset is
installed in oracle 9.2 
i can open and see the spatial tables. i can pull this data in map3d
2006 , query data etc 
so everything works fine on that end. now i have to pull the same
spatial map in MapguideOS 
(please chk the attached screenshots, i can query and reterive parcels )

following Haris's FLASH Demo 
I got FDO2FDO , king oracle provider instant client etc all setup as
instructed in the demo by haris 

now i Start Mapguide studio create a new data connection using King
oracle provider 
and enter the user name and password etc 
and the click Test Connection . and THAT IS WHERE I GET THE ABOVE ERROR 
(please chk the attached screenshots) 


SETUP 2 - MY DESKTOP 
I have installed 
MGOS 1.0.2 
ORACLE XE 

I USED FDO2FDO to copy my shp to oracleXE , I could do that sucessfully,

I crosschecked and the table was there in oracle database. 

Next I use Autodesk mapguide studio to try to connect to oracle xe (as
shown in haris's demo) using king oracle provider 
i still get the same error 
Can somebody please help me on this 


One thing that i could not understand in haris's demo was TNSNAMES step
for Instant client 
Can anyone please give me steps as to which file to edit and what to
insert for TNSNAMES 

I have been trying the same stuff again and again for past one week ,
but without any sucess 
Please help 


Thanks 
Shailesh 






--------------------------------------------------------------------- To
unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org For additional
commands, e-mail: users-help at mapguide.osgeo.org 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20061211/778f35a8/attachment.html


More information about the Mapguide-users mailing list