Node.js SQL Server driver issue - fails to install - sql-server

I am using Node.JS version v0.10.13.
I am using Python version 2.7.2.
I am using node-gyp version 0.10.2 according to the package.json file.
Output from trying to install node-sqlserver via npm
http://pastebin.com/N262mMR8
Output from trying to install msnodesql via npm
http://pastebin.com/czY4S2Sq
Not sure what next steps I should take to resolve the issue? My machine has Visual Studio 2012 and Visual Studio 2010 installed.
Update: What is the solution for this in the Azure world / Azure Mobile Services?

Related

CMake Error: Could not create named generator Visual Studio 16 2019 in flutter

I want make windows app with flutter.so I installed Visual Studio 2019 with desktop development with c++.
when I use flutter run -d windows I see
this error
I also installed latest version of CMake(version 3.20.0-rc4) and version of my Visual Studio is 16.0.0
I can tell from that image you aren't actually running cmake 3.20
Because Ninja Multi-Config isn't being listed as a generator. That flutter command you used isn't using the CMake you installed on your system. Or you need to restart your machine.
I find the problem.
for resolve this problem I have 3 different way and I'm not sure which one resolve this problem.
first uninstall CMake
if you run flutter doctor and don't see any error create another flutter project with flutter create <project_name> and run that with flutter run -d windows
I was using Windows SDK version 10.0.17763.0 I update that to latest version(10.0.19041.0)
I update my visual studio 2019 to latest version(16.9.1)

Nothing provides python needed by mssql-server-is

I'm trying to install SQL Server Integration Services on RHEL 8. I have SQL Server 2019 (version v15) installed and running successfully, but when I try and follow this:
https://learn.microsoft.com/en-us/sql/linux/sql-server-linux-setup-ssis?view=sql-server-ver15#RHEL
The RHEL 8 repo doesn't have the mssql-server-is package in it, and using the RHEL 7 repo throws this error:
Error: Problem: conflicting requests
- nothing provides python needed by mssql-server-is-15.0.2000.5-4.x86_64 (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
I have both Python2 and Python 3 installed, and when I run this:
alternatives --config python
I see that /usr/bin/python2 is selected
Any ideas how I can get SSIS installed for RHEL 8 and SQL Server 2019?
I could install it by downloading the rpm and then installing it using --nodeps option as below:
sudo yum download mssql-server-is
sudo rpm -Uvh --nodeps mssql-server-is*rpm
Worked pretty smooth for me.

Microsoft's Node.JS driver does not work

I tried following this but with no luck.
http://blogs.msdn.com/b/sqlphp/archive/2012/06/08/introducing-the-microsoft-driver-for-node-js-for-sql-server.aspx
Every time I try to build it, it fails.
Does anyone have any ideas as to why does it fail to build. I am also using the latest version of Node if that helps.
Thanks for your question. Just to clarify you are using the msnodesql driver right?
One of the reasons that you might not be able to build is because you are using the latest node version.
The Microsoft Node.js driver is not forward compatible. The next version is in the pipeline. In the meanwhile you will have to downgrade your node.js version to 0.8.9.
Additionally there are a few other requirements. Follow these steps and you should be good.
Node.js – Version 0.8.9 (32 bit version). Make sure you download the x86 version and not the x64 version. You might have to uninstall your current version and re-install this version to ensure compatibility.
Python 2.7.6.
Visual C++ 2010 - the Express edition is freely available from Microsoft.
SQL Server Native Client 11.0 - available as Microsoft SQL Server 2012 Native Client found in the SQL Server 2012 Feature Pack.
Then just enter these in your node.js command prompt
1. npm install msnodesql
2. npm install -g node-gyp
3. node-gyp configure
4. node-gyp build
You should now see a build folder inside msnodel.
Navigate to build > release. Copy the sqlserver.node file and paste it in the msnodesql > lib folder. Replace the old file if needed.
Now you can follow the rest of the instructions on the blog you mentioned which will help you with connection string and connecting to your db. Let me know if you are still stuck.
Thanks

NPM Install Error - Msnodesql

I'm running npm to install msnodesql, an npm library for sql server drivers. I am installing this on a Windows Server 2012 box.
I have installed Visual C++ 2010, node-gyp and Python 2.7.x.x as dependencies, and all of these installs were successful.
When I run npm install msnodesql, I get a big red error:
(x86)\MSBuild\Microsoft.Cpp\v4.0\Miscrosoft.Cpp.InvalidPlatform.Targets(23,7):
error MSB8007: The Platform for project 'sqlserver.vcxproj' is
invalid. Platform='x64'. You may be seeing this message because you
are trying to build a project without a solution file, and have
specified a non-default Platform that doesn't exist for this project.
My box is 64-bit. Not too experienced in this stuff at all, so though it looks like a platform error, i'm really not sure what to do.
Help!
I got the same error. Turns out I needed to remove my installed node.js (64 bit) and download 32-bit node.js instead. Once I did this I ran node-gyp configure, then node-gyp build with no errors.

how to install sqlserver2005 evaluation on xp sp2 machine

Duplicate
https://serverfault.com/questions/7541/how-to-install-sqlserver2005-evaluation-on-xp
Hi
I am unable to instal SQLSERVER2005 evaluation version on winXp service pack2 machine. iam getting the error such that error 87: dotnet framework 2.0 installation and parameter incorrect.
Before run the sqlserver 2005 setup i hav installed .NET FRAMEWORK2.0 manually rather than sqlserver2005 suite.
vs2003 is also installed on my machine.
is it problem vs2003 installation before sqlserver2005??
When you run the installer for SQLServer 2005, the first thing it does is to check if the installation prerequisites are present on the system. That portion of the installer should install a suitable version of .NET Framework 2.0 for SQL Server 2005. Please try installing the framework as a prerequisite to installing SQL.

Resources