ole

The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 64-bit driver is not installed, run the package in 32-bit mode

匿名 (未验证) 提交于 2019-12-03 01:45:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm trying to run a job in SQL Server Management Studio that executes a SSIS package. The SSIS package copies data from an excel file to a database. I installed the 64-bit version of Microsoft Access Database Engine ( https://www.microsoft.com/en-us/download/details.aspx?id=13255 ). When I tried to run the SSIS package by itself (through Data Tools, not as a job) it displayed an error about ACE.OLEDB not being registered. I got the same error when running the SSIS package as a job. I uninstalled the 64-bit version and installed it's 32-bit

Oracle OLE DB Provider not Listed in SSIS

匿名 (未验证) 提交于 2019-12-03 01:39:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm having an issue with SSIS and VS2015 CM. I have a package that needs to connetc with Oracle to get some data. I installed the ODAC for Win64 and the Oracle client but I can't see the Oracle provider for OLE DB listed in the providers list. Although I can see the Microsoft OLE DB provider for Oracle it doesn't work when I try to use that provider either. What should I do to get the Oracle OLE DB provider listed? 回答1: You have to download and install the Oracle Data Access Components (ODAC) 32-bit: Download Link 32-bit Oracle Data Access

Error: “OLE DB provider ”MSDASQL“ for linked server ”(null)“ returned message ”[Microsoft][ODBC Driver Manager] Data source name not found …\"

匿名 (未验证) 提交于 2019-12-03 01:29:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: If I execute the following command: select * from OpenRowset ( 'MSDASQL', 'Driver={Microsoft Text Driver (*.txt;*.csv)};DefaultDir=C:\;', 'select top 10 * from C:\x.csv' ) ... then Microsoft SQL Server Management Studio responds with: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. I'm running Microsoft SQL Server 2008 R2 on Win 7 x64. I've also tried it on Windows Vista x32, same error. Questions: Has anyone successfully run this command on Win 7 x64? Do any of you know what could be causing the

Quick ways to test OLE DB Connection String

匿名 (未验证) 提交于 2019-12-03 01:25:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: For debugging purpose I'd like to know ways to test OLE DB connection string quickly. I've found this free software , it works on my machine, tested successfully. Is there a even quicker way to do so, maybe from command line on Windows? Because most of the time, it is the client rather than me that would do this task, so I prefer a "zero-installation" approach that would impact their system the least. 回答1: If the client has PowerShell installed (a given if they are running Windows 7 or Windows Server 2008 R2), then you can execute

An OLE DB Provider was not specified in the ConnectionString. 'Provider=SQLOLEDB;

匿名 (未验证) 提交于 2019-12-03 01:14:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i trying to run query using C#, i am getting the following problem An OLE DB Provider was not specified in the ConnectionString. An example would be, 'Provider=SQLOLEDB; my code string strConString = System.Configuration.ConfigurationManager.ConnectionStrings["WorkflowConnStr"].ConnectionString.ToString(); string sqlstr = "select * from table" OleDbConnection myConnection = new OleDbConnection(strConString); try {myConnection.Open();} catch (Exception err) { System.Diagnostics.Debug.WriteLine(err.Message); } OleDbCommand myCommand = new

Ole::Storage::FormatError: OLE2 signature is invalid

匿名 (未验证) 提交于 2019-12-03 00:51:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to read an Excel File in my Rails Application. This is how I open my Excel file and read it. doc = Spreadsheet.open('./try.xls', "r") sheet = doc.worksheet 0 sheet.each do |row| array_rows << row.to_a end I have it as a rake task.When I try to Read this file it throws an error. Ole::Storage::FormatError: OLE2 signature is invalid What is happening? what should I do? 回答1: The .xls file must be saved in EXCEL 2003 format. So File-->Save As from All Formats dropdown select the Excel year 2003 This solved my problem 回答2: On Mac I had to

Microsoft OLE DB Provider for SQL Server error &#039;80040e14&#039; Incorrect syntax near &#039;=&#039;

匿名 (未验证) 提交于 2019-12-03 00:50:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I get this error when i try to retrieve the data from database using the following piece of code. Can someone help? set rs = Server.CreateObject("ADODB.recordset") sql = " SELECT * from COMPANY WHERE COMPANY_ID = " & Request.Form("CompanyId") rs.Open sql, cnn 回答1: First of all, this is bad practice to do ad-hoc queries without using parameters. SQL Injection attack info: http://en.wikipedia.org/wiki/SQL_injection To answer the question, though, you need to have single quotes around your varchar or char value that you are searching for. set

ADO.NET连接字符串大全

匿名 (未验证) 提交于 2019-12-03 00:42:01
各种数据库的连接字符串 各种数据库的连接字符串 ADO.NET连接字符串大全 ADO.NET连接字符串 名称 ADO.NET连接字符串 说明 ADO.NET连接字符串:SQL Server,SQL Server 2005,ACCESS,Oracle,MySQL,Interbase,IBM DB2,Sybase,Informix,Ingres,Mimer SQL,Lightbase,PostgreSQL,Paradox,DNS,Firebird,Excel ,Text,DBF / FoxPro,AS/400 (iSeries),Exchange,Visual FoxPro,Pervasive,UDL。 1 - SQL Server 2 - SQL Server 2005 3 - ACCESS, Oracle 4 - MySQL, Interbase, IBM DB2 5 - Sybase, Informix, Ingres, Mimer SQL, Lightbase, PostgreSQL, Paradox, DNS 6 - Firebird, Excel , Text, DBF / FoxPro, AS/400 (iSeries), Exchange, Visual FoxPro, Pervasive, UDL 1 SQL Server ODBC 标准安全 " Driver=

storing large numbers of images in ms access

巧了我就是萌 提交于 2019-12-02 20:45:46
问题 I have a inventory/Contact database where I need to store a lot of images (10k items, 1k people). Now, obviously ole object is out of the question due to the sheer bloat. Is there a better way to do this, such as storing the pathway to the image ( would be stored in a folder with the database) and having that image displayed where I need it(this would be great because some items are repeated)? Is there anyway to do this? (also, i really need to have a filebrowser to the actual image instead

Delphi - OLE类实现TTS方式语音朗读

拜拜、爱过 提交于 2019-12-02 18:39:42
Delphi调用OLE类实现TTS方式语音朗读 直接看代码: unit uMain; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Comobj, Dialogs, StdCtrls, RzButton; type TFrmMain = class(TForm) btnStart: TRzBitBtn; mmMsg: TMemo; procedure btnStartClick(Sender: TObject); private { Private declarations } public { Public declarations } end; var FrmMain: TFrmMain; implementation {$R *.dfm} procedure TFrmMain.btnStartClick(Sender: TObject); var voice: OLEVariant; begin voice := CreateOLEObject('SAPI.SpVoice'); voice.Speak(mmMsg.Lines.Text, 0); end; end. 看效果: 来源: https://www.cnblogs.com