When trying to import a connection string through the connection manager I get the following error.
Exception: System.ArgumentOutOfRangeException
Message : startIndex cannot be larger than length of string.
Parameter name: startIndex
Stack Trace:
at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32
length, Boolean fAlwaysCopy)
at Quest.Toad.Db.ConnectMediatorCategory..ctor(String fromString)
at
Quest.Toad.ConnectionManager.ConnectMediator.InitFromXmlDocument(XmlDocu
ment doc)
at
Quest.Toad.ConnectionManager.DB2ConnectMediator.InitFromXmlDocument(XmlD
ocument doc)
at Quest.Toad.ConnectionManager.ConnectMediator.set_Xml(String value)
at Quest.Toad.ConnectionManager.ConnectMediator.CreateInstance(String
xml)
at
Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.AddConnections(S
torageItem storageItem)
at
Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.AddItems(Storage
Item storageItem)
at
Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.XmlToNodes(XmlDo
cument xmlDoc, ConnGroupNode rootNode, Boolean notify, Boolean
ignorePath)
at
Quest.Toad.ConnectionManager.ConnectionHierarchyStorage.Load(ConnectionH
ierarchy connectionHierarchy, String fileLocation, Boolean notify,
Boolean ignorePath)
at
Quest.Toad.ConnectionManager.ConnectionControl.LoadRootFromFile(ConnGrou
pNode rootNode, LoadResult& results)
at
Quest.Toad.ConnectionManager.ConnectionControl.importXmlConnectionsItem_
ItemClick(Object sender, ItemClickEventArgs e)
at DevExpress.XtraBars.BarItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarBaseButtonItem.OnClick(BarItemLink link)
at DevExpress.XtraBars.BarItemLink.OnLinkClick()
at DevExpre
You need to be signed in and under a current maintenance contract to view premium knowledge articles.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center