Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Excel session name problem
Topic Summary:
Created On: 06/19/2014 05:09 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 06/19/2014 05:09 AM
User is offline View Users Profile Print this message

Author Icon
JohnFarrell
Student (5-19 posts)

Posts: 7
Joined: 06/04/2014

One of our workflows was running under an certain Active Directory account, which was disabled a few days ago. We changed the workflow to use a different AD account, but now it always fails with the following error:

"Task: XXXXXX at Step #41: Session name is already in use."

The step number referenced is the first instance of an Excel-related action in that task, so it's not in use from earlier in the task. There are Excel-related actions in other tasks within the workflow, but none use the same session name.

Is it possible that the session name was somehow left open when the AD account was deactivated? If so, is there a way to purge open Excel session names from BPA? We're really trying to avoid reactivating the old AD account.

We have already tried restarting the server on which BPA is running, but nothing has changed. This suggests the open session is stored somewhere, but I can't find any reference to it in the database.



 Category Survey
AutoMate BPA Server 7 version: 7.1.3
Windows version: Windows 2003
 06/19/2014 07:10 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi John,

Sessions created in a task within a workflow are only valid for that task. Once the task completes, the session is destroyed. Would it be possible to export your workflow and attach the .ampkg file to your reply? We can then review the process and determine what is causing the error message.




 Category Survey


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 06/19/2014 09:08 AM
User is offline View Users Profile Print this message

Author Icon
JohnFarrell
Student (5-19 posts)

Posts: 7
Joined: 06/04/2014

Leonard,

I'm thinking that the task might not have exited cleanly if the original AD account was disabled while it was running. Without a clean exit, the Excel session might have been left open.

In any case, we tried a third AD account, which worked. When we changed it back to the first replacement AD account, the error no longer occurred. We'll keep an eye on it, but for now it seems to have been fixed.



 Category Survey
AutoMate BPA Server 7 version: 7.1.3
Windows version: Windows 2003
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1310 guests browsing this forum, which makes a total of 1310 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog