Search This Blog

October 21, 2014

How to bring database in SQL Server from Restore mode to normal

Change the database_name to the database name having issues.
USE master
GO

 ALTER DATABASE database_name SET OFFLINE WITH ROLLBACK IMMEDIATE
GO

 ALTER DATABASE database_name ONLINE
GO

September 08, 2014

SSIS - Error while running task in transactions

Following is the error message when running the SSIS package which contains Transaction for batch processing of the data.

Error:
0xC001401A at Transaction: 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.

Resolution:
Start the service "Distributed Transaction Coordinator"
1. Go to Start menu - Run command
2. Type services.msc
3. Start the service "Distributed Transaction Coordinator" where the packages are executing.

August 26, 2014

SSIS 2012 - Eexecute ssis package from command line

1. Open the Visual Studio Command window
2. Go to SSIS pacakage location
3. Execute the following command
dtexec /f package name

August 25, 2014

SSIS 2012 FTP Task Error to connect to FTP server

You can use the following ftp server for testing FTP Connection.
Use anonymous user without having any password ftp2.census.gov

Following are the error message while connecting and receiving the files from FTP SERVERS.
Error
An error occurred in the requested FTP operation. Detailed error description: 200 Switching to ASCII mode. 200 PORT command successful. Consider using PASV. 425 Failed to establish connection Exception from HRESULT: 0xC001602A

Resolution:

1. Create an inbound and outbound rule to allow the FTP PORT(21) to OPEN
2. Select the FTP Connection to "Use Passive Mode"

October 30, 2013

IIS HTTP Error 503. The service is unavailable

This error might happen if the application pool for the web site account password is changed and not updated,
  • Open the IIS Manager
  • Go to Application Pools
  • Select the Application Pool related to the website.
  • Right Click and select Advanced Settings
  • under Process Model Select Identity
  • Click on ... button next to the the user name
  • Click on "Set"
  • Enter the user name and new password
  • Click Ok and close the popup windoos
  • Start the application Pool