I can't connect to a Navision Server from other machine

Tech-Archive recommends: Fix windows errors by optimizing your registry



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


.



Relevant Pages

  • Re: PHP and Navision C/ODBC
    ... 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 ... DSN is called 'NavisionDatabase'. ...
    (microsoft.public.sqlserver.odbc)
  • Re: Terminal Services Printing
    ... I have a problem with a HP1015, Terminal Server 2003 and Navision. ... The first problem was the installation of the printer. ... drivers of the page HP in the web, hp1015pcl5, now the printer is in the ...
    (microsoft.public.windows.terminal_services)