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

IIS Local Dev, connectionStrings with AKV #165

Open
coryisakson opened this issue Nov 5, 2021 · 0 comments
Open

IIS Local Dev, connectionStrings with AKV #165

coryisakson opened this issue Nov 5, 2021 · 0 comments

Comments

@coryisakson
Copy link

I am getting the following error when using the AKV Builder and running a project on local IIS. The error does not occur with IIS Express. It also does not occur with appSettings, it is only with connecitonStrings.
To reproduce the error:
Launch VS 2019 as Admin
Created a new ASP.NET MVC project.
Changed the target framework to .NET 4.7.2.
Added the package for Microsoft.Configuration.ConfigurationBuilders.Azure v.2.0.0
Change the deploy target to Local IIS
Added the configBuilders="AzureKeyVault" attribute to the connectionStrings.

image

Following the instructions here: MicrosoftDocs/azure-docs#17023 (comment) I am able to access the Key Vault even though the error still appears when starting the site via VS. Is it possible to prevent this error?

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

1 participant