Solved

Authentication problem with Linked Server executing Stored Procedure from VB Script

Posted on 2014-03-15
3
348 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
Comment Utility
Could you post the code and possible the line that causes the error?
0
 
LVL 5

Accepted Solution

by:
wkrasner earned 0 total points
Comment Utility
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
Comment Utility
I figured it out on my own
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed

743 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

15 Experts available now in Live!

Get 1:1 Help Now