Use CFRONT with ASP.NET on a 64 bit machine

TysAGPTysAGP Member Posts: 14
Hi Everyone,

We have developed a web application that uses CFRONT to communicate with NAV 5.01. Everything worked well within the 32bit development environment. But now i have moved things to a new Windows 2008 64 bit server and there seems to be a problem with the .NET web application (running on IIS) in combination with the CFRONT libraries.
I'm reading some articles on the web saying that 64 bit computers cannot communicatie with 32 bit COM libraries. But i'm still hoping that there is a way to get this up and running.
Does someone here have any experience with running CFRONT apps on a 64bit platform? If so, can you help me to get my application running?

Best Regards,
Tys

Comments

  • ara3nara3n Member Posts: 9,256
    I suggest as a backup plan to move your solution using web service and doing an exe upgrade. But I'm guessing you are on c/side instead of sql.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • gvolkovgvolkov Member Posts: 196
    Some time ago i had this issue when some addon wouldnt work on a 64bit machine. The fix ended up to be a simple registry edit. I do not remember what it was, but this could point you in the right direction.
    Microsoft Certified Technology Specialist
    Microsoft Certified Business Management Solutions Professional
    Microsoft Certified Business Management Solutions Specialist

    http://www.navisiontech.com
  • TysAGPTysAGP Member Posts: 14
    Now i'm reading this on another forum about a product that communicates with NAV through CFRONT.
    https://openmind.scribesoftware.com/topics/scribe-does-not-work-with-nav-when-scribe-is-insta#top
    At this point it seems pretty clear that CFRONT is not going to work in a 64 bit environment.

    Moving to web services is not really an option as we are still working on NAV 5.01. And it would make it a lot more expensive as well.
    We are working with SQL server, not c/side. So i'm thinking about writing straight to those SQL tables if there is no other solution.

    Did some searching but couldn't find anything about changing registry values to make 32 bit components work on a 64 bit server.
  • DuikmeesterDuikmeester Member Posts: 304
    I am using CFRONT.NET library without any problem on Windows 7 64bit environment...
    Also a connection from SharePoint 2010 can be made without problems.

    Dont have any suggestions on fixing your problem.
  • ara3nara3n Member Posts: 9,256
    All you are doing is exe upgrade. (uninstall 5.01 and install 2009), I don't know why that is something expensive.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • KarlRhodesKarlRhodes Member Posts: 37
    Did you ever get to the bottom of this?

    I'm trying to write my own web services that make use of CFront to connect to Navision 5.0

    While I can get a desktop application to work ok, I cant get the web services to recognise Cfront properly. As soon as I try to use it I get the following error...

    Microsoft.Navision.CFront.CFrontException: The Navision CFront initialization failed, with following error: . Please verify that CFront.dll/CFrontsql.dll are available and located in the directory where the application is started.
Sign In or Register to comment.