CCDWare, Ltd.    CCDWare Support Community    Forums  Hop To Forum Categories  CCDWare Products  Hop To Forums  CCDAutoPilot 3    Issue with updating CCDAP3
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Average Seeing
Posted
Hi,

When I click on the update item in the Help menu, I get an unhandled exception error with the phrase "Length cannot be less than zero. Parameter name:length" with the following 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: Length cannot be less than zero.
Parameter name: length
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 length, Boolean fAlwaysCopy)
at m.e()
at m.bj(Object A_0, EventArgs A_1)
at System.Windows.Forms.MenuItem.OnClick(EventArgs e)
at System.Windows.Forms.MenuItem.MenuItemData.Execute()
at System.Windows.Forms.Command.Invoke()
at System.Windows.Forms.Command.DispatchID(Int32 id)
at System.Windows.Forms.Control.WmCommand(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.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: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///c:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
CCDAutoPilot
Assembly Version: 3.41.5.0
Win32 Version: 3.41.5.0
CodeBase: file:///C:/Program%20Files/CCDWare/CCDAutoPilot3/CCDAutoPilot.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
RestoreState
Assembly Version: 2.0.0.0
Win32 Version: 2.0.0.0
CodeBase: file:///C:/Program%20Files/CCDWare/CCDAutoPilot3/RestoreState.DLL
----------------------------------------
SyD.Shareware.Registration
Assembly Version: 2.3.2007.1
Win32 Version: 2.3.2007.1
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/SyD.Shareware.Registration/2.3.2007.1__4a5d6e6bca524051/SyD.Shareware.Registration.dll
----------------------------------------
OutlookPanes
Assembly Version: 1.0.4.0
Win32 Version: 1.0.4.0
CodeBase: file:///C:/Program%20Files/CCDWare/CCDAutoPilot3/OutlookPanes.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1433 (REDBITS.050727-1400)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.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:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

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.


Hope this helps in troubleshooting the issue.

-Jim
 
Posts: 64 | Registered: 06 August 2006Reply With QuoteEdit or Delete MessageReport This Post
Average Seeing
Posted Hide Post
BTW, CCDAP3 was working fine until I installed CCD Navigator. Don't know if there was something that changed because of it or not.

-jim
 
Posts: 64 | Registered: 06 August 2006Reply With QuoteEdit or Delete MessageReport This Post
CCDWare, Ltd.
Orbiting around Earth
Posted Hide Post
Hi Jim,

I had an error in my update server that should be corrected now. Please try Help?Update again and see if you still have the problem.

Thanks.


John
CCDAutoPilot author
 
Posts: 3465 | Location: Tucson, AZ | Registered: 14 February 2005Reply With QuoteEdit or Delete MessageReport This Post
Average Seeing
Posted Hide Post
John,

The program was able to find the update, but this time I got a message that the Updater app encountered a problem and had to close. Here's the screen shot of the message.

-jim

Word DocUpdater_error.doc (50 KB, 74 downloads)
 
Posts: 64 | Registered: 06 August 2006Reply With QuoteEdit or Delete MessageReport This Post
CCDWare, Ltd.
Orbiting around Earth
Posted Hide Post
Hi Jim,

This appears to be a problem with permissions on your PC (System.unauthorizedaccess). If you are using Vista, turn off UAC and try again. What version are you updating from?


John
CCDAutoPilot author
 
Posts: 3465 | Location: Tucson, AZ | Registered: 14 February 2005Reply With QuoteEdit or Delete MessageReport This Post
Average Seeing
Posted Hide Post
John,

I'm actually using Windows XP Pro SP2. Never had an issue with permissions before. I have 3.41.5

-jim
 
Posts: 64 | Registered: 06 August 2006Reply With QuoteEdit or Delete MessageReport This Post
CCDWare, Ltd.
Orbiting around Earth
Posted Hide Post
Hi Jim,

I'm afraid I don't know what is going on with your system. I just down-rev'd my CCDAP3 installation on XP Pro to 3.41.5 and selected Help/Update Now. The installation successfully updated to 3.42.5.

We are both on comcast so that shouldn't be the problem. If you have a firewall, you may want to try turning it off as a diagnostic. The only firewall I have is a router with SPI. You may want to try uninstalling CCDAP via Windows add/remove programs then re-download CCDAP from www.ccdware.com/downloads "just in case" and try the update again.

Perhaps one of the other users on the forum has an idea as to what is going on.


John
CCDAutoPilot author
 
Posts: 3465 | Location: Tucson, AZ | Registered: 14 February 2005Reply With QuoteEdit or Delete MessageReport This Post
Average Seeing
Posted Hide Post
John,

I was able to update the program by deleting the files in the directory that it was trying to overwrite. Somehow they were set to be read-only.

Thanks,

-jim
 
Posts: 64 | Registered: 06 August 2006Reply With QuoteEdit or Delete MessageReport This Post
CCDWare, Ltd.
Orbiting around Earth
Posted Hide Post
Glad you were able to resolve it, Jim. I guess it'll be one of the mysteries of Windows how they got to be read only Smiler

Good detective work!


John
CCDAutoPilot author
 
Posts: 3465 | Location: Tucson, AZ | Registered: 14 February 2005Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 

CCDWare, Ltd.    CCDWare Support Community    Forums  Hop To Forum Categories  CCDWare Products  Hop To Forums  CCDAutoPilot 3    Issue with updating CCDAP3