Page 1 of 5

CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 10:58 am
by Dador
Hi,

I did according to the instructions

Code: Select all

winget install Microsoft.DotNet.Runtime.8
and PowerShell said:

Code: Select all

PS C:\WINDOWS\system32> dotnet --info

Host:
  Version:      8.0.3
  Architecture: x64
  Commit:       9f4b1f5d66
  RID:          win-x64

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.NETCore.App 8.0.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Other architectures found:
  None

Environment variables:
  Not set

global.json file:
  Not found

Learn more:
  https://aka.ms/dotnet/info

Download .NET:
  https://aka.ms/dotnet/download
but CMXv4 reports something like this.

Code: Select all

Fatal error. Internal CLR error. (0x80131506)
I looked for a solution on the Internet, but it's a bit too complicated for me. Have I said goodbye to CMXv4? :cry:

Re: CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 11:15 am
by water01
Did you build a new V4 directory and convert the data OK?

Did you copy everything from the release including the new /runtimes directory this is very important?

Is there a MXDiags file you can upload?

Re: CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 11:25 am
by Dador
I run it as a completely new, clean install. I only get an error message back. The MXDiags report is not created.

Re: CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 11:42 am
by HansR
Dador wrote: Mon 18 Mar 2024 11:25 am I run it as a completely new, clean install. I only get an error message back. The MXDiags report is not created.
I assume you get the error while running the conversion?
Or did you immediately run CumulusMX?

What windows version do you use?
Has it been updated fully?

Re: CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 11:54 am
by Dador
An attempt to run any *.exe file reports the above error.

Nothing works :?

Re: CMXv4 .NET8 Windows 10

Posted: Mon 18 Mar 2024 12:42 pm
by HansR
Dador wrote: Mon 18 Mar 2024 11:54 am An attempt to run any *.exe file reports the above error.

Nothing works :?
My output of

Code: Select all

winget install Microsoft.DotNet.Runtime.8
    Schermafbeelding 2024-03-18 133114.png
    And afterwards CumulusMX runs fine (it also did before the install).

    Could you run

    Code: Select all

    winget uninstall Microsoft.DotNet.Runtime.8
    and post the screenshot of the output.
    Could you (without doing the winget again) try to run CMX? It does not have to be OK, just see if it executes. Please post the screenshot of the output.

    There must be something wrong on the machine so we'll go step by step, looking for errors. If you have a better idea, let us know.

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 1:19 pm
    by Dador
    I uninstalled .NET8 and reinstalled it. It didn't help.

    I don't really have any idea what to do with it because I don't know what the error is.

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 2:54 pm
    by HansR
    Dador wrote: Mon 18 Mar 2024 1:19 pm I uninstalled .NET8 and reinstalled it. It didn't help.

    I don't really have any idea what to do with it because I don't know what the error is.
    OK, thanks. You're not alone in not knowing.
    Anybody a good idea?

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 3:02 pm
    by water01
    Did you run the CMD window with Admin rights?

    Also why are you running CreatMissing, you should be running MigrateData3to4?

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 4:08 pm
    by mcrossley
    Dador wrote: Mon 18 Mar 2024 10:58 am
    I looked for a solution on the Internet, but it's a bit too complicated for me. Have I said goodbye to CMXv4? :cry:
    Don't despair, this is exactly the sort of thing we expect the beta to show up, it's what betas are for. Now we must find the cause and solution...

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 4:13 pm
    by mcrossley
    Are you double-clicking the .exe's to run them?
    Please open a command prompt, change the path to C:\CumulusMXv4, then type CumulusMX.exe
    Any different?

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 4:28 pm
    by Dador
    Gentlemen,

    Don't make me out to be a total noob when it comes to computers. Just because I'm not a computer scientist or programmer doesn't mean I can't double-click on mouse. I have been dealing with computers and the Internet for over 20 years, so please, no childish advice.

    The screenshots show that no .exe application from the latest distribution works for me and causes the same error.

    I went through the installation procedure on another laptop (my son's), with Win11 on board. After installing .NET8, CMXv4 ran normally on it.

    Currently, I'm trying to find the cause myself by surfing the Internet. However, the answers are very specialized, but actualy I have absolutely no knowledge of the .net environment.

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 4:44 pm
    by HansR
    Dador wrote: Mon 18 Mar 2024 4:28 pm Currently, I'm trying to find the cause myself by surfing the Internet. However, the answers are very specialized, but actualy I have absolutely no knowledge of the .net environment.
    No offence, we are trying to find the cause as much as you, let's not fall in a communications trap.

    If you find a solution on the net which you think applies, don't hesitate to share it here so we can try to find the common line and argument. Evidently it must be in your machine (as your sons laptop works).

    So what line are you thinking on now?

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 4:59 pm
    by mcrossley
    Dador wrote: Mon 18 Mar 2024 4:28 pm Don't make me out to be a total noob when it comes to computers. Just because I'm not a computer scientist or programmer doesn't mean I can't double-click on mouse. I have been dealing with computers and the Internet for over 20 years, so please, no childish advice.
    The screen shots look like you double-clicked the exe. That is different from what I suggested to try, sometimes the path has to be set before the program will function correctly. Running from the command line rather than clicking would eliminate that scenario.

    Re: CMXv4 .NET8 Windows 10

    Posted: Mon 18 Mar 2024 6:27 pm
    by mcrossley
    One more thing to do - create a .NET dump file...

    Code: Select all

    SET DOTNET_DbgEnableMiniDump=1
    SET DOTNET_DbgMiniDumpType=1
    SET DOTNET_DbgMiniDumpName=C:\CumulusMXv4\coredump.CMX
    CumulusMX.exe
    
    And see if a coredump.CMX file is created, the contents of that file might give us a clue.