c/front and web services

leszek
leszek Member Posts: 3
Hello,

I'm using a .NET wrapper around cfront.dll (Microsoft.Navision.CFront.CFrontDotNet.dll) to access Navision from a .NET web service. It works like a charm as long as there is only one connection to the web service at any given time. When there are two or more simultaneous users accessing Navision, the web service crashes on the DBL_ConnectServerAndOpenDatabase method.

How can I use cfront.dll in a multiuser environment?

Thanks for any hints,
Leszek

Comments

  • leszek
    leszek Member Posts: 3
    I guess there is no easy solution to this problem or maybe I'm looking in the wrong direction.
  • nunomaia
    nunomaia Member Posts: 1,153
    Navision is a single thread application so it only processes one request at the time. One of the features you must provide in your .NET application is locking capability. So you should only allow a request at the time.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/