Intellisence in SSMS stopped working suddenly - ssms

My intellisence in SSMS suddely stopped working...
I've checked:
Tools, Options, IntelliSense and have everything enabled
Tools, Options, Transact-SQL, Statement Completion and Autolist members and Parameterinformation is checked
Query,Intellisense enabled
Edit,Intellisense, localy refreshment
Does anyone know anything?
I have SSMS version 18.12.1
SQL Server Management Studio - 15.0.18424.0
SQL Server Management Objects (SMO) - 6.100.47021.0+7eef34a564af48c5b0cf0d617a65fd77f06c3eb1
Microsoft Analysis Services Client Tools - 15.0.19750.0
Microsoft Data Access Components (MDAC) - 10.0.22000.1098
Microsoft MSXML - 3.0 6.0
Microsoft .NET Framework _ 4.0.30319.42000
Operating System _ 10.0.22000

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

How to open Visual Studio . Net in Excel 2003?

I am having trouble to understand the initial step of downloading SQL Data in Excel 2003.
Meaning that I have no clue how to open the VIsual Studio in order to proceed with following steps.
Please refer to this link should I not be clear enough:
http://msdn.microsoft.com/en-us/library/office/aa192473%28v=office.11%29.aspx
Thank you all!
From the link:
Prerequisites
To complete this walkthrough, the following software and components
must be installed on the development computer:
Microsoft Visual Studio® .NET 2003 or Microsoft Visual Basic® .NET Standard 2003
Microsoft Visual Studio Tools for the Microsoft Office System
Microsoft Office Professional Edition 2003
Microsoft SQL Server or Microsoft SQL Server Desktop Engine (MSDE) 7.0 or 2000, with the Northwind sample database installed. This demonstration assumes that you've set up SQL Server/MSDE allowing
access using integrated security.
Do you have all these tools installed?

SQL Server 2012 - SQL Server Data Tools

I have VS2012 Ultimate installed. In the Installed products it states I have SQL Server Data Tools 11.1. When I go to SQL Server 2012 and click on the SQL Server Data Tools Menu option, VS2010 starts up.
I changed the target to point to C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe instead of C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
So now VS2012 starts up but under new projects I DO NOT have the option to create a new SSIS package. Nor the option to download the data tools off the web.
I did go through VS2010 and download DataTools for 2010 and also selected the download for 2012. VS2010 now has Business Intelligence but VS2012 still does not have this template.
Please help. Slowly going mad.
SQL Server Data Tools part for Business Intelligence (SSAS, SSIS, SSRS) has been released as an add-on for Visual Studio 2012 in March 2013.
It can be downloaded here
If you are running on a 64 bit system and have any error message, use option 1 during the installation (New install). It will only add the BI Studio and not try to reinstall anything else.
Cnfusingly Microsoft have 2 different products called SQL server data tools, the one from the installation media which gives you the BI templates in VS2010 and one that you can download, which just adds the database project type to VS2010/12. Currently there are no BI templates available for VS2012, which is incredibly frustrating, it's due to the version of the Visual Studio Shell used by the tools on the installer only supporting 2010. I guess we'll just have to wait for an update to that :(
New download and more compatibility languages as of January 2019.
SQL Server Data Tools in Visual Studio 2012
Supported Operating Systems:
Windows 10 (x86 and x64)
Windows 8, 8.1 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2012 (x64), R2 (x64)
Windows Server 2008 R2 SP1 (x64)

sp_FuzzyLookupTableMaintenanceInstall not found while running SSIS package

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.