473,226 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,226 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 2139
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Malcolm Webb | last post by:
Hello All, I had some considerable help from people in this forum a log while ago whilst developing a databse for use in our business. The database has developed beyond my wildest dreams over...
2
by: slip | last post by:
Can I deploy a C# executable on a machine running Win 2000 that doesn't have the .net framework on it??
3
by: Rachel | last post by:
Hi, I am using the data access application block successfully in our development environment, however when I deploy to our testing server as Private Assemblies I keep getting the following ...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
0
by: sbambati | last post by:
Hi All This is to clarify the problem that we are facing while deploying the .Net Components in Windows XP. We have compiled our VB.Net components in Visual Studio .Net 2002 (Framework 1.0)...
3
by: Christian Nunciato | last post by:
Hi there: I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I run the app on my local machine, using the built-in Web server, I have no problems, but deploying the site...
4
by: Bragadiru | last post by:
Hi all, Where can I find how to deploy a xml web service, build with .NET Framework 2.0 ? For Windows 2003 Server (IIS 6.0) or Windows XP Professional (IIS 5.1). I found only Win 2003 Server...
5
by: kimtherkelsen | last post by:
Hi, I use the System.Data.OleDb.OleDbConnection class to establish a connection to a Oracle 10G database. The dsn connection string I use look like this: dsn=provider="MSDAORA.1";User...
3
by: =?Utf-8?B?eWtmZmM=?= | last post by:
I try deploying a very simple (very simple indeed) Vb.net application by following the basic steps according to some tutorials. My pc runs Visual Studio 2005 and it reports "Build successful"...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
by: jimatqsi | last post by:
The boss wants the word "CONFIDENTIAL" overlaying certain reports. He wants it large, slanted across the page, on every page, very light gray, outlined letters, not block letters. I thought Word Art...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

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.