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 6388087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:14:06+00:00 2026-05-25T03:14:06+00:00

I have an Excel add-in that allows users to run queries against a SQL

  • 0

I have an Excel add-in that allows users to run queries against a SQL Server database and return the results directly to the spreadsheet. This works fine.

There is now a user in a satellite office who is connecting to our network (shared drive, etc.) through a VPN connection. When he uses the same spreadsheets that work for everyone in the main office, her gets the following error:

[DBNETLIB] SQL Server does not exist or access denied

What is really strange is that if you run an individual query, it works fine, but it seems like running many queries in succession makes the sheet crap out. It’s a little difficult to diagnose as the Excel add-in runs queries internally, possibly many of those. My theory is that when the DB server sees many successive queries come in from an IP that’s outside of the network, there’s a point at which it refuses to return more data.

Is there any validity to my theory?
Are there configuration changes I can make to the DB that will allow remote ODBC connections to work well?

  • 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-05-25T03:14:07+00:00Added an answer on May 25, 2026 at 3:14 am

    In case you are interested, the issue is that I was creating a server-side cursor, and the queries would always time out as you have to pay the network round-trip for each cell in the result set. It started working fine when I switched to a client-side cursor. This is all using ADO. I am in the process of switching to SQLApi++

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

Sidebar

Related Questions

I have an excel document that queries an SQL Database on button press. The
I have Excel add-in which I add so many class modules that it is
I have created an Excel 2003 add-in that uses the CLR 2.0 and this
We have an Excel 2002/XP based application that interacts with SQL 2000/5 to process
I have a Excel addin that displays some structures on the worksheet. Users can
I have a macro that add hundreds of lines of data to an excel
I have an excel add-in that keeps coming back when I start excel, even
I have an access 2007 Database that outputs a report in excel format, the
I have an Excel Automation Add-in that is registered with COM by my installer.
I am new to Active Directory. I have a VBA Excel Add-In that should

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.