Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>A couple of points:</p> <ol> <li>The <strong>SQL Session</strong> tables have names starting with <code>ASPState</code>, not <code>aspnet</code> - those are for the various provider stores (membership, roles, profiles, etc).</li> <li>If you run aspnet_regsql with -ssadd command, it will by default create a Database called "ASPState" with some stored procedures in it, and use TempDB for the actual persistance.</li> </ol> <p>To use your existing database, you would need to run:</p> <pre><code>aspnet_regsql -ssadd -sstype c -s LocalHost -d cms_db_dev -u sa -P XXXXX </code></pre> <p>This will:</p> <ul> <li><code>-ssadd</code> Add support for SQLServer Mode session state to the Sql Server specified with the <code>-s</code> option</li> <li><code>-sstype c</code> Create a custom persisted session state database, where both the data and the stored proc's are stored in the same database (as opposed to <code>p</code> which would store everything in a database called <code>ASPState</code>, or <code>t</code> which will create the stored proc's in the <code>ASPState</code> database but store the data in TempDB).</li> <li><code>-s Localhost</code> (or <code>-s .\</code>) Use the local database instance, update as needed.</li> <li><code>d cms_db_dev</code> The name of the custom database to add the tables and stored proc's to.</li> <li><code>-u sa -P XXXXX</code> Valid credentials to create the database, could probably use <code>-E</code> to use windows credentials if on LocalHost.</li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload