Started getting a .NET Unhandled Exception

#1

When trying to login to Analytics (i.e. hitting the button ,then "Login"), I get this dialog below. Niels, someone else posted about this a year or two ago but there was no real resolution it nhe forum, have you seen this behavior? I installed the latest .NET, installed the .NET repair tool and ran it, uninstalled .NET, reinstalled a previous version of .NET...nothing works. Although after reinstalling a previous version, my admin account seems to be able to login, but another Windows account (the one I need to get working) keeps failing. Any hints besides reinstalling .NET would be super helpful!
Thanks, - Ted


Unhandled exception has occurred in a component in your application.
If you click Continue, the application will ignore this error and attempt to coninue.

InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex.


Details:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: InvalidArgument=Value of '0' is not valid for 'SelectedIndex'.
Parameter name: SelectedIndex
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at SeoTools.UI.TaskPaneWizard.Parameters.GroupedComboBoxParameter.set_Value(Object value)
at SeoTools.UI.TaskPaneWizard.Parameters.GroupedComboBoxParameter.Reset()
at SeoTools.UI.TaskPaneWizard.AbstractTaskPaneWizard._Reset()
at SeoTools.UI.TaskPaneWizard.AbstractTaskPaneWizard.SetView(Int32 viewIndex)
at SeoTools.UI.TaskPaneWizard.AbstractTaskPaneWizard.DoneLogin()
at SeoTools.UI.TaskPaneWizard.AbstractTaskPaneWizard.Login()
at SeoTools.UI.TaskPaneWizard.AbstractTaskPaneWizard.‫‏‬‌‭‍‮‌‍‍‬‬‫‪‮​​‮‫‮​‍‮‌​‪‮‍‫‪‮‮(Object , EventArgs )
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

ExcelDna.Loader
Assembly Version: 0.33.5730.40390
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

ExcelDna.Integration
Assembly Version: 0.33.5730.40390
Win32 Version: 0.33.9.1
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/ExcelDna.Integration.DLL

System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

SeoTools
Assembly Version: 7.0.33.0
Win32 Version: 7.0.33.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/SeoTools.DLL

ExcelDna.Registration
Assembly Version: 0.33.5909.30363
Win32 Version: 0.33.9.1
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/ExcelDna.Registration.DLL

System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll

PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll

WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll

PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll

System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll

CSharpAnalytics.Net45
Assembly Version: 1.2.0.0
Win32 Version: 1.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/CSharpAnalytics.Net45.DLL

SeoToolsUI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/SeoToolsUI.DLL

Google.Apis.Analytics.v3
Assembly Version: 1.9.2.117
Win32 Version: 1.9.2.117
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.Analytics.v3.DLL

Google.Apis
Assembly Version: 1.9.2.27817
Win32 Version: 1.9.2.27817
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.DLL

Google.Apis.Auth
Assembly Version: 1.9.2.27817
Win32 Version: 1.9.2.27817
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.Auth.DLL

Google.Apis.Core
Assembly Version: 1.9.2.27816
Win32 Version: 1.9.2.27816
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.Core.DLL

System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

Google.Ads.Common
Assembly Version: 8.1.0.0
Win32 Version: 8.1.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Ads.Common.DLL

Google.AdWords
Assembly Version: 22.2.0.0
Win32 Version: 22.2.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.AdWords.DLL

QvWvQCvtpDdPdcOExawKgpEcpAkz
Assembly Version: 0.0.0.0
Win32 Version: 7.0.33.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/SeoTools.dll

System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll

ExcelDna.DynamicDelegateAssembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

Snippets
Assembly Version: 0.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

ExcelDna.DynamicDelegateAssembly
Assembly Version: 0.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll

System.Security
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll

Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

RestSharp
Assembly Version: 104.4.0.0
Win32 Version: 104.4.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/RestSharp.DLL

Exceptionless
Assembly Version: 1.5.2121.0
Win32 Version: 1.5.2121
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Exceptionless.DLL

Exceptionless.Models
Assembly Version: 1.5.2121.0
Win32 Version: 1.5.2121
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Exceptionless.Models.DLL

Newtonsoft.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1.18622
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Newtonsoft.Json.DLL

System.Data.SqlXml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Data.SqlXml/v4.0_4.0.0.0__b77a5c561934e089/System.Data.SqlXml.dll

System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll

Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

UIAutomationTypes
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll

System.Windows.Input.Manipulations
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Input.Manipulations/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Input.Manipulations.dll

UIAutomationProvider
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll

System.Deployment
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll

System.Runtime.Serialization.Formatters.Soap
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll

ReachFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/ReachFramework/v4.0_4.0.0.0__31bf3856ad364e35/ReachFramework.dll

System.Printing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Printing/v4.0_4.0.0.0__31bf3856ad364e35/System.Printing.dll

PresentationUI
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationUI/v4.0_4.0.0.0__31bf3856ad364e35/PresentationUI.dll

System.DirectoryServices
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.DirectoryServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.DirectoryServices.dll

System.Windows.Interactivity
Assembly Version: 4.5.0.0
Win32 Version: 3.0.40218.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/System.Windows.Interactivity.DLL

Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll

System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll

PresentationFramework.Classic
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.classic/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.classic.dll

PresentationFramework-SystemXmlLinq
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll

PresentationFramework-SystemXml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll

Xceed.Wpf.Toolkit
Assembly Version: 3.0.0.0
Win32 Version: 3.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Xceed.Wpf.Toolkit.DLL

PresentationFramework-SystemData
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll

System.Threading.Tasks
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll

Microsoft.Threading.Tasks
Assembly Version: 1.0.12.0
Win32 Version: 1.0.168.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Microsoft.Threading.Tasks.DLL

Google.Apis.Auth.PlatformServices
Assembly Version: 1.9.2.27820
Win32 Version: 1.9.2.27820
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.Auth.PlatformServices.DLL

Google.Apis.PlatformServices
Assembly Version: 1.9.2.27818
Win32 Version: 1.9.2.27818
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/Google.Apis.PlatformServices.DLL

System.Net.Http.Primitives
Assembly Version: 4.2.29.0
Win32 Version: 4.2.29.0
CodeBase: file:///C:/Program%20Files%20(x86)/SeoTools%20for%20Excel/bin/System.Net.Http.Primitives.DLL

System.Net.Primitives
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Primitives/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Primitives.dll

System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

System.Net
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.dll

WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.2053.0 built by: NET47REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

#2

Hi Ted,

What version of SeoTools are you using? 7.0.33 is ancient and I recommend trying a newer build

#3

OK, I just uninstalled it and installed the latest.
Now when I hit Login, I get that dialog that flashes saying it's going to go to my default browser to log in....then it never does it, it doesn't bring the browser up. Tried with IE, Firefox, and Chrome open. And then whenever I hit the button again nothing happens.

I then deleted the Google Analytics line from the config file, turned off SEOTools as an add-in and turned it back on, and tried again.
Still happens

#4

Can you take a print screen of the "About" window? I suspect you may have invalid references to the seotools.config.xml file which may interfere with the Google auth tokens storage.