microsoft / Partner-Center-Storefront

A storefront that enables reseller partners to onboard customers and place orders for these customers.
MIT License
20 stars 55 forks source link

failed to run the store front application in app service #36

Open manish-nippon opened 4 years ago

manish-nippon commented 4 years ago

We tried to use Visual Studio to deploy the code to Azure App Service. Also configured the web.config file. But the web app currently reporting the following error message. "[ArgumentException: endpoint is not set]" In which configure file should we set the endpoint value, and how to set it? detailed error message:

[ArgumentException: endpoint is not set] Microsoft.Store.PartnerCenter.Storefront.ValidationExtensions.AssertNotEmpty(String nonEmptyString, String caption) in C:\Users\Administrator\Desktop\Partner-Center-Storefront-master\src\Storefront\ValidationExtensions.cs:43 Microsoft.Store.PartnerCenter.Storefront.BusinessLogic.KeyVaultService..ctor(String endpoint) in C:\Users\Administrator\Desktop\Partner-Center-Storefront-master\src\Storefront\BusinessLogic\KeyVaultService.cs:39 Microsoft.Store.PartnerCenter.Storefront.BusinessLogic.d__65.MoveNext() in C:\Users\Administrator\Desktop\Partner-Center-Storefront-master\src\Storefront\BusinessLogic\ApplicationDomain.cs:119

[AggregateException: One or more errors occurred.] System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) +4751668 System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) +14351601 Microsoft.Store.PartnerCenter.Storefront.MvcApplication.Application_Start() in C:\Users\Administrator\Desktop\Partner-Center-Storefront-master\src\Storefront\Global.asax.cs:39

[HttpException (0x80004005): One or more errors occurred.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +517 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +185 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369

[HttpException (0x80004005): One or more errors occurred.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714

manish-nippon commented 4 years ago

HI Team ,

please reply on same