XCopy Deployment???

  • Thread starter Alan M Dunsmuir
  • Start date
A

Alan M Dunsmuir

Having completed the development of a VB Windows Form application using
VB.NET 2003, I have attempted to install it on my back-up machine, which
I recently upgraded to WinXPPro SP2, but which has not had VS.NET
installed on it.

I did this by simply copying directly the entire packet of directories
associated with the application to the target machine.

When I attempt to launch the .exe file in either the Debug, the Release
or the bin folders, I get the same error message:

"The application failed to initialize properly (0xc0000135). Click on OK
to terminate the application."

What is causing this?

What am I doing wrong?

How do I avoid this problem when installing the application on other
machines?
 
K

Ken Tucker [MVP]

Hi,

You have to install the dotnet framework on the target machine.

Ken
----------------
Having completed the development of a VB Windows Form application using
VB.NET 2003, I have attempted to install it on my back-up machine, which
I recently upgraded to WinXPPro SP2, but which has not had VS.NET
installed on it.

I did this by simply copying directly the entire packet of directories
associated with the application to the target machine.

When I attempt to launch the .exe file in either the Debug, the Release
or the bin folders, I get the same error message:

"The application failed to initialize properly (0xc0000135). Click on OK
to terminate the application."

What is causing this?

What am I doing wrong?

How do I avoid this problem when installing the application on other
machines?
 
H

Herfried K. Wagner [MVP]

Alan M Dunsmuir said:
"The application failed to initialize properly (0xc0000135). Click on OK
to terminate the application."

What is causing this?

Are you sure the .NET Framework is installed on that machine?

..NET Framework Version 1.1 Redistributable
<URL:http://msdn.microsoft.com/netframework/downloads/framework1_1redist/>

You may want to install it as part of your application's setup:

Deploying the .NET Framework in a setup package
<URL:http://dotnet.mvps.org/dotnet/faqs/?id=deployframework&lang=en>
 
A

Alan M Dunsmuir

"Ken Tucker [MVP]" said:
You have to install the dotnet framework on the target machine.

I thought that the Framework was included as part of the OS with WinME,
WinXP and WinServer2003?

That you only needed to install it separately on Win98 and Win2k
machines?
 
A

Alan M Dunsmuir

"Herfried K. Wagner said:
Are you sure the .NET Framework is installed on that machine?

See my reply to Ken. I thought that the Framework came as part of the
original Systems install with WinXPPro.

Does that mean that for Windows Forms applications I need to pre-install
the Framework on EVERY target machine where this hasn't already been
done explicitly?
 
H

Herfried K. Wagner [MVP]

Alan,

Alan M Dunsmuir said:
Does that mean that for Windows Forms applications I need to pre-install
the Framework on EVERY target machine where this hasn't already been done
explicitly?

Yes. There is no guarantee, even not on Windows XP machines, that the .NET
Framework is installed.
 
G

Guest

Go to Control Panel - Add/Remove Programs and you will find Framework and the
installed version if it is in fact installed on your computers.
 
K

Ken Tucker [MVP]

Hi,

Only Windows 2003.

Ken
-------------------
"Ken Tucker [MVP]" said:
You have to install the dotnet framework on the target machine.

I thought that the Framework was included as part of the OS with WinME,
WinXP and WinServer2003?

That you only needed to install it separately on Win98 and Win2k
machines?
 
A

Alan M Dunsmuir

"Herfried K. Wagner said:
Yes. There is no guarantee, even not on Windows XP machines, that the
.NET Framework is installed.

Thanks, everybody. I've checked, and indeed it is not installed yet on
my back-up machine.
 
A

Alan M Dunsmuir

This application was developed under Framework 1.1, using VB.NET 2003.

Will it run on machines on which Framework 1.0 has been installed, or do
I need to install Framework 1.1 there as well?

Can 1.0 and 1.1 co-exist on the same machine?

What happens to applications running under Framework 1.0 if I install
Framework 1.1 on the machine?
 
J

jaytm

Alan said:
This application was developed under Framework 1.1, using VB.NET 2003.

Will it run on machines on which Framework 1.0 has been installed, or do
I need to install Framework 1.1 there as well?


install 1.1

Can 1.0 and 1.1 co-exist on the same machine?

yes

What happens to applications running under Framework 1.0 if I install
Framework 1.1 on the machine?


no change
 
S

Samuel R. Neff

nope. I use a vmware instance with Win XP SP2 and nothing else as one
base for testing installations and on that the .net framework must
also be installed.

Sam

And XP Service Pack 2 surely?

B-Line is now hiring one VB.NET developer for
WinForms + WebServices position with ASPX in future.
Seaking mid to senior level developer. For
information or to apply e-mail sam_blinex_com.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top