Deliver geospatial models direct to decision makers with SyncroSim › Forums › ST-Sim & State-and-Transition Simulation Models › Error on SyncroSim Run because of .Net version
- This topic has 3 replies, 2 voices, and was last updated 3 years, 5 months ago by leonardo-frid.
-
AuthorPosts
-
January 31, 2018 at 3:10 pm #5711leonardo-fridKeymaster
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.
June 30, 2021 at 4:01 pm #20492kbadikParticipantHas this issue popped up any more? I just received this error when trying to run a ssim.
July 2, 2021 at 12:08 am #20494leonardo-fridKeymasterHi 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, versionYou 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,
LeonardoJuly 2, 2021 at 12:08 am #20495leonardo-fridKeymasterHi 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, versionYou 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 -
AuthorPosts
- You must be logged in to reply to this topic.