Vikash
Vikash

Reputation: 3

Windows Services / .net environment

We are planning to upgrade to windows server 2008 machine (from server 2003) and have a bunch of windows services written in visual studio 2003/2005 that we will have to migrate. My concerns is that on server 2008 there is no .NET 1.1 framework, as we had on the server 2003.

I have some doubts, but hopeful to clear them here:

  1. Are windows services 'targeted' for specific .net environments?
  2. If, yes, how can I migrate to framework to 2.0?
  3. Can I use the installutil from .net 2.2 to install a .net 1.1 win service?

Upvotes: 0

Views: 86

Answers (2)

P.A
P.A

Reputation: 130

You can install .NET 1.1 (and also a SP1) on Windows 2008. It warns you about conflicts but works ok.

Upvotes: 0

Patrick Hofman
Patrick Hofman

Reputation: 156978

  1. Are windows services 'targeted' for specific .net environments?

Not specifically. .NET assemblies are version specific, but usually backwards compatible. A .NET 1.1 assembly will still run on a 2.0 or higher .NET version. I do suggest to upgrade though since .NET 1.1 is more than ten years old already.

  1. If, yes, how can I migrate to framework to 2.0?

You have to change the targeted .NET Framework for the Visual Studio project. You can do this in the Project Settings dialog. You have to recompile and distribute that newer version.

  1. Can I use the installutil from .net 2.2 to install a .net 1.1 win service?

Yes. The installutil is not something .NET specific. It will work for any exe as far as I know.

Upvotes: 3

Related Questions