Forum Discussion

Martin_Gebhartl's avatar
Martin_Gebhartl
New Contributor III
13 days ago
Solved

OneStream System Diagnostic - BR OSD_SolutionHelper does not compile

Hi everyone,

I have to do some systems diagnostics but I cannot run the dashboard because there is an error in the business rule "OSD_SolutionHelper". This business rule does not compile due to an error in line 4882

Dim computer As New Microsoft.VisualBasic.Devices.Computer()

Error: Type 'Microsoft.VisualBasic.Devices.Computer' is not defined. 

Anyone else encountering this issue? We are on version 8.4.0.16413.

Regards
Martin

 

  • Hi Martin_Gebhartl 

    You will need to upgrade OSD to the v8 compliant version e.g PV620 SV202 (as above)

    This is well documented when upgrading to v8+

    MarketPlace Solution Content | OneStream Community

    e.g Dim computer As New Microsoft.VisualBasic.Devices.Computer() will no longer compile from .Net 6 onwards

    Please check minimum versions from the link above for any Marketplace solutions you migrated when you upgraded to v8+ and upgrade accordingly 

    Hope this helps 

    Sam

     

  • MarcusH's avatar
    MarcusH
    Contributor III

    We are on the same OneStream version. It compiles with 18 warnings but no errors. The OSD version is PV620 SV202.

    • Martin_Gebhartl's avatar
      Martin_Gebhartl
      New Contributor III

      Hi Marcus,

      thanks for your reply. Can you confirm, that line 4882 of the BR OSD_SolutionHelper is:

      Dim computer As New Microsoft.VisualBasic.Devices.Computer()

      Regards
      Martin

  • sameburn's avatar
    sameburn
    Contributor II

    Hi Martin_Gebhartl 

    You will need to upgrade OSD to the v8 compliant version e.g PV620 SV202 (as above)

    This is well documented when upgrading to v8+

    MarketPlace Solution Content | OneStream Community

    e.g Dim computer As New Microsoft.VisualBasic.Devices.Computer() will no longer compile from .Net 6 onwards

    Please check minimum versions from the link above for any Marketplace solutions you migrated when you upgraded to v8+ and upgrade accordingly 

    Hope this helps 

    Sam

     

    • Martin_Gebhartl's avatar
      Martin_Gebhartl
      New Contributor III

      Hi Sam,

      thanks for your reply. Yesterday I managed togetger with OS support to uninstall th old version and install the new version of OSD! When upgrading, we were not aware, the OSD is installed and needs special attention.

      Regards
      Martin

       

  • MarcusH's avatar
    MarcusH
    Contributor III

    The later versions of OSD are encrypted. However from an earlier unencrypted version I can confirm that line 4882 is:

    Dim computer As New Microsoft.VisualBasic.Devices.Computer()

    As I see it, your only option is to use an earlier unencrypted version of OSD and fix the error.