Server Error in '/' Application.

The given key was not present in the dictionary.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: The given key was not present in the dictionary.

Source Error:


Line 33:             conn.Close()
Line 34:             'throws an error message if something goes wrong
Line 35:             Throw New Exception(ex.Message)
Line 36:         End Try
Line 37: 

Source File: G:\PleskVhosts\wmcltd.ca\httpdocs\App_Code\DatabaseClass.vb    Line: 35

Stack Trace:


[Exception: The given key was not present in the dictionary.]
   DatabaseClass.getDataSet(MySqlCommand& CMD) in G:\PleskVhosts\wmcltd.ca\httpdocs\App_Code\DatabaseClass.vb:35
   projects_detail.Page_Load(Object sender, EventArgs e) in G:\PleskVhosts\wmcltd.ca\httpdocs\projects-detail.aspx.vb:17
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0