Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Post messages and questions related to Automation Software here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2010, 01:02 AM
sudhiryes sudhiryes is offline
Junior Member
 
Join Date: Apr 2010
Posts: 2
Post Not able to Run Stored Procedure in SQL Server from AA

Hi,

I am using Automation Anywhere 5.0.
I tried to connect to the SQL Server using the following connection String
---------------------------------------------------------------------------
Provider=SQLOLEDB.1;Password=servion123;Persist Security Info=True;User ID=AA;Initial Catalog=TestDB;Data Source=172.42.173.240;Network Address=172.42.173.240;Application Name=Automation Anywhere 5.0.
----------------------------------------------------------------------------
I have a few stored procedures that i need to call.i used "Run Stored Procedure".But i am getting the following error when i run the Task
"The Connection Cannot be used to perform this operation.It is either closed or invalid in this context"

Note: The connection is not closed.I am able to execute SQL queries in the same place but not stored procedures.

Please help me out!!!
Reply With Quote
  #2 (permalink)  
Old 04-02-2010, 10:00 AM
forumsupport forumsupport is offline
Senior Member
 
Join Date: Apr 2007
Posts: 1,342
Default

Hello,

Can you please upload the task that you have created so far so we can have a look.

You can locate your task by selecting your task from Task List, right clicking that particular task and selecting 'Locate on disk' from context menu.

It would help us investigate further.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 10:00 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved