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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:23:50+00:00 2026-06-17T05:23:50+00:00

I have SQL Server 2012 full version installed on my standalone non-networked development PC

  • 0

I have SQL Server 2012 full version installed on my standalone non-networked development PC running Windows 7 x-64. Let’s say FOO is the name of my PC, and my SQL Server named instance is FOO\SQL2012.

I am trying to follow the examples here, which show how to create a new temporary table using a stored procedure as the source of the data.

I would like to execute either of these queries, but am getting the errors shown.

   SELECT * into #temp FROM OPENQUERY("FOO\SQL2012", 'exec MySchema.MyStoredProc')

   **ERROR: Server 'FOO\SQL2012' is not configured for DATA ACCESS.**

or this query:

  SELECT * INTO #temp FROM OPENROWSET('SQLNCLI', 'Server=(local)\SQL2012;Trusted_Connection=yes;',
 ' EXEC MySchema.MyStoredProc')

 **ERROR: Msg 11529, Level 16, State 1, Procedure sp_describe_first_result_set, Line 1

The metadata could not be determined because every code path results in an error; see previous errors for some of these.**

How would I configure the SQL Server instance to allow the currently authenticated user, whoever it may happen to be, to use OPENROWSET, OPENQUERY against the local instance?

Are separate versions of these queries required for users who have authenticated via Windows and for those who have authenticated via SQL Server?

  • 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-17T05:23:51+00:00Added an answer on June 17, 2026 at 5:23 am

    You should only need to do this once per linked server (and I recommend either always referencing FOO\ or always referencing (local)\ … be consistent!).

    EXEC sp_serveroption 'FOO\SQL2012', 'DATA ACCESS', 'true';
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have SQL Server 2012 full version installed on my development PC. I am
We have some full text searches running on our SQL Server 2012 Development (Enterprise)
I have sql server 2012 express and just installed the latest version of ssms
I have installed the following components of SQL Server 2012: management tools - complete
I am getting this error and I have SQL Server 2012 installed anyone know
I use SQL Server 2012 Express. This version doesn't have a profiler (preview query
I have the full Visual Studio 2010 (not express) installed, with SQL Server that
We have an issue upgrading to SQL Server 2012. I am using the following
I have SQL Server Express and Visual Studio Web Developer Express running on my
I have SQL Server 2012 Database. There are two SPs one with string type

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.