Questions tagged as 'configurationmanager'

1
answer

Error debugging by null on connection

I want to document a unit test but I'm getting an error:    System.Exception: 'Error closing database connection: Object reference not set to an instance of an object.' My test case has been coded as follows: using System; using Microso...
asked by 17.11.2018 / 23:09
1
answer

The configuration section can not contain a text element or CDATA

The error began to appear when I added the variable: <add key="Teste" value="true"/> Entire App.Config: <?xml version="1.0" encoding="utf-8"?> <configuration> <appSettings> <add key="Teste" value="true"/...
asked by 05.06.2018 / 20:22