VS and SSMS Crashing - sql-server

I'm not very expert on SQL, and I would ask your support.
I have a SQL Server 2016 std
Microsoft SQL Server 2016 (SP2-CU13) (KB4549825) - 13.0.5820.21 (X64)
May 22 2020 07:24:35 Copyright (c) Microsoft Corporation Standard
Edition (64-bit) on Windows Server 2016 Standard 10.0 (Build
14393: ) (Hypervisor)
with Microsoft SQL Managed Studio 18
SQL Server Management Studio 15.0.18338.0
SQL Server Management Objects (SMO) 16.100.41011.9
Microsoft Analysis Services Client Tools 15.0.19205.0
Microsoft Data Access Components (MDAC) 10.0.14393.0
Microsoft MSXML 3.0 6.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 10.0.14393
and Microsoft SQL Management Studio 16 (installed for Integration Service Compatibility)
Microsoft SQL Server Management Studio 13.0.16106.4
Microsoft Analysis Services Client Tools 13.0.1700.441
Microsoft Data Access Components (MDAC) 10.0.14393.0
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.14393.0
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.14393
installed on Windows Server 2016 Std (VM on Microsoft Hyper-V with 80 GB RAM and 8 vCPU).
The users received a crash system
I cancelled the folder:
C:\Users<user profile>\AppData\Local\Microsoft\SQL Server Management
Studio\
But the problem was not solved.
Another problem from the users is:
In the Windows Application Events viewer log I see these:
The COM+ Event System failed to fire the Logoff method on event class
{D5978630-5B9F-11D1-8DD2-00AA004ABD5E} for publisher and subscriber .
The display name of the subscription is "Visual Studio ISensLogon
Subscription". The HRESULT was 8001010a.
and these:
Application 'C:\Program Files (x86)\Microsoft Visual Studio
14.0\Common7\IDE\devenv.exe' (pid 24456) cannot be restarted - Application SID does not match Conductor SID..
In the Windows System Events viewer I see this:
The application-specific permission settings do not grant Local
Activation permission for the COM Server application with CLSID
{8D8F4F83-3594-4F07-8369-FC3C3CAE4919} and APPID
{F72671A9-012C-4725-9D2F-2A4D32D65169} to the user NT
AUTHORITY\SYSTEM SID (S-1-5-18) from address LocalHost (Using LRPC)
running in the application container Unavailable SID (Unavailable).
This security permission can be modified using the Component Services
administrative tool.
What I can check to resolve my problems?
Thanks for the support
Marco

Related

SQL Server Database Mail Error/Missing

Current SQL Server:
SQL Server 2016 Express SP1
Microsoft SQL Server 2016 (SP1-CU7-GDR) (KB4057119) - 13.0.4466.4 (X64)
Dec 22 2017 11:25:00
Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows 10 Pro 10.0 <X64> (Build 15063: )
Downloaded Cumulative Update 1 and went through the installation steps
Downloaded Microsoft .NET Framework 3.5
Database Mail still does not show. Suggestions?
Of note, when I click on the download file for Microsoft .NET Framework 3.5, it doesn't do anything even when trying to run as an Administrator.
Thank you!
http://www.sqlservercentral.com/blogs/querying-microsoft-sql-server/2013/09/02/sending-mail-using-sql-server-express-edition/
In SQL server standard and enterprise edition,A DataBase mail functionality in built to sent mail.But in SQL Server express edition,You need either use CLR integration or configure SQL Mail using MSDB system database.
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/cd59b9cc-21ea-4130-afd1-791124031ada/can-sql-server-express-send-emails?forum=sqlexpress
You can make use of CLR Integration for sending email from SQL Server Express.
http://www.sqlservercentral.com/articles/SQL+Server+Express/71341/
http://www.vnypatel.com/sending-emails-with-clr-sql-server-express-editions
SQL Server Express does not support database mail.
https://msdn.microsoft.com/en-us/library/cc645993.aspx

Can I get USER/PWD for MYSQL from WINDOWS SERVER

I 'v been trying to get user/pwd for a database in a Windows server.
Server is using : Microsoft SQL server management studio - 2017
Microsoft SQL Server Management Studio 14.0.17213.0
Microsoft Analysis Services Client Tools 14.0.1016.232
Microsoft Data Access Components (MDAC) 6.3.9600.17415
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.11.9600.18861
Microsoft .NET Framework 4.0.30319.42000
Operating System 6.3.9600
You can't get an existing password since only a hash is stored. If you are an administrator on the box, you can reset the sa password as described here and then add accounts and/or reset passwords as needed.

Sql Server Reporting Services – SharePoint feature missing

I am trying to add Reporting Services – SharePoint feature to my computer sql server installation.
I am currently using Sql Server 2012 Enterprise on a 32 bit computer
Microsoft SQL Server 2012 - 11.0.2100.60 (Intel X86)
Feb 10 2012 19:13:17
Copyright (c) Microsoft Corporation
Enterprise Edition on Windows NT 6.1 <X86> (Build 7601: Service Pack 1)
Unfortunately, in Shared features I don't have the Reporting Services items mentioned in this article:
http://msdn.microsoft.com/en-us/library/jj219068.aspx
Could it be because I don't have Sharepoint installed on my computer?
Or maybe, because my computer is 32 bit?
Any suggestions?
Thanks
I think you have 64 bit computer Reporting Services Add-in for SharePoint Products says
computer must meet the following software requirements
The add-in is 64-bit only, which is a requirement of SharePoint 2010
products and technologies.
In this article you can check Report Server Database Requirements
If you want to install Reporting Services and a SharePoint product instance on the same computer, you can run SQL Server Express and another edition of
SQL Server side-by-side on the same computer or you can use the same instance of the Database Engine for the SharePoint configuration and content databases
if you choose the Advanced installation option when installing a
SharePoint product . If you choose the Basic installation option instead,
the SharePoint Setup program will install SQL Server Embedded Edition
as an internal component and use that instance to host the SharePoint databases.
reporting servides in sharepoint mode

SQL Server "Index Usage Statistics" report causes "incorrect syntax near ')'"

In SQL Server 2008 R2 Standard Edition:
SELECT ##version
Microsoft SQL Server 2008 R2 (SP1) - 10.50.2500.0 (X64) Jun 17 2011 00:54:03 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)
with non-express edition tools:
Microsoft SQL Server Management Studio 10.50.2500.0
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 6.0
Microsoft Internet Explorer 9.0.8112.16421
Microsoft .NET Framework 2.0.50727.5448
Operating System 6.1.7601
running on Windows Small Business Server 2011 Standard 64-bit:
Against a database in SQL Server 2000 compatibility mode:
If I try to run the Index Usage Statistics report I get the error:
How to make it go away?
I threw in every red herring I could think of. There should be enough extraneous information that everyone can throw out a theory.
The various reports in SQL Server Mgmt Studio make use of DMV (dynamic management views) like the sys.dm_db_index_usage_stats to fetch their data.
Those DMV are only available if you're running on compatibility level 90 (SQL Server 2005) and up. You won't be able to get this to work if you're stuck in SQL Server 2000 compatibility level (80), unfortunately.

SQL Server 2008 instance

I have SQL Server 2008 and the Management Studio installed on my machine, but I apparently only have an instance of 2005 running on it.
SQL Server 2008 Mgt Studio Info
Microsoft SQL Server Management Studio 10.0.2531.0
Microsoft Data Access Components (MDAC) 6.0.6002.18005
Microsoft MSXML 3.0 5.0 6.0
Microsoft Internet Explorer 9.0.8112.16421
Microsoft .NET Framework 2.0.50727.4216
Operating System 6.0.6002
How do I either upgrade that instance to 2008 or create a new instance?
Based on your other post, you should be fine with the express edition (found here).
http://www.microsoft.com/sqlserver/en/us/editions/express.aspx

Resources