Server Error in '/' Application.

There are no results matching the query.

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: Relocation.Entities.Errors.RelocationException: There are no results matching the query.

Source Error:


Line 517:							if (doState)
Line 518:							{
Line 519:								nvc.Add("FromState", mw.GetState(1, this.hdnLevelInd.Value, this.hdnLevelVal.Value).ToString());
Line 520:							}
Line 521:

Source File: c:\RelocationWebsites\Vanlines\SiteDir\Default.aspx.cs    Line: 519

Stack Trace:


[RelocationException: There are no results matching the query.]
   Relocation.BusinessLogic.Middleware.ExecuteNonQuery(DbCommand comm) +96
   Relocation.BusinessLogic.Middleware.GetState(Int32 countryId, String levelInd, String levelVal) +369
   SiteDir_Default.Page_Load(Object sender, EventArgs e) in c:\RelocationWebsites\Vanlines\SiteDir\Default.aspx.cs:519
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8975