In connection string to our independent postgreSQL server, there is this connection:
<add name="postgres" connectionString="User ID=postgres;Host=localhost;Port=4432;Database=postgres;Pooling=true;Min Pool Size=0;Max Pool Size=90;Connection Lifetime=3600;Unicode=true;" providerName="Devart.Data.PostgreSql" />
Originally I thought it is useless, as there is no password, the port is different from other 2 connection strings. But when I remove it, the repository service keeps failing. I see error from event viewer:
Unhandled exception: Object reference not set to an instance of an object.
Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'AdminDatabaseInformation'. ---> Object reference not set to an instance of an object. (See inner exception for details.) ---> System.NullReferenceException: Object reference not set to an instance of an object.
Question is, what does the connection string do?
Best regards,
Susan