CFRONT With SQL Server

waynewil
Member Posts: 41
I'm trying to use CFRONT with Delphi against SQL-Server version of Navision.
My problem is that the ConnectServerandOpenDatabase function requires a net type parameter of one of the four following values:
Default
Use the default Net Type.
Named Pipes
Use Named Pipes.
TCP/IP Sockets
Use TCP/IP Sockets.
Multiprotocol
Use Multiprotocol.
Unfortunately, a call to this function rejects the use of the last three options because they exceed 10 characters. A call to "Default" prompts the system to look for a nc_Default.dll, which does not exist.
Any ideas?
Waynewil
My problem is that the ConnectServerandOpenDatabase function requires a net type parameter of one of the four following values:
Default
Use the default Net Type.
Named Pipes
Use Named Pipes.
TCP/IP Sockets
Use TCP/IP Sockets.
Multiprotocol
Use Multiprotocol.
Unfortunately, a call to this function rejects the use of the last three options because they exceed 10 characters. A call to "Default" prompts the system to look for a nc_Default.dll, which does not exist.
Any ideas?
Waynewil
0
Comments
-
Why you using CFront ? use OLE DB it's faster.0
-
There is a special cFrontSQL.dll in the CFRONT directory on my computer. There are the same functions inside, but this is designed for SQL Server connection and works perfect on my workstation.0
-
Thanks, but I've long since moved on to a combination of using MSMQ and/or talking to SQL Server directly.
Waynewil0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions