Posts

Showing posts with the label MSSQL

MSDTC Service is not Running–SSIS

Image
If you want to use the transaction option in SSIS, then you have to consider about MSDTC. It is nothing but Distributed Transaction Coordinator. It has to be started before you perform the transaction option. Transaction option – Required, Supported (Default) & Not Supported. In case, if you are not consider MSDTC whether running or not, you will get an error message while executing the package. Error: 0xC001401A at Package: The SSIS Runtime has failed to start the distributed transaction due to error 0x8004D01B “The Transaction Manager is not available.”. The DTC transaction failed to start. This could occur because the MSDTC Service is not running. How to start the MSDTC, There two ways to start service, 1. Windows + R and type dcomcnfg and go to local DTC click properties. Make sure to setup same as below image. 2. Check the DTC service in services.msc

SQL Server Login Failed for user

Image
Very often we will get the error message “Login failed for user ‘’”. Sometime we may forget what settings we have given while installing SQL Server. In case, if you choose only “Windows Authentication” while installing then you can’t able to connect a user which related with SQL Server authentication. How to solve this problem? It is very easy to solve this issue. Right click on the server and go to properties. Then in properties, go to security tab and change the server authentication to “SQL Server and Windows Authentication mode” and click ok. Now try with SQL Server authentication login, you will get success.

SQL Server–Alter failed for Server

Image
When you  get below error message, “Alter failed for server ‘’ The execute permission was denied on the object ‘xp_instance_regwrite’, database ‘mssqlsystemresource’, schema ‘sys’. (Microsoft SQL Server, Error:229)” If you are login as SQL Server authentication mode and trying to change the server authentication mode in the server properties. Solution: How to avoid this error, if you want to change the server authentication mode to Windows authentication, first you have to login as windows authentication and then go to server properties and change the mode. Make sure always login as windows authentication mode to change the server authentication mode properties.