title: msnodesql on WIndows 8 with VS 2012 and SQL Server 2012
body: <p>I have a small node.js app working on windows 7 that retrieved data successfully from a SQL Server 2008 database.</p>
  
  <p>I recently got a new computer and installed windows 8, with VS 2012, and SQL Server 2012. I installed the latest version of node. I went to install the node sql driver and I found that there was an installer for it at <a href="http://www.microsoft.com/en-us/download/details.aspx?id=29995" rel="nofollow">http://www.microsoft.com/en-us/download/details.aspx?id=29995</a></p>
  
  <p>I downloaded the latest version (0.2.1-v0.8) and ran this installer. I run the app and it doesn't connect nor gives me an error.</p>
  
  <p>I tried doing the install the "old fashioned" way as is recommended on github : <a href="https://github.com/WindowsAzure/node-sqlserver" rel="nofollow">https://github.com/WindowsAzure/node-sqlserver</a> and this too did not seem to work. (Which means I had to install VS 2010 and Python.)</p>
  
  <p>Is this sql driver supported on windows 8 (64 bit)? </p>
  
  <p>If anybody has any advice, I'm willing to try just about anything. </p>
  
  <p><strong>UPDATE:</strong>
  I tried this in a new node project which I started from scratch and after following the instructions to install the msnodesql driver from npm, I got it to work.</p>
  
  <p>I think on my initial steps to build the driver, something must have went wrong. Here are the steps that I followed to retrieve data from the SQL db on Windows 8 using SQL Server:</p>
  
  <ol>
  <li>npm install msnodesql</li>
  <li>Went to the .\node_modules\msnodesql directory for the project</li>
  <li>node-gyp configure</li>
  <li>node-gyp build</li>
  <li>Then copied the sqlserver.node file from the build\Release directory within the msnodesql directory to the lib directory</li>
  <li>Use the module as normal</li>
  </ol>
  
  <p>Sure.. This is what the instructions are on the git page... Maybe I ran the build from a different directory.. or just did something stupid... But Windows 8 can run msnodesql without a problem.</p>