I can't connect to a Navision Server from other machine
- From: "Jasperinho" <jasperinho@xxxxxxxx>
- Date: Wed, 05 Oct 2005 10:28:55 GMT
Hello!
I'm trying to connect to a Navision native data base from other machine.
I have installed the Navision server, associating it to the demo database
that Navision give us in the installation.
In my machine, I have installed the C/ODBC Navision driver associated to
that server and the Cronus USA company. DSN is called 'NavisionDatabase'.
I think all is ok here.
The problem comes trying to connect with PHP:
$con=odbc_pconnect('NavisionDatabase','','',SQL_CUR_USE_ODBC);
if ($con) echo "<br>Perfect";
else echo "<br>Fails";
It doesn't warning me anything, no text is displayed in the screen... simply
the browser keep trying to show the page, but nothing else matters...
If i change the name in the PHP call, i.e.:
$con=odbc_pconnect('Navision','','',SQL_CUR_USE_ODBC);
it fails, and shows me a warning saying that it couldn't found the DSN... so
in first sentences is not a problem about de DSN... is another thing, i
think.
I have tryed to access from and to several machines, inside or outside the
local network.
Could it be a permissions problem? I don't know exactly how works the
licenses system in Navision, but i have tryed to import the license from de
Navision server without success.
Can you help me? Thanks very much in advance.
Bye.
Jasperinho
.
- Prev by Date: Re: Incorrect number of parameters, expected 2.
- Next by Date: Re: Missing System DSN
- Previous by thread: Re: Incorrect number of parameters, expected 2.
- Next by thread: Re: Missing System DSN
- Index(es):
Relevant Pages
|