Restore after total crash
Question asked by Heimir Eidskrem - 7/30/2017 at 10:48 AM
So our super fancy 3 node Windows 2016 Storage spaces Direct took a total crash on Thursday.
Should be impossible but it happened.  Several of the backups are corrupt since it backed it up that way.
I managed to find a backup and restore it but now it says it can't connect to database.
I can't find where the database connection is defined.  I think we installed this just using a local connection but I also see a smartertrack database on a SQL server. I think thats an old test db.
So where is the connection string defined.  I am sure its in the web.config file but can't find anything but this.
 <sessionState mode="InProc" cookieless="false" timeout="30" />
    <!--<sessionState mode="SQLServer" allowCustomSqlDatabase="true" sqlConnectionString="Data Source=localhost\sqlexpress;uid=aspnet;pwd=password;Initial Catalog=aspnetdb" cookieless="false" timeout="20"/>-->
    <!--<sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="false" timeout="20" />-->
    <globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" />
    <httpRuntime targetFramework="4.5" maxRequestLength="20480" executionTimeout="240" requestValidationMode="2.0" maxQueryStringLength="4096" />
    <authentication mode="Forms">
does anyone know how to check this?

Reply to Thread