Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Authentication problem with Linked Server executing Stored Procedure from VB Script

Posted on 2014-03-15
3
Medium Priority
?
357 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

610 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