473,385 Members | 1,908 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,385 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 2143
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"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.