Creating a linked server for connecting to excel file - sql-server-2012

I want to create a linked server for connecting to excel file and i have used below address for doing that:
https://www.sqlshack.com/query-excel-data-using-sql-server-linked-servers/
After installing (accessdatabaseengine.exe) the provider has not been added to my provider in sql server.
When i wanted to install accessdatabaseengine_x64.exe i got error because office is 32 bit.
My office is 32 bit version and my sql server is 64 bit version. I do not have permit to re-install of my office and my sql server.
Please help how i can solve my problem.

Masoud,
Architecture versions have to match unfortunately so you would need to install 64-bit office to make that adaptor to work.
You could possibly use SSIS to a raw table and process that way but this depends on your workload and frequency of updates required.

Related

Unable to browse Integration Services on SQL 2016

I've installed SQL Server 2016 (Standard Edition) on a Windows Server 2016, selecting Integration Services to be installed too. I've also installed SSMS and SSDT from the same installation media.
I am running SSMS as administrator and can connect to the local Database engine.
My user is a Windows and SQL Server admin.
However I cannot connect (explicitly using the server name) or even browse to the local Integration Services?
Receiving the following error.
SSIS not browsable and can't connect
Having already searched for an answer to this problem, many suggest checking that the service is running etc. which can be seen in the Services and SQL Configuration Manager.
Services shown as running
I've also tried turning off the Windows Firewall to establish if that is the cause of the problem but it had no effect.
Anyone got any ideas what might be preventing it from being accessible?
I've had this problem last month. In my case I had to install the 32-bit version of access database engine (on my 64 bit windows).
Sql data tools works with 32-bit
https://www.microsoft.com/en-us/download/details.aspx?id=54920
The later SSMS versions (16.x and 17.x) will only connect to their respective versions SQL 2016 and SQL 2017. Microsoft is planning to retire the older method in favor of the SSISDB, which is more secure.
Link to the official statement from Microsoft (in the note box).
I have had the same problem and the solution was to install the old interface on top of the existing one (SQL Server Management Studio 2016). Here's link to the installation file. After having installed this, I can now connect to the integration services. You will have to set it up of course and give yourself Rights

Microsoft Azure + OleDB + FoxPro

I have a solution that talks to a FoxPro database (dbc) table (dbf) via the MS OleDb provider. Recently we would like to roll this solution out to MS Azure but it says the provider is not installed.
Exception: Unable to find the requested .Net Framework Data Provider.
It may not be installed.
Any idea hot to get this installed? The solution runs on my local machine without errors. I've googled this but unable to find anything specific - however I did see articles that indicated OleDb is not supported yet can be installed.
Here is the direct error message i'm getting on the azure website
The underlying provider failed on Open. The 'VFPOLEDB' provider is not registered on the local machine.
Azure might be running on x64 bit OS. You need to have an Ole DB provider for foxpro that works well for x64 OS. or you can change it to x86 OS
Azure is Microsoft's cloud version of a SQL-Server database, so to connect to that you'll need SQL driver not VFP's OleDB. Now if you need to query one table in VFP and another that is in Azure, I do not believe you can ... even if both are 32-bit, and VFP will only ever be 32-bit anyhow. If you do need to query between both, it would have to be done in a 3-part process I guess. Query from Azure to .Net (like a DataTable result), query from VFP (also to DataTable), then you could manually scroll through the rows and get what you need, such as with LINQ.

Will creating a database using SQL Server Express 10 and using SQL Server Express 10.5 for running it cause any issue?

If I create my database using SQL Server Express 10 and in target system where my application needs to run SQL Server Express 10.5, will I face any problems?
On my system I have SQL Server Express 10 installed (I guess it was installed with Visual Studio 2010) after sometime I installed VS2012 and removed it couple of months later. In my application I use .\sqlexpress in the connection string, I am not sure whether this is a SQL Server 2012 Express version or a 2010 version which is being used on my system?
So I just wanted to know if moving to the new system would cause me any kind of incompatibility or weird and unpredictable results and to avoid them what do I need to install on the target machine?
And also what would be sufficient to be installed on the target system by the way?
When I search SQL Server Express, there are several versions with different sizes, which one is needed and is enough?
This is perfectly safe but you can't go back because the database will be upgraded.

POWERBUILDER 11.1 Database Profile Does Contain SNC SQL Native client

I have POWERBUILDER 11.1 installed on my workstation, however I dont see the SNC SQL Native client in the Database Profile window. I have reinstalled the IDE multiple times without succesfuly having the SNC SQL Native Client dipslaying. My OS is Windows XP 32 bit.
How do I resolve this issue so I can connect to my SQL DB?
Do you have the SQL Server Native Client runtime installed on your machine? It's a package from Microsoft that is needed to access SQL Server. You can get the SQL Server 2008 version here: http://www.microsoft.com/en-us/download/details.aspx?id=16978 (Scroll down until you find sqlncli.msi). It needs to be installed on all the client machines that will be accessing SQL Server.
It sounds like you need to do a Full install or a Custom install and select SNC. I don't recall if SNC is part of the default installation, but it sounds like not.
Good luck,
Terry.
I think that you can not connect to SQL Server 2008 using PB 11.1, but I am not sure. Maybe you can but I can't remember if it is possible to use all the new features of 2008 version.
I am sure that you can connect to SQL Server 2005 cause I'm doing it every day, but you must first install SQL SNC driver as slapout answered.

Connecting to Oracle on Windows 7

I have installed Oracle Client 10g 32 bit and ODAC 11g R2 on my Windows 7 machine, but I cannot see any Oracle Providers in MS ODBC Administration or when I try to created a linked server to Oralce in SQL Server Management Studio or in Visual Studio 2010. Can anyone please help me out as what to do? I can connect to Oracle server through SQLPlus but get errors when connecting through VS 2010 using MS providers for Oracle.
Please help!
When you installed the Oracle Client, did you also install the ODBC driver? IOW, did you do a custom install and add in the ODBC driver? Unless you do a full client install the ODBC drivers are not installed.
You're not specifying if your windows 7 installation is 32 or 64 bit.
If it's 32 bit then see the previous answer, restart Oracle installer and check that ODBC is selected.
If it's 64 bit I advise you to install both the Oracle client in 32 bit (as you did) and also the Oracle 11 client in 64 bit, so that you can use the proper library.
In any case I still haven't found a proper way to perform Oracle installation on Windows 7 (64 bit) that works for every client and tool combination, good luck.
I struggled with this for a while too, best solution I found was here:
http://dotnetcrap.blogspot.com/2009/08/oracle-client-on-windows-7.html