In a C#, VS2012 project, I am getting the error, on the client's machine, "application has failed to start because the application configuration is incorrect"

My development environment is VS2012 on a Win7 machine.  My client is running XP.

I have an existing solution with an executable and 4 DLLs.  It is built on the 3.5 framework.  It has been running for years and was last touched about 7 months ago.

I made a change today in the exe and 1 DLL (changing an ftp client to use ftps instead of ftp).  

The solution runs fine from the development environment, and the exe runs fine from the bin/release folder on my machine.

When I copied the exe and the DLL to my client's environment, not only did I get the message shown in the title, the client's antivirus deleted the executable and the shortcut to it.

What could be going on?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

AndyAinscowFreelance programmer / ConsultantCommented:
>>not only did I get the message shown in the title, the client's antivirus deleted the executable and the shortcut to it.

Have you run an anti-virus check on your development PC ?  (Preferably the same AV software).
(What happens if you disable the AV on the client PC / use a different AV software? )

ps.  I hope you haven't changed the .net target, 4.5 or later does not run on XP.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
g_johnsonAuthor Commented:
Much to my surprise, turning off the AV did the trick.  Thanks.
AndyAinscowFreelance programmer / ConsultantCommented:
Sometimes an AV errs on the side of caution, I've seen odd behaviour/messages at times because of over active AV apps.
On the client PC an AV ought to be running, maybe one can put your app in to an 'exception software pool' if the AV allows specific apps to be excluded from checking.  If that isn't possible consider an alternative AV software.  (The 'best' is often only that for a month or two until one of the other suppliers finds a new tweak to bring that to the top for a short while....)
Introduction to Web Design

Develop a strong foundation and understanding of web design by learning HTML, CSS, and additional tools to help you develop your own website.

g_johnsonAuthor Commented:
Well, here's what's really strange.  Keep in mind that the app has been running on the client's machine for years, and this was just a tweak to it.  So, we installed the change and tested.  Then we turned the AV back on, and everything is fine.  I sure can't explain it!
AndyAinscowFreelance programmer / ConsultantCommented:
Could easily be a later update (or virus definition package) to the AV has been silently installed and sorted it out.  At least it is now working.  :-)
g_johnsonAuthor Commented:
True -- thanks again.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.