Server Error in '/' Application.

Unable to find an active website with id 7b138792-1090-45b6-9241-8f8d96d8c372

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: Adxstudio.Xrm.AspNet.Cms.Exceptions.WebsiteNotFoundException: Unable to find an active website with id 7b138792-1090-45b6-9241-8f8d96d8c372

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:


[WebsiteNotFoundException: Unable to find an active website with id 7b138792-1090-45b6-9241-8f8d96d8c372]
   Adxstudio.Xrm.AspNet.Cms.<FindAsync>d__16.MoveNext() in C:\__w\1\s\Framework\Adxstudio.Xrm\AspNet\Cms\WebsiteManager.cs:127

[AggregateException: One or more errors occurred.]
   System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) +4684257
   Site.Startup.ConfigurePortal(IAppBuilder app) in C:\__w\1\s\Samples\MasterPortal\App_Start\Startup.cs:135
   Site.Startup.Configuration(IAppBuilder app) in C:\__w\1\s\Samples\MasterPortal\App_Start\Startup.cs:38

[Exception: One or more errors occurred.]
   Adxstudio.Xrm.Web.Routing.SiteMarkerRoute.GetRouteData(HttpContextBase httpContext) in C:\__w\1\s\Framework\Adxstudio.Xrm\Web\Routing\SiteMarkerRoute.cs:143
   System.Web.Routing.RouteCollection.GetRouteData(HttpContextBase httpContext) +270
   System.Web.Routing.UrlRoutingModule.PostResolveRequestCache(HttpContextBase context) +68
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +223
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +220
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +94


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