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: Error Searching a Directory
Topic Summary:
Created On: 06/27/2012 01:31 PM
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/27/2012 01:31 PM
User is offline View Users Profile Print this message

Author Icon
BrianPearson
Expert (100-199)

Posts: 149
Joined: 04/08/2005

I have a pretty simple script that checks a directory for files with a .failed extension, it sends an email and renames them.

I'm doing it on 3 different machines, that in turn are each checking a mapped drive.

It had been running for a long time, everything working well, then suddenly stopped. I've checked to make sure the drive is still mapped, and it is, I can access the l: drive on both cmd line and windows and see the files.

The error is: Could not determine current location. (step 7)


 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)
 06/28/2012 11:18 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Brian,

Does this occur through both Task Builder and Task Administrator? Does the task run in the background or as a logged on user? Mapped drive letters are user logon specific and would not be recognized if executed in the background. We always recommend UNC paths over mapped drive letters because it removes an extra layer of complexity that you would need to account for.






 Category Survey
AutoMate BPA Server 8 version:
Windows version:


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

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 06/28/2012 04:25 PM
User is offline View Users Profile Print this message

Author Icon
BrianPearson
Expert (100-199)

Posts: 149
Joined: 04/08/2005

It's an agent, so it's not running on builder. It runs in the background as logged on user. It used to work, and just stopped.

I'll try UNC

 Category Survey
 06/28/2012 04:46 PM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Brian,

When the workstation is logged on, you can only either run as logged on user or run in the background as a specified user. If you are running it in the background with a mapped drive letter, then that may be your culprit. Let us know if the UNC path demonstrates the same issue and we will troubleshoot from there.





 Category Survey
AutoMate BPA Server 8 version:
Windows version:


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

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
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 2503 guests browsing this forum, which makes a total of 2503 users using this forum.

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

Sitemap Network Automation Software Blog