title: Problems with IDENTITY_INSERT Set to OFF? :-/
body: <p>I'm trying to insert order details into my DB, and it keeps saying:</p>
  
  <blockquote>
    <p>Cannot insert explicit value for identity column in table 'Orders' when IDENTITY_INSERT is set to OFF.</p>
  </blockquote>
  
  <p>All I am trying to do is simply insert the users UserId into the UserId column, by using <code>WebSecurity.CurrentUserId</code> - Why is this not working?</p>
  
  <p>I have:</p>
  
  <pre><code>dbase.Execute("INSERT INTO Orders 
                   (UserId, OrderId, Status) 
                 VALUES 
                   (@0, @1, @2)", 
                 WebSecurity.CurrentUserId, 
                 Session["OSFOID"], 
                 "Confirmed");`
  </code></pre>
  
  <p>So, as you can see, it's pretty simple. But, why won't it work?</p>
  
  <p>My table definition is:</p>
  
  <p><img src="https://i.stack.imgur.com/MKAEi.png" alt="Table Definition"></p>