Questions tagged [configuration-files]

Files that configure the initial settings for some computer programs.

2246 questions
0
votes
1 answer

ConfigurationManager.RefreshSection doesn't work with web.config but work with app.config

I made some tests in a console application and all is working properly. After calling: ConfigurationManager.RefreshSection("appSettings"); I'm able to access settings with ConfigurationManager.AppSettings and I receive the new value. Unfortunately…
user1812102
  • 51
  • 1
  • 6
0
votes
0 answers

Make a sprint boot application configurable

So I’m looking to have two websites within one website… if that makes sense… Aka I want to be able to have one project, but when I deploy I can change one value I the properties file, which switches the application. Basic Explanation: 1 Spring Boot…
Jack
  • 1
0
votes
2 answers

Trying to read a config file in order to connect to twitter API

I am brand new at all of this and I am completely lost even after Googling, watching hours of youtube videos, and reading posts on this site for the past week. I am using Jupyter notebook I have a config file with my api keys it is called…
IDK
  • 15
  • 3
0
votes
0 answers

Get Constants out of configuration File in a global namespace to get autocomplete support in Visual Studio Code (Python)

I am working with Visual Studio Code Python Extension on different projects. For different projects I need often the same Constants information (passwords, tokens, servernames...). One best practice is to use configuration files (ini, yaml...) to…
0
votes
1 answer

Can I use System.ConfigurationManager to read another config file - in PowerShell

We have some config parms in our BizTalk config file. I'd like to access them in PowerShell using System.ConfigurationManger, rather than writing a custom function to parse the xml and do it. I'm trying what is described in this blog:…
NealWalters
  • 17,197
  • 42
  • 141
  • 251
0
votes
1 answer

Passing configuration variables to a PHP app in a Docker image without overcomplicating the configuration loading process in the app

I have a simple PHP app which keeps its configuration in a JSON file which is loaded into the app using the Noodlehouse\Config configuration loader. Now I would like to share this app also as a Docker image, but I don’t want the configuration to be…
0
votes
0 answers

Mongodb Kerberos Configuration Steps - Windows

I'm new to Mongodb and have the task of configuring it to use AD groups and Kerberos Authentication. I do not need a replica setup. I manage to create a myUserAdmins account with the SCRAM 256 Mechanism, but lost access to this account from cli as I…
0
votes
1 answer

Visual Studio Projects Fail to Load over WebDav Mapped Network Drive

I recently set up a WebDav server on my network in New York so I can access web projects from my office in California. Everything appears to be working except that I can't get any Visual Studio projects stored in the WebDav folder to load. I have…
0
votes
0 answers

log4j2 can't locate config file

I'm using log4j2.13.0 with Java 11, and it will not find the XML config file using VM arg -Dlog4j.configurationFile=/path/tofile, despite everything I'm reading saying that should work. It can find it if I cput the file on the classpath, but I'd…
MidnightJava
  • 1,927
  • 2
  • 18
  • 38
0
votes
0 answers

Python: Choosing between multiple config files based on the number of arguments passed

I am very new to python and have a project in which I am working on the following: I have 2 py config files with multiple parameters inside them. They named config_default and config_custom both with the function name def config(). Config default…
0
votes
2 answers

Specifying Non-Absolute Paths to Libraries in GNU APL

I want to be able to use the same config file across all of my machines, and my username is unfortunately different at work, so absolute paths are difficult for me to use. Is there a common way to specify non-absolute directories for LIBREF-*…
0
votes
0 answers

Is it ok to do the indentation in. json file in xcode?

I was forced do some change in .json config file in xcode. I was not able to do it since i cant identify the start and end of a key vlue pair. So i copied the entire text in json file clicked validate JSON in https://jsonlint.com. Did the changes…
Anees
  • 514
  • 5
  • 20
0
votes
0 answers

pull docker image from private registry through maven settings.xml

I'm setting up a custom TestContainer by pulling an image from a private registry. At the moment it looks like this (it works): public static GenericContainer customContainer = new GenericContainer<>( …
0
votes
0 answers

How to force nginx skip servers with incorrect config

I have multiple servers (divided in config files in sites-available). nginx.conf include /etc/nginx/modules-enabled/*.conf; events { worker_connections 1024; } http { client_max_body_size 500M; client_header_buffer_size 24k; …
0
votes
1 answer

PyCharm font size got too big

I was setting the font size of PyCharm's appearance window since it was too small, accidentally from 21 it became 213, now I am unable to do anything about it. How can I change or revert it back to original? I have tried uninstalling it from snap…