sp_FuzzyLookupTableMaintenanceInstall not found while running SSIS package - sql

I have an error while running a SSIS package:
DTS_E_OLEDBERROR. An OLE DB Error has ocurred.....
"Could not find stored procedure sys.sp_FuzzyLookupTableMaintenanceInstall"
I connect to to my db and I´m able to find the stored procedure.
sp_FuzzyLookupTableMaintenanceInstall
sys assembly stored procedure 2008-11-24 14:23:08.930
I don´t know what it is happening.
I Have Installed:
Microsoft SQL Server Management Studio 9.00.4035.00
Microsoft Analysis Services Client Tools 2005.090.4035.00
Microsoft Data Access Components (MDAC) 2000.086.3959.00 (srv03_sp2_rtm.070216-1710)
Microsoft MSXML 2.6 3.0 4.0 6.0
Microsoft Internet Explorer 6.0.3790.3959
Microsoft .NET Framework 2.0.50727.3082
Operating System 5.2.3790
Thanks for your support!

Worth a very quick check: Which edition of SQL Server is it running on? Fuzzy lookup one of the enterprise only feature I am thinking.

Related

SSIS error in VS 2019 - The Script Task "XXX" uses version 16.0 script that is not supported in this release of Integration Services

This error just started occurring on a few developers' systems across several packages, but I can't track down a specific cause or update. We have SSIS processes created across various targets (SQL 2012 and up), but when I open them in Visual Studio 2019 this error occurs:
Error loading XXXXXXX.dtsx: There was an exception while loading Script Task from XML: System.Exception: The Script Task "ST_36ae893a14204fac97ce8ce3b4ce8ebb" uses version 16.0 script that is not supported in this release of Integration Services. To run the package, use the Script Task to create a new VSTA script. In most cases, scripts are converted automatically to use a supported version, when you open a SQL Server Integration Services package in %SQL_PRODUCT_SHORT_NAME% Integration Services.
at Microsoft.SqlServer.Dts.Tasks.ScriptTask.ScriptTask.LoadFromXML(XmlElement elemProj, IDTSInfoEvents events)
I can open the script task, but it's as if it's new, none of the existing code is there. Some of the older packages I can open in like Visual Studio 2017 and they work, but in Visual Studio 2019 not so much. Even some packages built in Visual Studio 2019 are doing this. Here's my dev environment:
Microsoft Visual Studio Enterprise 2019
Version 16.11.17
VisualStudio.16.Release/16.11.17+32630.194
Microsoft .NET Framework
Version 4.8.04084
SQL Server Data Tools 16.0.62205.05200
Microsoft SQL Server Data Tools
SQL Server Integration Services 16.0.948.0
Microsoft SQL Server Integration Services Designer
I've tried changing the Target server to different versions, but it seems once the issue occurs it resets the script task removing all code. I'm really confused.
Any thoughts? Thanks.
Not sure if this is a good answer, but it does seem to fix the issue. I'm using SQL Server Integration Services 16.0.948.0 (v4.3), but if I go back down to 15.0.2000.180 (v3.16) the issue seems to go away. So, it's something with version 4.0 and up. Not ideal to go backwards as we're losing some of the updates - but it gets me going again. If anyone has other suggestions, please let me know.

Failed to create DAX script in SSMS v18.5.1 - Object reference not set to an instance of an object

I am not able to open new "Analysis Services DAX Query" in SQL Server Management Studio (SSMS) v18.5.1.
SSMS DAX Error print screen
Error details:
Failed to create new DAX script.
------------------------------
ADDITIONAL INFORMATION:
Object reference not set to an instance of an object. ( at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.UnsubscribeFromEvents()
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.Close()
at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextViewHost.Close()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseExistingWpfTextView()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseBufferRelatedResources()
at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.CloseView()
at Microsoft.VisualStudio.Editor.Implementation.CompoundTextViewWindow.Close()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellCodeWindowControl.UnsinkEventsAndFreeInterfaces()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellTextEditorControl.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.ScriptAndResultsEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.MdxScriptEditorControl.Dispose(Boolean bDisposing)
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellWindowPaneUserControl.OnWindowPaneClose()
at Microsoft.SqlServer.Management.UI.VSIntegration.ShellWindowPaneUserControl.ClosePane()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowPaneDocumentObject.<>c__DisplayClass19_0.<DisposeManagedResources>b__0()
at Microsoft.VisualStudio.ErrorHandler.CallWithCOMConvention(Action method, Boolean reportError))
All other queries (MDX, DMX, XMLA) works fine, but DAX does not.
I have tried following to fix the issue:
Firstly I had tried re-install just SSMS.
When it did not work I have tried following steps still without success:
uninstall Visual Studio 2019 with SQL Server Data Tools (SSDT)
uninstall SSMS
install VS 2019 with SSDT
install SSMS
I tried to search for help on this issue, but I have not found any relevant information.
Thank you in advance for any suggestions.
My SSMS setup:
SQL Server Management Studio: 15.0.18333.0
SQL Server Management Objects (SMO): 16.100.37971.0
Microsoft Analysis Services Client Tools: 15.0.19153.0
Microsoft Data Access Components (MDAC): 10.0.18362.1
Microsoft MSXML: 3.0 6.0
Microsoft .NET Framework: 4.0.30319.42000
Operating System: 10.0.18363
Part of my VS 19 setup:
Microsoft Visual Studio Professional 2019
Version 16.6.5
VisualStudio.16.Release/16.6.5+30320.27
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Microsoft Visual Studio Tools for Applications 2019
Microsoft Visual Studio Tools for Applications 2019
SQL Server Analysis Services 15.0.19126.0
Microsoft SQL Server Analysis Services Designer
Version 15.0.19126.0
SQL Server Data Tools 16.0.62006.03190
Microsoft SQL Server Data Tools
SsmsVsIntegration 1.0

Converting Access Database to MSSQL Database Using Microsoft SQL Server Migration Assistant for Access

I am trying to convent a Ms Access Database to MS SQL 2012, using Microsoft SQL Server Migration Assistant for Access version 6.0
but each time i try to convert it an error pops up. any ideas how i can solve the problem i reinstall the program Microsoft SQL Server Migration Assistant for Access , and it worked just ones and after that i have the same error.
any help will be most appreciated
Access Object Collector error: Database
Retrieving the COM class factory for component with CLSID {CD7791B9-43FD-42C5-AE42-8DD2811F0419} failed due to the following
error: 80040154 Class not registered (Exception from HRESULT:
0x80040154 (REGDB_E_CLASSNOTREG)). This error may be a result of
running SSMA as 64-bit application while having only 32-bit
connectivity components installed or vice versa. You can run 32-bit
SSMA application if you have 32-bit connectivity components or 64-bit
SSMA application if you have 64-bit connectivity components, shortcut
to both 32-bit and 64-bit SSMA can be found under the Programs menu.
You can also consider updating your connectivity components from
http://go.microsoft.com/fwlink/?LinkId=197502.
An error occurred while loading database content.
Just to complete the other side of the story...
If you have a 64-bit setup, you might have to go the other direction
and install the 64-bit MSAccess 2010 engine.
I'm running Access 2013, and I believe it is 64-bit.
But the SMAA tool threw the 80040154 error.
I think SMAA can't or doesn't use the 64-bit connectivity drivers that come with 64-bit Access 2013.
So using the 32-bit SMAA didn't help.
Installing the 64-bit 2010 engine did.
I got it as a free standalone download here:
https://www.microsoft.com/en-us/download/details.aspx?id=13255
After the quick install of this, I simply started
SMAA 64-bit again,
and the wizard was successful the first time.
thanks to :
https://social.technet.microsoft.com/Forums/itmanagement/en-US/0249eebf-14bd-45f6-9bca-3b42395a3d13/ssma-60-error-retrieving-the-com-class-factory-for-component-failed-due-to-the-following-error?forum=sqlservermigration
I remember this error. I had to find the EXE for 32-bit SSMA even though I was running 64-bit windows. The default installed location was:
C:\Microsoft SQL Server Migration Assistant for Access\bin
And the filename was:
SSMAforAccess32.exe
[SOLVED]
I encountered the same error while using SSMA v7.7.0 for migrating from MS-Access 2016 DB to SQL Server 2017. Fortunately, I got it fixed by installing Microsoft Access Database Engine 2016 Redistributable
with regards to installing the runtime environment of Access to get around the 80040154 error from SSMA: With Access 2016, I found that the runtime environment would not install because I already had Access installed. I needed to deinstall Access, then install the runtime only version. Then, SSMA would run without the 80040154 error. Total pain tho.
If you're trying to read/write data from/to MS Access database file via .NET application, try to switch the project to x86 architecture. It helps in my case

VSE 2012 for Web Error: The data provider required to connect to the local data file could not be found

I am getting the following error when I am trying to add SQL Server Compact 4.0 Local Database in the Visual Studio 2012 Express for Web:
The data provider required to connect to the local data file could not be found. The file will be added to the project but the typed DataSet associated with the file will not be generated.`
I tried reinstalling the CompactDB and I installed the Microsoft SQL Server Compact 4.0 SP1 x64 ENU.
Please note: I have Visual Studio 2012 Express for Desktop and everything there works fine. I can add SQL Server Compact 4.0 Local Database item.
OS: Windows 7 SP1 Home Premium x64.
Would you be so kind how to fix it?
Thank you very much for your help in advance!
Fix by repairing the VS installation

SQL Server Setup Error in Visual studio 2010

i have installed sql sever 2012 with SSDT.
When i am using SSDT and creating package.It gives error:
Microsoft Visual Studio is unable to load this document:
To Design Integration Services packages in sql Server Data Tools (SSDT),SSDT Has to be installed by one of these edition of sql server 2012:Standard,Enterprise,Developer,or Evaluation.
I am using Sql server 2012 Enterprise Edition.
SSDT also installed on my machine.
I dont know y rhis error is occured???.
Please anybody help me
Refer all the discussion in following link
http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/6dce2f25-2f73-4f69-8d37-06483ada79da/
As well go through this step by step approach:
http://learnsqlwithbru.com/2011/12/12/getting-started-with-ssdt-sql-server-data-tools/
Hope its helpful.