Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8482661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:52:37+00:00 2026-06-10T19:52:37+00:00

A C++ point of sale application using ADO to connect to a default instance

  • 0

A C++ point of sale application using ADO to connect to a default instance of SQL Server is failing when the application is used on a tablet PC with a wireless card for networking.

The application works fine on the tablet when a LAN cable is connected.

The testing people discovered that another server application that uses SQL Server was having a similar problem until they changed the settings to use Shared Memory connection to the SQL Server instance rather than TCP connection.

The connect string that we are using is as follows:

"Provider=MSDASQL;DRIVER={SQL Server};SERVER=(local);DATABASE=%s;UID=; Password=;"

Reading this web page, it appears that in order to use shared memory connections, the SERVER=(local) keyword needs to specify SERVER=lpc:(local) however I am not sure of that.

The web page is SqlConnection.ConnectionString Property From Microsoft MSDN

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:52:38+00:00Added an answer on June 10, 2026 at 7:52 pm

    After making the change to the connect string for both point of sale application and the inventory application to use the SERVER=lpc:(local) keyword/value, the test team is no longer seeing a problem when the wireless cell card is being used.

    So the lpc: forces the use of shared memory.

    See also this question on ADO Error 16389.

    Addendum for another component of the solution (Oct-24-2016)

    In the field sites that are using our point of sale we are also using Datacap Systems NETePay server to process Electronic Payment Transactions.

    Due to the customer making a point of sale configuration error, since corrected, we recently discovered that the NETePay server ran into a similar problem. The XML response from the DSI Client-X control was an “Error” with an error code of 001501 and an error text that began “Database Error During ScratchWrite”.

    Remembering this problem and the solution we modified the settings for the Datacap Systems SQL Server instance, changing “Protocols for DATCAPINSTANCE” by changing TCP/IP from “Enable” to “Disable”. After making this change the customer is no longer seeing the error.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a point of sale application using WPF with MVVM. One of
I need to develop a point of sale app that will be used on
I've written a small (8-10 laptops) point-of-sale system running over a wireless network, as
I have a simple point of sale application written in ruby and rails, and
I am developing a POS (Point of Sale) application which should be able to
is wpf (technology) based interface is good for Point of Sale application? my fears
I'm trying to use code-first on an existing Point-Of-Sale kiosk application. This is a
I've recently purchased a Star Micronics TSP100 Printer for my Point of Sale application
We have a point-of-sale application and in this application we have a scrollbox container.
i am developing a POS(point of sale)application.i am able to print successfully with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.