Page 1 of 1

Error: 500(error)

Posted: Tue 08 Feb 2022 12:25 pm
by Cambium
I just wanted to change the threshold for the NOAA max/min temps... I got this message when trying to save the changes.

Error: 500(error) - Error de-serializing NOAA Settings JSON: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
SS4.jpg

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 12:35 pm
by water01
Could you please add the MXDiags for this error please it will help us diagnose the fault.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 12:45 pm
by Cambium
water01 wrote: Tue 08 Feb 2022 12:35 pm Could you please add the MXDiags for this error please it will help us diagnose the fault.
Whoops, sorry

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 2:51 pm
by freddie
I can't see anything in the log that shows this error.
Looking at the browser error message, it appears to be complaining about a component that is the incorrect version. Have you upgraded recently? If so, did all the changed files get copied into the installation? Also, do you get this message when saving any setting?

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 3:23 pm
by mcrossley
Looks like the "System.Runtime.CompilerServices.Unsafe.dll" file cannot be found, or it is the wrong version. This file is supplied in the CMX distribution zip.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 3:57 pm
by Cambium
freddie wrote: Tue 08 Feb 2022 2:51 pm I can't see anything in the log that shows this error.
Looking at the browser error message, it appears to be complaining about a component that is the incorrect version. Have you upgraded recently? If so, did all the changed files get copied into the installation? Also, do you get this message when saving any setting?
No upgrade recently except Windows10 decides to do its own sometimes. Wish I can stop that.

Yes, to any saved setting through the browser

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 4:14 pm
by freddie
Cambium wrote: Tue 08 Feb 2022 3:57 pm
freddie wrote: Tue 08 Feb 2022 2:51 pm I can't see anything in the log that shows this error.
Looking at the browser error message, it appears to be complaining about a component that is the incorrect version. Have you upgraded recently? If so, did all the changed files get copied into the installation? Also, do you get this message when saving any setting?
No upgrade recently except Windows10 decides to do its own sometimes. Wish I can stop that.

Yes, to any saved setting through the browser
As @mcrossley states, there's something kooky about a DLL file. I would find that one in your distribution zip and copy it in to your MX installation.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 4:29 pm
by Cambium
mcrossley wrote: Tue 08 Feb 2022 3:23 pm Looks like the "System.Runtime.CompilerServices.Unsafe.dll" file cannot be found, or it is the wrong version. This file is supplied in the CMX distribution zip.
freddie wrote: Tue 08 Feb 2022 4:14 pm As @mcrossley states, there's something kooky about a DLL file. I would find that one in your distribution zip and copy it in to your MX installation.
Forgive my dumbness but I found it in the MX file, what do I need to do now? How do I know if its the right version?

I'm running Cumulus MX v.3.14.0 build 3159

Thanks Guys
SS5.jpg

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 4:53 pm
by freddie
Cambium wrote: Tue 08 Feb 2022 4:29 pmForgive my dumbness but I found it in the MX file, what do I need to do now? How do I know if its the right version?

I'm running Cumulus MX v.3.14.0 build 3159
If the MX file is the one for build 3159 (the build number is in the filename) then extract the DLL and copy it to your MX installation. If it's not then you need to download the correct distribution file, and then extract the DLL and copy to your MX installation.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 5:09 pm
by Cambium
freddie wrote: Tue 08 Feb 2022 4:53 pm
Cambium wrote: Tue 08 Feb 2022 4:29 pmForgive my dumbness but I found it in the MX file, what do I need to do now? How do I know if its the right version?

I'm running Cumulus MX v.3.14.0 build 3159
If the MX file is the one for build 3159 (the build number is in the filename) then extract the DLL and copy it to your MX installation. If it's not then you need to download the correct distribution file, and then extract the DLL and copy to your MX installation.
Yup, file name shows 3159. I tried copying and pasting and replacing the file in there but same thing happening. Where do I find the distribution file to download? Sorry if thats a dumb question.

Does it have anything to do with the CreateMIssing.exe file downloaded and ran?

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 5:26 pm
by freddie
Cambium wrote: Tue 08 Feb 2022 5:09 pm
freddie wrote: Tue 08 Feb 2022 4:53 pm
Cambium wrote: Tue 08 Feb 2022 4:29 pmForgive my dumbness but I found it in the MX file, what do I need to do now? How do I know if its the right version?

I'm running Cumulus MX v.3.14.0 build 3159
If the MX file is the one for build 3159 (the build number is in the filename) then extract the DLL and copy it to your MX installation. If it's not then you need to download the correct distribution file, and then extract the DLL and copy to your MX installation.
Yup, file name shows 3159. I tried copying and pasting and replacing the file in there but same thing happening. Where do I find the distribution file to download? Sorry if thats a dumb question.
No such thing as a dumb question :) Dist file is at https://github.com/cumulusmx/CumulusMX/ ... st3159.zip
Cambium wrote: Tue 08 Feb 2022 5:09 pm Does it have anything to do with the CreateMIssing.exe file downloaded and ran?
No, they are completely separate.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 6:17 pm
by mcrossley
Please make sure to extract the file CumulusMX.exe.config as well please.

Re: Error: 500(error)

Posted: Tue 08 Feb 2022 6:21 pm
by Cambium
freddie wrote: Tue 08 Feb 2022 5:26 pm No such thing as a dumb question :) Dist file is at https://github.com/cumulusmx/CumulusMX/ ... st3159.zip
Downloaded, extracted, copied the dll file, pasted it into MX folder, replaced other dll and still doesnt work. :groan: Weird.. It used to work.

Error: 500(error) - Error de-serializing NOAA Settings JSON: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

EDIT:::

Just downloaded the latest build 3169 and ran through the 1st time wizard setup again.. All good.

The save settings is fixed :clap:

Re: Error: 500(error) [SOLVED]

Posted: Sat 12 Feb 2022 12:22 pm
by Cambium
Morning guys. Odd, I'm getting the same message again this morning when trying to save a setting in the NOAA Settings

Error: 500(error) - Error de-serializing NOAA Settings JSON: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

EDIT:: Its working Now. Very strange. All I did was rename the Cumulus folder becasue I was going to redownload it again and wanted to keep the current folder without losing any data. But I renamed it back to CumulusMx. Tried opening the program again, and now it's saving fine. Odd.