Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   IQSDirectory.RFQ2Constraint.GetCategoryIdByName(String DisplayName) in E:\Sumi_Projects\IQS_Transition\IQS-V3\IQSDirectory\Helpers\CategoryConstraint.cs:109
   IQSDirectory.RFQ2Constraint.Match(HttpContextBase httpContext, Route route, String parameterName, RouteValueDictionary values, RouteDirection routeDirection) in E:\Sumi_Projects\IQS_Transition\IQS-V3\IQSDirectory\Helpers\CategoryConstraint.cs:104
   System.Web.Routing.Route.ProcessConstraint(HttpContextBase httpContext, Object constraint, String parameterName, RouteValueDictionary values, RouteDirection routeDirection) +57
   System.Web.Routing.Route.ProcessConstraints(HttpContextBase httpContext, RouteValueDictionary values, RouteDirection routeDirection) +143
   System.Web.Routing.Route.GetRouteData(HttpContextBase httpContext) +200
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +237
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +63
   System.Web.Routing.UrlRoutingModule.OnApplicationPostResolveRequestCache(Object sender, EventArgs e) +85
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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