I have a .NET application that saves its connection strings in the application configuration file. I updated the connection string and tried to deploy a new version, but no matter what I try it still seems to be reading the old information from somewhere. I've tried deleting the program files folder and the user config. Where is it still getting the old configuration information from?
Where is my application pulling its stale configuration information from?
78 views Asked by John At
1
There are 1 answers
Related Questions in .NET
- file download method in visual studio 2017
- Repository manager receives the wrong connection string in .net core
- MongoDb not connecting C#
- The current .NET SDK does not support targeting .NET Core 6.0. Brand new WPF Project VS Community 2022 17.9.5
- Why Scanning GSI on DynamoDb doesnt work as fast as expected when using CONTAINS?
- Are "blittable types" really unmanaged types for StructLayout Sequential
- Failed to fetch dynamically imported module on Blazor JS Interop
- Problem to upload several images per one request
- Implementing Azure AD B2C Authentication in .NET 8 Blazor Project (RenderMode: InteractiveAuto)
- Stripe connect payout - throws exceptions
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Azure Application Insights Not Displaying Custom Logs for Azure Functions with .NET 8
- Convert C# DateTime.Ticks to Bigquery DateTime Format
- Socket.io nodejs server .NET connection
- Producer Batching Service Bus Vs Kafka
Related Questions in WINDOWS-10
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Spring @Scheduled cron fixed time doesn't work with OS suspension
- Swapping a healthy and unallocated partition in Windows 10
- Installing Docker on Windows 10
- Unexpected OS Shutdown
- Segfault GTK4 on windows 10
- FileSystemWatcher works reliably, unless I write to a log file
- IDT Audio Codec and Driver
- How can I use System.Security.Cryptography.ChaCha20Poly1305 on Windows 10?
- $WinREAgent folder keeps to automatically appear
- Powershell's InvokeVerb("delete") freezes after 22H2 update
- sdkmanager --list Exception in thread "main"
- Batch file wont run in Task Scheduler in Windows 10
- STM32 Not recognized by Windows 10
- C# X509Certificate2 private key disappear when GC occurs
Related Questions in CONFIGURATIONMANAGER
- .NET (C#) "Could not load file or assembly" to version 9 when all my projects are referencing version 7
- How to setup and read appsettings when creating a project in Visual Code?
- How modify user.config from AppData folder with another application?
- Automatic update of containers on ECS with configuration change
- I'm not able to find configurations like QA, QA-Hot, Stage, Stage-Hot, Ad-Hoc and Appstore in MAUI
- Configuration Manager Powershell Module Move-CMObject Error
- How to configuring Reporting Server Database Configuration?
- How to log application insights and read configuration in common class library in minimal api net7
- ASP.NET Core 7 configuration get section bind method does not work with double underscore values
- How to access ConfigurationManager during host program startup?
- .net core 7: get a list with null-values from appsettings
- Using <cfgmgr32.h> in MFC - Error CR_ACCESS_DENIED
- Blazor WASP App (ASP.NET Core Hosted) Trying to get a setting value from my appsettings.json file
- Custom SCCM / MECM / ConfigMgr PowerShell script issue
- SCCM client with dual windows boot on the same computer
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Unbeknownst to me, Windows 10 was storing my application's config file in
C:\Users\myuser\appdata\local\VirtualStore\Program Files (x86)\My Company\MyProgram\MyProgram.exe.config. The key there being theVirtualStorefolder. Since this application was written a while ago, it tries to write to the application config file in program files. Starting in Windows Vista, you couldn't do this anymore. Apparently in Windows 10, Windows tries to be helpful and actually lets you do it by virtualizing the call to the above folder.So if your configuration file seems funky, you can check the above folder.