Page 1 of 1

Toolbox .net error

Posted: Sun 18 Apr 2010 8:09 pm
by tstolze
First, thanks for your work on this project!

I had the toolbox installed and running fine. I decided to try and add an email address and remove another that was used for testing. Now when launching the program I get a Microsoft .NET Framework box with an error in it: "Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click quit, the application will close immediately.

Index was outside the bounds of the array."

I have uninstalled Toolbox, rebooted and installed again with the same problem. If I click continue Toolbox runs and checks at the set interval, but when it tries to send an email the error occurs, I click Okay and it will throw the error again until I close the program. Also each time I click okay when it's trying to send an email it does send the email each time I press okay.

This is installed on a fully updated version of XP.

Re: Toolbox .net error

Posted: Sun 18 Apr 2010 9:18 pm
by daj
You have a blank line, space, or some other rouge character. Make sure there is no blank line after the very last character of the email address

or delete everything from the Notification emails section and re-type the address
emailaddr.png

Re: Toolbox .net error

Posted: Mon 19 Apr 2010 1:09 am
by tstolze
Removed all emails, tried to save and received the same error.

Re: Toolbox .net error

Posted: Mon 19 Apr 2010 1:34 pm
by daj
Can you send me your settings file please -- Send it in a private message

On your PC Click Start, Run and paste this text

Code: Select all

regedit /e c:\toolbox.txt HKEY_CURRENT_USER\CumulusToolBox
It should create a file c:\toolbox.txt with all the settings I need to check. There is one thing I suggest your remove .. if you are using your own email server to send notifications then edit the c:\toolbox.txt file and remove the SMTPPassword line as I do not need to know this.

Re: Toolbox .net error

Posted: Mon 19 Apr 2010 2:26 pm
by tstolze
Sent,

I went into the registry and found a few strange characters left in the notification to entry, removed it and the program launched without a problem. As soon as I try to enter 1 email send to within the program I get the error. I will try it manually in the registry and see if that works.

(added)Tried an email address added to the registry manually and received the same error.

I may uninstall remove the registry entry, reboot and try installing again.

Re: Toolbox .net error

Posted: Mon 19 Apr 2010 3:12 pm
by tstolze
I uninstalled the toolbox, deleted the registry entry, then installed again and all is working fine.

Thanks!