I recently installed Office 2010 on one of my development machines. Suddently, all of my SQL Server 2008 SSIS packages started to generate errors (when attempting to preview data outputs) to the tune of:
Error at PackageName [Connection manager "ImportFileSource"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
Error at ImportDataTaskName [OLE DB Source 1 [3639]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "ImportFileSource" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
------------------------------
ADDITIONAL INFORMATION:
Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)
The SSIS package tasks that had the issues were using a connection string pointing to the Office 12 OLEDB drivers like so:
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\temp\FileName.xlsx;Extended Properties="Excel 12.0";Persist Security Info=False"
If you then attempt to do a test run with the same connection string, it will also fail with the following error:
Test connection failed because of an error in initializing provider. Could not find installable ISAM.
The cleanest and most reliable way to fix this issue when using 2007 drivers (rather than attempting to reregister the neccessary dlls or if there are other issues), is to just just install or re-install the "2007 Office System Driver: Data Connectivity Components" - available at the following location:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7554f536-8c28-4598-9b72-ef94e038c891&displaylang=en
Alternatively you could also just try re-registering the dlls as described here:
http://support.microsoft.com/kb/209805
DDK
The Musings and Findings of Software Consultant David Klein (Sydney, Australia)
Showing posts with label Office 2007. Show all posts
Showing posts with label Office 2007. Show all posts
Saturday, 7 August 2010
Friday, 22 August 2008
"'Edit Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater." - Problem Fixed
I had this problem for about a week when trying to edit documents from Sharepoint 2007. Indeed, the problem became so frustrating that I needed to fix it. The error I was getting was:
---------------------------
Windows Internet Explorer
---------------------------
'Edit Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater.
---------------------------
OK
---------------------------
I came to this article:
http://support.microsoft.com/default.aspx/kb/833714 and followed the instructions:
---------------------------
Windows Internet Explorer
---------------------------
'Edit Document' requires a Windows SharePoint Services-compatible application and Microsoft Internet Explorer 6.0 or greater.
---------------------------
OK
---------------------------
I came to this article:
http://support.microsoft.com/default.aspx/kb/833714 and followed the instructions:
- Via Add/Remove Programs ->Office 2003 -> Change dialog, I removed and readded the Windows SharePoint Services Support component as per Method 2 in the article above.
- I tried to re-register the OWSUPP.DLL (with an uninstall and reinstall with regsvr32 "C:\Program Files\Microsoft Office\OFFICE11\owssupp.dll") and just got an error:
---------------------------
RegSvr32
---------------------------
DllRegisterServer in OWSSUPP.DLL failed.
Return code was: 0x80070716
---------------------------
OK
-------------------------- - I also tried to re-register the Office 2007 copy of the dll:
C:\Program Files\Microsoft Office\Office12\OWSSUPP.DLL - Curious, I also rab dependency walker http://www.dependencywalker.com/. I dragged owssupp.dll into dependency walker and it indicated that I had Dlls missing as per the screenshot. I downloaded these from the web e.g. http://www.driverskit.net/dll/link/2263.html and moved these "missing" files to the office 11 directory - but the problem still ocurred.
- I finally gave up and bit the bullet and did a repair install of Office 2003 via Add/Remove Programs - (which didn’t require the install media and took about 10 mins) – and it all started working.
Aparrently, you may get this problem if various Windows XP service packs are installed or you uninstall any Visual Studio VSTO tools.
Monday, 2 July 2007
MS Access 2007 - Standard Templates Not using best practices
When starting development, it is a normal approach to use samples and templates to guide your development. The templates in Access 2007 are beautiful - but they use macros rather than VBA code. I don't agree that macros are the best way forward for anyone except for the very simplest of tasks. See my post here for Clint Covington's response http://blogs.msdn.com/clintcovington/archive/2007/05/21/design-inspiration-resources.aspx
Subscribe to:
Posts (Atom)