Solved

Authentication problem with Linked Server executing Stored Procedure from VB Script

Posted on 2014-03-15
3
351 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now