-2

On trying to run a c# hello world program on Windows NT4 SP6a, the error message says .net dll's not found; however on trying to install .net framework 1.1 on WinNT i get an error: "Application has generated an exception that could not be handled". When i run the C# app on Windows 7 there are no issues.

Martin
  • 3,396
  • 5
  • 41
  • 67
  • 3
    Windows NT? .NET 1.1? Are we in 2001 or what happened here? Also, not sure if this is a programming question, sounds like a better fit for Server Fault – Camilo Terevinto Apr 09 '18 at 12:34
  • 1
    Many developers have to work on/support legacy applications nowadays, I posted in the hope that someone may find it useful – Martin Apr 09 '18 at 12:37
  • 1
    Not for operating systems that are over 20 years old and haven't been supported for almost as long though. Also, this question has nothing to do with programming. – DavidG Apr 09 '18 at 12:38
  • @DavidG Security? What's that? – Camilo Terevinto Apr 09 '18 at 12:39
  • 6
    It's a QA-style answer, and I can see this is totally relevant for one poor developer having to support this. It doesn't matter if such an environment is hopelessly out of date or not. We get plenty of VB6 questions which is even older than NT4. – Lennart Apr 09 '18 at 12:40
  • 3
    @Lennart No, this question (as already pointed out by Camilo) is off topic here, but may work on SF. – DavidG Apr 09 '18 at 12:40
  • 2
    I agree that the question is a perfectly valid one and deserves an answer, however, it's nothing about programming, ServerFault, or maybe SuperUser, seems better candidates to host this. – Alejandro Apr 09 '18 at 13:03
  • 2
    You need SP6a, not SP6 https://www.microsoft.com/en-us/download/details.aspx?id=26 – adjan May 08 '18 at 18:19
  • 1
    This question should NOT have been closed as off-topic. .NET 1.1 is a programming framework and issues with installation are absolutely within the scope of SO. However... this question is NOT well researched. It should have been closed as a duplicate of this question: https://stackoverflow.com/questions/198873/os-compatibility-for-various-net-framework-versions (Windows NT is not a supported OS for .NET 1.1) – JDB May 08 '18 at 19:04
  • This question is being [discussed on Meta](https://meta.stackoverflow.com/questions/367443/how-to-migrate-question-about-an-obsolete-os). – JDB May 08 '18 at 19:27

1 Answers1

3

Windows 7 supports the latest .NET framework whereas WinNT supports only .NET 1.1 and installing .NET 1.1 on WinNT is not straightforward.

To get over those errors, do the following:

  1. To fix this we need to copy a folder from a Windows Server 2003 machine to WinNT machine.
  2. Find a Windows Server 2003 machine on which .NET framework is already installed.
  3. From the Win 2003 machine copy "Framework" folder [C:\Windows\Microsoft.NET\Framework]
  4. Create a folder "Microsoft.NET" in WinNT machine at [C:\Winnt\Microsoft.NET]
  5. Copy the "Framework" folder from step-3 to "Microsoft.NET" folder in WinNT machine (step-4).
  6. Now you have [C:\Winnt\Microsoft.NET\Framework] folder structure in the WinNT machine.
  7. Run dotnetfx.exe and the installation should complete without incident.

reference

Martin
  • 3,396
  • 5
  • 41
  • 67
  • Also make sure that you are running on service pack 6a: https://www.microsoft.com/en-us/download/details.aspx?id=26 – JDB May 08 '18 at 19:26
  • 2
    [Looks like with NT SP6a and IE 6.0 SP1 , .NET 1.1 is officially supported](https://www.microsoft.com/en-us/download/details.aspx?id=26). There are no special installation instructions provided, so the installer should work as it is with that setup. – ivan_pozdeev May 08 '18 at 22:00