Menu Close

Error on SyncroSim Run because of .Net version

Syncrosim Forums ST-Sim & State-and-Transition Simulation Models Error on SyncroSim Run because of .Net version

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #5711
    leonardo-fridleonardo-frid
    Keymaster

    I recently encountered this error when running a model on a windows server 2012 AWS instance:
    [Failure] An item with the same key has already been added.

    The same library ran fine on my local laptop. After some searching I found that the most recent .Net version on my laptop was 4.6.1 and that this version was not on the AWS instance. I installed this version of the .Net framework on the AWS instance and that solved the problem.

    #20492
    kbadikkbadik
    Participant

    Has this issue popped up any more? I just received this error when trying to run a ssim.

    #20494
    leonardo-fridleonardo-frid
    Keymaster

    Hi Kevin,
    I have not experienced this error recently. However, I did update the AWS instance to a more recent 2019 Microsoft Windows Server. What operating system and .Net Framework version are you running? Are you able to run the model on a local machine but not on your server?

    To check what versions of .Net you have installed you can run the following line of code in Windows Powershell ISE:
    Get-ChildItem ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)\p{L}’} | Select PSChildName, version

    You should then get some output that looks like this:
    PSChildName Version
    ———– ——-
    v2.0.50727 2.0.50727.4927
    v3.0 3.0.30729.4926
    Windows Communication Foundation 3.0.4506.4926
    Windows Presentation Foundation 3.0.6920.4902
    v3.5 3.5.30729.4926
    Client 4.8.03752
    Full 4.8.03752
    Client 4.0.0.0
    ________________________________________

    Cheers,
    Leonardo

    #20495
    leonardo-fridleonardo-frid
    Keymaster

    Hi Kevin,
    I have not experienced this error recently. However, I did update the AWS instance to a more recent 2019 Microsoft Windows Server. What operating system and .Net Framework version are you running? Are you able to run the model on a local machine but not on your server?

    To check what versions of .Net you have installed you can run the following line of code in Windows Powershell ISE:
    Get-ChildItem ‘HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP’ -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match ‘^(?!S)\p{L}’} | Select PSChildName, version

    You should then get some output that looks like this:
    PSChildName Version
    ———– ——-
    v2.0.50727 2.0.50727.4927
    v3.0 3.0.30729.4926
    Windows Communication Foundation 3.0.4506.4926
    Windows Presentation Foundation 3.0.6920.4902
    v3.5 3.5.30729.4926
    Client 4.8.03752
    Full 4.8.03752
    Client 4.0.0.0
    ________________________________________

    Cheers,
    Leonardo

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.