Prerequisites
- What is your product version?**v8.9.2.0 **
- What is your product type (Angular or MVC)? ANGULAR
- What is product framework type (.net framework or .net core)? .NET CORE
Hi, We have a problem with the latest update of Power tools (v 2.6.1). It does not work, we are unable to create entities with it, it closes when we click generate, I have replied to thread (Power Tool stopped working #9604) that has raised similar issues, our development has stopped because of this, could you email me please with a resolution.
My log shows shome error.... DEBUG 2020-09-16 10:33:01,407 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False ERROR 2020-09-16 10:37:04,432 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:32,712 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:39,639 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 ERROR 2020-09-16 10:37:45,567 [1 ] ToolVisualStudioExtension.Helpers.Logger - ForeignKeySelectionForm > cbEntitySelector_SelectedIndexChanged throws exception System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'. Parameter name: SelectedIndex at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at AspNetZeroRadToolVisualStudioExtension.Dialogs.ForeignKeySelectionForm.cbEntitySelector_SelectedIndexChanged(Object sender, EventArgs e) in D:\github\aspnet-zero-rad\AspNetZeroRadToolVisualStudioExtension\AspNetZeroRadToolVisualStudioExtension\Dialogs\ForeignKeySelectionForm.cs:line 169 DEBUG 2020-09-16 10:38:59,038 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-16 10:38:59,558 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated. DEBUG 2020-09-16 10:43:31,722 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: False DEBUG 2020-09-16 10:45:09,837 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Generate entity started. DEBUG 2020-09-16 10:45:10,244 [1 ] dioExtension.Dialogs.EntityGeneratorForm - Entity successfully generated. DEBUG 2020-09-16 13:21:50,019 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True DEBUG 2020-09-16 13:27:06,055 [1 ] lVisualStudioExtension.AspNetZeroRadTool - Menu item clicked with params > loadFromJson: False, loadFromDatabase: False, showAboutForm: True
Many Thanks
5 Answer(s)
-
0
I also was not able to get the suggested solution to work and also stopped on development because of it.
-
0
Hi @Jorahealth, @dparizek
Could you install .NET Core 2.2 runtime and try this again ?
Thanks,
-
0
@ismcagdas
Thank you, That worked
-
0
So I am having the same issue as mentioned here. I installed .NET CORE 2.2.8 runtime and the issue still exists. Do I need to install the exact 2.2.0 version?
-
0
Yep that was it, only for some reason I had to install the full SDK for it to work...