>Are you running the .EXE and the .APP from the same computer, under the same user account? If not, maybe it's a permissions or firewall issue.
>
>Also, some antivirus products real-time scan .EXEs, but probably don't do .APPs. You could try disabling real-time scanning to see if that makes a difference.
I changed the setting of the firewall on the machine with SQL Server such that it didn't block traffic coming across the LAN, and that solved the problem.
Thanks to everyone. :)