Solved

Authentication problem with Linked Server executing Stored Procedure from VB Script

Posted on 2014-03-15
3
352 Views
Last Modified: 2014-03-21
I am trying to execute a sp from vb script.  The sp uses a linked server open query.  The SP works fine on the sql server instance through sql manager but results in an authentication error from a remote or local execution of a vb script wherein the connection string authenticates fine to the server instance but fails on the sp with the linked server.  error rendered on vb script execution.   I have added the authentication for the sql database used in the connection string as  local server login to remote server login under the security tab in the linked server properties with out success.  security tab in linked server.  Any thoughts?

Thanks
0
Comment
Question by:wkrasner
  • 2
3 Comments
 
LVL 12

Expert Comment

by:jkaios
ID: 39932419
Could you post the code and possible the line that causes the error?
0
 
LVL 5

Accepted Solution

by:
wkrasner earned 0 total points
ID: 39932447
Thanks for the reply. I figured out the problem I had the remote and local authentication reveresed
0
 
LVL 5

Author Closing Comment

by:wkrasner
ID: 39944777
I figured it out on my own
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question