Problem using Cute FTP automation
AntHillMob
Member Posts: 79
I have seen numerous posts of people using CuteFTP with automation with NAV so I am hoping that someone can shine some light on a strange problem I am having.
I have a fairly simple codeunit that uploads a file using Cute FTP automation. If we run the codeunit directly it works correctly, however if the codeunit is run from NAS or using the Job Scheduler it fails and I get the following error in the event log:
It did work running under NAs fine for a while. NAs was running user the same system account as was used when running manually.
Any pointers much appreciated.
I have a fairly simple codeunit that uploads a file using Cute FTP automation. If we run the codeunit directly it works correctly, however if the codeunit is run from NAS or using the Job Scheduler it fails and I get the following error in the event log:
Event Type: Information Event Source: Application Popup Event Category: None Event ID: 26 Date: 28/03/2011 Time: 11:39:14 User: N/A Computer: ------- Description: Application popup: Microsoft Visual C++ Runtime Library : Runtime Error! Program: C:...
It did work running under NAs fine for a while. NAs was running user the same system account as was used when running manually.
Any pointers much appreciated.
0
Comments
-
Event Source: Application Popup
Looks like the GUI thread was called, that is not allowed from NAS.0 -
To clarify, NAS is running as a windows service which doesn't have access to the GUI.
If you run by NAS and using an object that uses an Automation or OCX that tries to access the GUI an error will occur.
You need to check if there are properties in the class to disable all prompting using GUI.
But I can't say this is the problem for you.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 117 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 333 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions