471,305 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

TROUBLE DEPLOYING SIMPLE C# APP TO WINDOWS 2000 Machine

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

Nov 30 '05 #1
5 2054
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

Nov 30 '05 #2
Hi,
My bet is taht you do not have the framework installed

cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"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

Nov 30 '05 #3
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


Nov 30 '05 #4
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
>


Nov 30 '05 #5
thanks Marc,

I caught the exception, You need to have MDAC version 2.6 or greater to use
the SqlClient namespace. That was my problem.

I Appreciate your help,

Rich
"Marc Gravell" wrote:
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
>


Nov 30 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Malcolm Webb | last post: by
2 posts views Thread by slip | last post: by
3 posts views Thread by Rachel | last post: by
6 posts views Thread by Daniel Walzenbach | last post: by
3 posts views Thread by Christian Nunciato | last post: by
5 posts views Thread by kimtherkelsen | last post: by
3 posts views Thread by =?Utf-8?B?eWtmZmM=?= | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.