Hi

I'm developing a hotel booking system, an ASP.NET frontend to C5 3.0. I'm having
difficulties connecting to C5 through ODBC.

I'm using .NET Framework v1.1 and therefore the System.Data.Odbc Namespace.
I'm using the C5ODBC driver for C5 3.0 and have tested it succesfull for for
instance Microsoft Excel.

When the I call the Open() method on the OdbcConnection the application "stalls"
, that is the browser keeps on loading and loading.

The data source is a System DSN using the C5ODBC driver. Data sourse settings:
Datafile: c:\program files\microsoft navision\c5\c5data.dat
Additional Parameters: c:\program files\microsoft navision\c5\
.. and the rest is by default

Could have something to with the authorization-schema in .NET (forms, windows,
etc.)? Or could it be something to do with my config files?: web.config,
machine.config. I have not changede any of them.

Is it even know to be possible to connect to C5 from ASP.NET? If the above
approach is incorrect or there exists a better way please advice.

In case this mail has reached the wrong place for this type of problems, could
you please redirect it to someone who could assist me, or some place to find
information, please (and please notify me as well). I have searched through
newsgroups, asp.net forums, and have not been able to find anything.

Best regards
Michael Bøcker-Larsen
Aalborg University, Denmark

Re: Navision C5 and ASP.NET (ODBC) by CT

CT
Thu Jul 10 01:42:12 CDT 2003

Can you get the ODBC connection to work from a Windows application? Do you
not get a timeout exception?

--
Carsten Thomsen
Enterprise Development with Visual Studio .NET, UML, and MSF
http://www.apress.com/book/bookDisplay.html?bID=105
"Michael Bøcker-Larsen" <michael@mblarsen.dk> wrote in message
news:HMYOa.7451$Ku.1326@news.get2net.dk...
> Hi
>
> I'm developing a hotel booking system, an ASP.NET frontend to C5 3.0. I'm
having
> difficulties connecting to C5 through ODBC.
>
> I'm using .NET Framework v1.1 and therefore the System.Data.Odbc
Namespace.
> I'm using the C5ODBC driver for C5 3.0 and have tested it succesfull for
for
> instance Microsoft Excel.
>
> When the I call the Open() method on the OdbcConnection the application
"stalls"
> , that is the browser keeps on loading and loading.
>
> The data source is a System DSN using the C5ODBC driver. Data sourse
settings:
> Datafile: c:\program files\microsoft navision\c5\c5data.dat
> Additional Parameters: c:\program files\microsoft navision\c5\
> .. and the rest is by default
>
> Could have something to with the authorization-schema in .NET (forms,
windows,
> etc.)? Or could it be something to do with my config files?: web.config,
> machine.config. I have not changede any of them.
>
> Is it even know to be possible to connect to C5 from ASP.NET? If the above
> approach is incorrect or there exists a better way please advice.
>
> In case this mail has reached the wrong place for this type of problems,
could
> you please redirect it to someone who could assist me, or some place to
find
> information, please (and please notify me as well). I have searched
through
> newsgroups, asp.net forums, and have not been able to find anything.
>
> Best regards
> Michael Bøcker-Larsen
> Aalborg University, Denmark
>