1. I use the same licensing server I get the license from, just like how you would install any of the other applications on the VM which do work.
2. The service is started and running as the serviceaccount.
There is no such app.config in the searchservice folder or web.config only the SearchSite has a file which is web.config. And your support site wont let me upload the file so I am going to just have to copy paste the data:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
</configSections>
<appSettings>
<add key="WcfConnectionCacheTimeout" value="30" />
</appSettings>
<system.web>
<authentication mode="None" />
<compilation targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" enableVersionHeader="false" />
<pages>
<namespaces>
<add namespace="System.Web.Helpers" />
<add namespace="System.Web.Mvc" />
<add namespace="System.Web.Mvc.Ajax" />
<add namespace="System.Web.Mvc.Html" />
<add namespace="System.Web.Routing" />
<add namespace="System.Web.WebPages" />
</namespaces>
</pages>
<customErrors mode="On" defaultRedirect="~/Error">
<error redirect="~/Error/Unauthorized" statusCode="401" />
<error redirect="~/Error/NotFound" statusCode="404" />
</customErrors>
</system.web>
<system.webServer>
<validation validateIntegratedModeConfiguration="false" />
<modules runAllManagedModulesForAllRequests="false">
<remove name="FormsAuthentication" />
<remove name="WebDAVModule" />
<remove name="UrlRoutingModule-4.0" />
<add name="UrlRoutingModule-4.0" type="System.Web.Routing.UrlRoutingModule, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" preCondition="" />
<add name="SessionAuthenticationModule" type="Laserfiche.IdentityModel.LFDSSessionAuthenticationModule, Laserfiche.IdentityModel" preCondition="managedHandler" />
<add name="WSFederationAuthenticationModule" type="Laserfiche.IdentityModel.LFWSFederationAuthenticationModule, Laserfiche.IdentityModel" preCondition="managedHandler" />
</modules>
<handlers>
<remove name="WebDAV" />
<remove name="ExtensionlessUrlHandler-Integrated-4.0" />
<add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="GET,HEAD,POST,DEBUG,PUT,DELETE,PATCH,OPTIONS" type="System.Web.Handlers.TransferRequestHandler" preCondition="integratedMode,runtimeVersionv4.0" />
</handlers>
<httpProtocol>
<customHeaders>
<clear />
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
<staticContent>
<remove fileExtension=".woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
</staticContent>
</system.webServer>
<system.identityModel>
<identityConfiguration saveBootstrapContext="true">
<audienceUris mode="Never" />
<certificateValidation certificateValidationMode="None" />
<issuerTokenResolver type="Laserfiche.IdentityModel.LFDSSecurityTokenResolver, Laserfiche.IdentityModel, Culture=neutral" />
<issuerNameRegistry type="Laserfiche.IdentityModel.LFIssuerNameRegistry, Laserfiche.IdentityModel, Culture=neutral" />
<caches>
<sessionSecurityTokenCache type="Laserfiche.IdentityModel.LFDSSessionSecurityTokenCache, Laserfiche.IdentityModel">
<configuration enableAutoGetToken="true" autoGetTokenTarget="" />
</sessionSecurityTokenCache>
</caches>
</identityConfiguration>
</system.identityModel>
<system.identityModel.services>
<federationConfiguration>
<cookieHandler requireSsl="true" name="FsAuth" path="/FederatedSearch" />
<wsFederation persistentCookiesOnPassiveRedirects="true" passiveRedirectEnabled="true" issuer="https://laserfiche-directory-server/LFDSSTS/" realm="https://localhost/FederatedSearch/" reply="https://localhost/FederatedSearch/" homeRealm="urn:laserfiche:lfdsdb:lfds" requireHttps="true" />
<configuration enableReferenceMode="true" />
</federationConfiguration>
</system.identityModel.services>
<system.serviceModel>
<bindings>
<ws2007FederationHttpBinding>
<binding name="WS2007HttpBinding_IFederatedSearch" maxReceivedMessageSize="65536000">
<readerQuotas maxArrayLength="10242880" />
<reliableSession enabled="true" ordered="false" inactivityTimeout="00:20:00" />
<security mode="TransportWithMessageCredential">
<message algorithmSuite="Default" establishSecurityContext="true" issuedKeyType="BearerKey" negotiateServiceCredential="false" />
</security>
</binding>
</ws2007FederationHttpBinding>
<ws2007HttpBinding>
<binding name="WS2007HttpBinding_ILicenseManager" maxReceivedMessageSize="2147483647">
<readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" />
<security mode="Message">
</security>
</binding>
<binding name="WS2007HttpBinding_ILFSecurityTokenService" maxReceivedMessageSize="2147483647">
<readerQuotas maxStringContentLength="2147483647" maxArrayLength="2147483647" />
<security mode="Message">
</security>
</binding>
</ws2007HttpBinding>
<basicHttpsBinding>
<binding name="basic" maxBufferSize="6553600" maxReceivedMessageSize="6553600" />
</basicHttpsBinding>
</bindings>
<behaviors>
<endpointBehaviors>
<behavior name="AltServiceBehavior">
<clientCredentials>
<clientCertificate storeLocation="LocalMachine" x509FindType="FindByThumbprint" />
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
<client>
<endpoint address="https://localhost/FederatedSearchApi/b3406218-db12-4687-8482-218f169955ca/search" binding="ws2007FederationHttpBinding" bindingConfiguration="WS2007HttpBinding_IFederatedSearch" contract="Laserfiche.FederatedSearch.ISearch" name="search" />
<endpoint address="https://localhost/FederatedSearchApi/b3406218-db12-4687-8482-218f169955ca/health" binding="basicHttpsBinding" bindingConfiguration="basic" contract="Laserfiche.FederatedSearch.Admin.IHealthCheck" name="fsHealth"></endpoint>
<endpoint address="https://localhost/FederatedSearchApi/b3406218-db12-4687-8482-218f169955ca/admin" binding="basicHttpsBinding" bindingConfiguration="basic" contract="Laserfiche.FederatedSearch.Admin.IFederatedSearchAdmin" name="admin"></endpoint>
<endpoint address="http://lcoalhost:5048/LicenseManager/service" binding="ws2007HttpBinding" bindingConfiguration="WS2007HttpBinding_ILicenseManager" contract="LicenseManagerService.ILicenseManager" name="LicenseManagerService">
<identity></identity>
</endpoint>
<endpoint address="http://localhost:5048/LicenseManager/service" binding="ws2007HttpBinding" bindingConfiguration="WS2007HttpBinding_ILicenseManager" contract="LicenseManagerService.ILicenseManager2" name="LicenseManagerService2">
<identity></identity>
</endpoint>
<endpoint address="http://localhost:5048/LicenseManager/sts" binding="ws2007HttpBinding" bindingConfiguration="WS2007HttpBinding_ILFSecurityTokenService" contract="LicenseManagerSTS.ILFSecurityTokenService" name="LicenseManagerSTS">
<identity></identity>
</endpoint>
</client>
</system.serviceModel>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-10.0.0.0" newVersion="10.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Helpers" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-5.2.0.0" newVersion="5.2.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Optimization" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="1.1.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.WebPages" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="WebGrease" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="0.0.0.0-1.6.5135.21930" newVersion="1.6.5135.21930" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="Antlr3.Runtime" publicKeyToken="eb42632606e9261f" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-3.5.0.2" newVersion="3.5.0.2" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="LicenseManagerObjects" publicKeyToken="3f98b3eaee6c16a6" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-10.3.0.0" newVersion="10.3.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Net.Http.Formatting" publicKeyToken="31bf3856ad364e35" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>