"Hello World" like application won't run on another PC

E

eljainc

Hello,

I am having a problem. I have developed a couple of small apps using
Visual Studio 2005 C#. I am to the point where I want to test the app
on another machine. I copied it across the network to the target. When
I run the app I get a message saying

"WindowsApplication1 has encountered a problem and needs to close. We
are sorry for the inconvenience."

I even tried a hello world app with simply a form and a button. The
same thing happens. I installed dotnetfx.exe on the target machine to
ensure that it has .NET 2.0 Framework.

What else could the problem be?

Thanks.

Mike McWhinney
elja, Inc.
 
C

Cor Ligthert [MVP]

Eljaninc,

Why not try a complete real Hello World application, than we know what code
you are using?

Cor
 
M

Marc Gravell

Possibly trust issues; are you running it from a network area, or from
a local drive on the target?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top