ORA-12541: TNS:no listener on dotConnect Oracle Mobile
Posted: Sat 31 Oct 2009 13:08
Hi All,
I have just downloaded the trial dotConnect Mobile. Following is my setup
Visual Studio 2008
WM5,6 SDK
Oracle Express 10g
I created a test SmartClient in C#
Following are my steps
Created a OracleConnection
Using the existing database HR in Oracle XE 10g i gave the username as SYSTEM and password with the server as localhost and also tried with 127.0.0.1 (both connections are successful). I am not providing any Sid.
Create a OracleDataAdapter
I created a Select statement by chosing OracleDataAdapter Task and then the 'select text'. Preview shows the right info.
Then I drag and drop a DataGrid on the the CS Form.
Then i create the OracleDataTable and do the same as Oracle Data Adapter. The preview shows the data correctly.
Then I give the datagrid a datasource as the oracleDatatable and make it active.
In my form I can see the data.
Now compile and start the debugging. I use the device emulator to cradle and then while loading it shows this error as
ORA-12541: TNS:no listener
I used lsnrctl start Listener on cmd to start the listener but no effect.
Any help or sample code or procedures much appreciated.
Thanks
Regards
Trushar
I have just downloaded the trial dotConnect Mobile. Following is my setup
Visual Studio 2008
WM5,6 SDK
Oracle Express 10g
I created a test SmartClient in C#
Following are my steps
Created a OracleConnection
Using the existing database HR in Oracle XE 10g i gave the username as SYSTEM and password with the server as localhost and also tried with 127.0.0.1 (both connections are successful). I am not providing any Sid.
Create a OracleDataAdapter
I created a Select statement by chosing OracleDataAdapter Task and then the 'select text'. Preview shows the right info.
Then I drag and drop a DataGrid on the the CS Form.
Then i create the OracleDataTable and do the same as Oracle Data Adapter. The preview shows the data correctly.
Then I give the datagrid a datasource as the oracleDatatable and make it active.
In my form I can see the data.
Now compile and start the debugging. I use the device emulator to cradle and then while loading it shows this error as
ORA-12541: TNS:no listener
I used lsnrctl start Listener on cmd to start the listener but no effect.
Any help or sample code or procedures much appreciated.
Thanks
Regards
Trushar