Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WebToolsE2E][Aspire] Failed to run eShop.web solution: "Failed to apply configuration value 'APPLICATIONINSIGHTS_CONNECTION_STRING'." #43

Open
v-sherryfan opened this issue May 7, 2024 · 9 comments

Comments

@v-sherryfan
Copy link

REGRESSION INFO: Also repro on Aspire 8.0 Preview 6

INSTALL STEPS

  1. Clean machine: Win11 x64 23h2 ENU
  2. Install VS 17.10 Preview 7 [ Includes Aspire 8.0.0-preview.7.24251.11 and SDK 8.0.300-preview.24203.14 ]
  3. Apply NuGet dotnet-tools Feed
  4. Install Docker Desktop for Windows

REPRO STEPS

  1. Clone eShopOnAzure repo, Checkout the aspire-preview7 branch
  2. Update sdk version to 8.0.300-preview.24203.14 in global.json
  3. Open eShop.Web.slnf
  4. Build and Run (F5 / Ctrl+F5)

ACTUAL
Failed to apply configuration value 'APPLICATIONINSIGHTS_CONNECTION_STRING'. A dependency may have failed to start.
image
image

EXPECTED
All projects run successfully.

@cwash05
Copy link

cwash05 commented May 13, 2024

if you update the appsetttings in the eshop.AppHost the error will go away.

@v-sherryfan
Copy link
Author

@cwash05 Can you provide detailed information, such as screenshot, thank you.

@cwash05
Copy link

cwash05 commented May 16, 2024

image

@danmoseley
Copy link
Collaborator

@BrennanConroy I'm getting exactly this .. any suggestion? Some dependency I missed?

@BrennanConroy
Copy link
Contributor

Does #43 (comment) not help?

@v-sherryfan
Copy link
Author

@BrennanConroy It's helpful, the solution worked successfully, but going to the webapp url and logging into the account failed, I'm not sure if they are the same issue, please help check it.
image
image

@BrennanConroy
Copy link
Contributor

You're not going to be able to log in unless you setup Entra. I'm not sure who created the CTI work item or where it is, but this requires a lot more work than just F5 and add an app insights connection string.

@cedrox
Copy link

cedrox commented Jun 2, 2024

Sorry @BrennanConroy, can you point to the relevant documentation ?

@BrennanConroy
Copy link
Contributor

There isn't any yet
#3

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

No branches or pull requests

5 participants