Attention: We are retiring the ASP.NET Community Blogs. Learn more >

Running IPSwitch WS_FTP on Windows Server 2003 SP1 - Data Execution Prevention (DEP)

I had a problem running WS_FTP (http://www.ipswitch.com/products/ws_ftp/index.asp) on my Windows Server 2003 machine with SP1.  Whenever I would start an FTP transfer the application would crash.  Finally I figured out it was Data Execution Prevention that was preventing it from running.  Data Exection Prevention monitors your programs to determine if they use system memory safely. To do this, DEP software works alone or with compatible microprocessors to mark some memory locations as "non-executable." If a program tries to run code—malicious or not—from a protected location, DEP closes the program and notifies you. [REFERENCE: WINDOWS HELP]

DEP can be found under System Properties > Advanced Tab > Performance Settings > Data Execution Prevention Tab

Allowing WS_FTP in the above dialog solved the problem.

3 Comments

  • Something else to try if you are still getting the "Never!" error when trying to execute the program.

    Simply rename psapi.dll to psapi.dll.old in the Program Files/Ipswitch/WS_Ftp Professional folder.

    Then fixed.

  • Jeff - Awesome! This was the cause of a lot of lost sleep over the past week. The WSFTP utiltiy was consistantly failing on some jobs and successful on others.

    Thanks!


  • ... by renaming psapi.dll to psapi.dll.old in the Program Files/Ipswitch/WS_Ftp Professional folder solve that error.

    Thanks Chris.

Comments have been disabled for this content.