By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,572 Members | 946 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,572 IT Pros & Developers. It's quick & easy.

TROUBLE DEPLOYING SIMPLE C# APP TO WINDOWS 2000 Machine

P: n/a
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
Share this Question
Share on Google+
5 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.