First (as Ignacio pointed out) check that the relevant CLR is installed
correctly.
To me this sounds like either a plain bug in the code (perhaps using a Win32
API that doesn't exist in Win2K), or a missing dependency (or similar); when
you say "simple C# app", have you tried deploying an application like the
following?
public class MainClass {
static void Main(string[] args) {
System.Windows.Forms.MessageBox.Show("Hello world");
}
}
If the above deploys and executes, then I'm afraid there isn't enough
information in your post to guess at what is happening. Assuming the JIT-box
doesn't already provide it, you could try putting some exception handling
into your main method, and display the actual exception details for
debugging? My guess: a missing (reference) dependency.
Marc
"Richard Mintz" <Ri**********@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.com...
runtime version 1.1; deployment project vs.net
Just in time debugging error.
Test on a XP machine without runtime, installed runtime 1.1 worked without
issue.
Thanks
"Marc Gravell" wrote:
I'm not promising to help, but: what specific runtime error? What version
of
the runtime? (1.1, 2, ...?) What deployment method? (msi, ClickOnce, ...
?)
Marc
"Richard Mintz" <Ri**********@discussions.microsoft.com> wrote in message
news:65**********************************@microsof t.com... > Hi,
>
> I am trying to deploy a C# application to a Windows 2000 machine. When
> I
> try
> to run the app after the install i get a runtime error. the setup works
> on
> both
> XP and windows 2003 server machines.
>
> Any Ideas
>
> Thanks for your help
>