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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T15:16:53+00:00 2026-06-18T15:16:53+00:00

We are having an issue with a server that we linked to our sql

  • 0

We are having an issue with a server that we linked to our sql server 2012 instance.

The server that we linked through an odbc or oledb connection is Pervasive SQL.

Selecting from the linked server this way works as long as the result set is small:

select * from linked_server.database..mytable

If the result set is more than around 2mb (might be slightly more or less) then we get this error:

Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "MSDASQL" for linked server "KSLAP208" reported an error. The provider reported an unexpected catastrophic failure.
Msg 7330, Level 16, State 2, Line 1
Cannot fetch a row from OLE DB provider "MSDASQL" for linked server "KSLAP208".

However, the silly thing is that SSMS 2012 for instance displays all the columns that need to be returned and then immediatley errors out.

What would cause SSMS 2012 to produce an error on a result set that is too big? (more than 1-2mb)??

here’s what i see in the odbc administrator:

enter image description here

  • 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-18T15:16:54+00:00Added an answer on June 18, 2026 at 3:16 pm

    Option 1, disable pre-fetch

    Sometimes, disabling pre-fetch will solve problems like this.

    You can disable the prefetch by clearing the "Enable pre-fetch of data
    for queries" check box in the Performance tab when creating a DSN or
    adding "PREFETCH=0" to the connection string when creating a DSN-less connection.

    More on this:

    In the ODBC Data Source Administrator panel on the server, configure
    your linked server from System DSN. Under the Performance tab, uncheck
    the box ‘Enable pre-fetch of data for queries’. OK, OK. Delete and
    re-create your linked server in SQL Management Studio.

    Source

    Option 2, Allow inprocess

    • Go to Linked Servers
    • Providers
    • MSOLAP (or similar)
    • Properties
    • Make sure "Allow inprocess" is enabled. Even if it is, turn it off. Save. And then turn it back on. Sometimes resetting this can help.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're having an issue with SQL Server 2012 due to the lack of support
I appear to be having an issue on a SQL server that has recently
I am having some problems figuring out this issue. I have a server that
I am having an issue logging into a SQL Server 2000 Database via Windows
I am having an issue with the most simple command in SQL Server Management.
I'm having an small issue with SQLXML in SQL Server 2008. Here's my testing
We're having a weird issue with offering a file on our ASP.NET server. If
I'm having an issue with SQL Server, I have 2005 installed on my desktop
I'm having one issue with LINQ to SQL for Windows Phone (SQL Server CE).
I am using SQL Server 2005 and I am having an issue restoring my

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.