This project has moved and is read-only. For the latest updates, please go here.

TSA: DatabaseFunctions.GetConnectionString Index was out of range

May 11, 2010 at 4:33 AM
Edited May 11, 2010 at 4:40 AM

Not sure what's happening, I think I followed the setup instructions precicely but I am running into the following error using the Time Series Analyst:

Error Occured in Default.Page_LoadComplete
Error Occured in DatabaseFunctions.OpenTable
Error Occured in DatabaseFunctions.GetConnectionString Index was out of range.
Must be non-negative and less than the size of the collection. Parameter name: index

Here's a screenshot of the page as I see it:
HydroServer Time Series Analyst error

Not entirely sure where I should start looking to troubleshoot this.  It looks like it can't connect to the OD database.  The TSA application currently has one connection string to the HydroServerCapabilities database.  I confirmed that the read-only user I created works properly by using the read-only user credentials in ODM Tools running on the local machine and the connection was made just fine.

Windows 2008 R2 Standard, IIS7, .Net 3.5.1


May 11, 2010 at 6:22 AM

Thanks to Jeff for pointing out that this error occurs when the HydroServerCapabilities database has not been populated yet.

Once the HydroServerCapabilities database has been populated with at the very least content under the ODM Databases option the above shown error will disappear and data will be properly displayed.