Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

ArgumentException: endpoint is not set #26

Open
PratikInkey opened this issue Mar 6, 2020 · 2 comments
Open

ArgumentException: endpoint is not set #26

PratikInkey opened this issue Mar 6, 2020 · 2 comments

Comments

@PratikInkey
Copy link

While trying to run the project from visual studio, I am getting following exception:

File Name: Global.asax.cs
Line Number: 39
Line Code: Task.Run(() => ApplicationDomain.BootstrapAsync()).Wait();

Exception Details:
System.AggregateException
HResult=0x80131500
Message=One or more errors occurred.
Source=mscorlib
StackTrace:
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
at System.Threading.Tasks.Task.Wait()
at Microsoft.Store.PartnerCenter.Storefront.MvcApplication.Application_Start() in C:\Users\User1\Desktop\Partner Center Storefront\src\Storefront\Global.asax.cs:line 39

Inner Exception:
ArgumentException: endpoint is not set

Am I missing the any initial steps we need to perform before we can successfully build/run the solution?

@ghost
Copy link

ghost commented Mar 7, 2020

This exception is being encountered because one of the required configurations values is not set. The line of code throwing this exception can be found here. To resolve you will need to deploy and configure an instance of Azure Key Vault.

I would recommend using the ARM template to deploy the solution to Azure once. That you can have an easy way to compare the required application configurations to what you have locally in Visual Studio.

@mfansari82
Copy link

mfansari82 commented Mar 16, 2020

This exception is being encountered because one of the required configurations values is not set. The line of code throwing this exception can be found here. To resolve you will need to deploy and configure an instance of Azure Key Vault.

I would recommend using the ARM template to deploy the solution to Azure once. That you can have an easy way to compare the required application configurations to what you have locally in Visual Studio.

without deploy on azure, is their way to run in local system
i am not understand this
""partnercenterApiEndpoint": {
"type": "string",
"defaultValue": "https://api.partnercenter.microsoft.com"
}"
should i change this default value or any other thing i do for this.
I try to change this still i get same error. so can you please guide me where i put this end point value?
or any link by using that i configure this step by step?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants