Sign In
Ramoji Ryali's Fundas
The interesting things I experimented with SQl Server.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
About
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
No tags have been created or used yet.
Archive
Archives
January 2011
(1)
July 2010
(1)
June 2010
(1)
May 2010
(1)
January 2010
(1)
December 2009
(1)
November 2009
(2)
August 2009
(2)
July 2009
(1)
March 2009
(1)
December 2008
(2)
October 2008
(1)
September 2008
(4)
MSDN Blogs
>
Ramoji Ryali's Fundas
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Ramoji Ryali's Fundas
Could not load package because of error 0xC0011002. Failed to open package file due to error 0x80070005 "Access is denied."
Posted
over 1 year ago
by
Ramoji
1
Comments
Came across this error while executing a SSIS package through a SQL Agent Job on a SQL Server 2008 server.The job is running under a windows security account and the SSIS package is stored on file system of the server. The exact error message received...
Ramoji Ryali's Fundas
Comparing data between two tables in SQL Server
Posted
over 2 years ago
by
Ramoji
2
Comments
As a database developer sometime or the other you might have come across this requirement and it can be achieved using many ways including built-in features like Checksum and TableDiff utility. However, I would like to share an alternate way to achieve...
Ramoji Ryali's Fundas
Message "TFS10139: The following check-in policies have not been satisfied" comes in VSTS2010
Posted
over 2 years ago
by
Ramoji
0
Comments
Got this message after the upgrade from VSTS 2008 to VSTS 2010 while checking in a file. The message disappeared after installing "Team Foundation Server Power Tools April 2010" from the below location. http://visualstudiogallery.msdn.microsoft.com...
Ramoji Ryali's Fundas
Error while enabling CDC on a table. The server principal "xyz" is not able to access the database "msdb" under the current security context.
Posted
over 2 years ago
by
Ramoji
0
Comments
We came across the following error after successfully enabling CDC on a Database and then trying to enable CDC on a table in SQL Server 2008 SP1 (Version 10.0.2531.0) Msg 22832, Level 16, State 1, Procedure sp_cdc_enable_table_internal, Line 607 ...
Ramoji Ryali's Fundas
SSIS Data Flow Task fails with Unspecified Error
Posted
over 2 years ago
by
Ramoji
0
Comments
We have few SQL Agent jobs on SQL Server 2008 (10.0.2531) and these jobs are executing SSIS packages, which are created using BIDS 2008. The jobs are scheduled to run daily at a low frequency. The intention is to run these jobs like a demon service. ...
Ramoji Ryali's Fundas
SSIS package fails with Protocol error in TDS stream
Posted
over 3 years ago
by
Ramoji
3
Comments
Encountered this error while running a SSIS package through a SQL Agent Job on SQL Server 2008. The processing in the package is a pretty simple and the purpose is to export data from few tables from one SQL Server to another. Both the source and target...
Ramoji Ryali's Fundas
Could not update the metadata that indicates database is enabled for Change Data Capture. The failure occurred when executing the command SetCDCTracked(Value = 1)
Posted
over 3 years ago
by
Ramoji
5
Comments
This error message comes when you are trying to enable CDC on a SQL Server 2008 database for which the owner is not "sa". The exact error message will be as shown below. Msg 22830, Level 16, State 1, Procedure sp_cdc_enable_db_internal, Line 186 ...
Ramoji Ryali's Fundas
Explicit value must be specified for identity column in table [XXXXXX] either when IDENTITY_INSERT is set to ON or when a replication user is inserting into a NOT FOR REPLICATION identity column
Posted
over 3 years ago
by
Ramoji
0
Comments
I encountered this error when explicitly inserting values in an Identity column of a Table that is created in a SQL Server 2008 Database and the DB is not part of any kind of Replication. I have made sure that "Identity_Insert" is turned on for that table...
Ramoji Ryali's Fundas
Failed to open package file due to error 0x80070020. The process cannot access the file because it is being used by another process. This happens when loading a package and the file cannot be opened or loaded correctly into the XML document.
Posted
over 3 years ago
by
Ramoji
0
Comments
This error message comes while performing one (Or both) of the following actions. 1. Run SSIS Package using dtexec.exe (Either from a command file or through a Job running on SQL Server 2008) 2. Open SSIS package using VS2008 or BIDS If you have...
Ramoji Ryali's Fundas
Checkin cannot proceed because the policy requirements have not been satisfied.
Posted
over 3 years ago
by
Ramoji
2
Comments
I got this message while checking-in a file after the fresh installation of Visual Studio 2008 Professional and TFS client. This message disappeared after installing VSTS 2008 Power Tools. The download link is provided for your quick reference here...
Ramoji Ryali's Fundas
Transfer permissions between objects in SQL Server 2008
Posted
over 3 years ago
by
Ramoji
0
Comments
Sometimes we have to transfer the permissions from one object to another. Here the object could be a table or view. We can write a straight forward script using GRANT and REVOKE statements if this requirement is for one or two objects. But what if more...
Ramoji Ryali's Fundas
The AcquireConnection method call to the connection manager failed with error code 0xC0202009
Posted
over 3 years ago
by
Ramoji
17
Comments
Sometimes the actual error lies somewhere and the error message directs us to look at something else. We end up wasting time in this process as the error message diverted us. Recently, we came across one such kind of scenario while calling a SSIS package...
Ramoji Ryali's Fundas
General Network error. Check your network documentation.
Posted
over 4 years ago
by
Ramoji
1
Comments
This is a proper netwrok error and has nothing to do with the coding if any of your jobs/queries/packages fail with this message. Please refer the following article for the workaround. http://support.microsoft.com/kb/942861/en-us Another work...
Ramoji Ryali's Fundas
Package migration from version 3 to version 2 failed with error 0xC001700A. The version number in the package is not valid. The version number cannot be greater than current version number.
Posted
over 4 years ago
by
Ramoji
17
Comments
I guess at least once every SQL developer might have come across this error on SQL Server 2008 while running a SQL job that calls a package. Reason for the error: Old version of the DTEXEC is picked up by SQL Server instead of the new one. That means...
Ramoji Ryali's Fundas
How to open DTS packages in SQL Server 2008?
Posted
over 4 years ago
by
Ramoji
25
Comments
An error occurs if you try to open a DTS package from Leagcy --> Data Transformation Services in SSMS of 2008. The message says, SQL Server 2000 DTS Designer Components are required to edit DTS packages. Install the special web download, "SQL Server...
Ramoji Ryali's Fundas
Reading DTS and SSIS packages programmatically
Posted
over 4 years ago
by
Ramoji
3
Comments
Reading a DTS/SSIS programmatically helps a lot in doing impact analysis. Consider a scenario in which all the packages containing a particular table or stored procedure need to identified. Let me give another usage scenario for this. The sql native clinet...
Ramoji Ryali's Fundas
Moving indexes from one filegroup to another in SQL Server
Posted
over 4 years ago
by
Ramoji
9
Comments
This is a pretty simple task but I would like to provide a generic method for doing this. It will help if the requirement is one (or all) of the folowing. I have only considered non-clustered indexes along with the Inclued columns and filtered indexes...
Ramoji Ryali's Fundas
Creating new tables and loading data in SQL server by reading an Xml file
Posted
over 4 years ago
by
Ramoji
2
Comments
This kind of requirement may come if VSTS is used for test automation and the test results have to be loaded to a Database. Since the output of test automation is an xml file, let us look at how we can create tables and load them with data by reading...
Ramoji Ryali's Fundas
How to get missing values from an Identity column?
Posted
over 4 years ago
by
Ramoji
1
Comments
Let us assume that there is an Employee table with EmployeeId as the Identity column in which some values are missing. The following batch will show all the missing values in that Identity column. The logic I preferred is to create another table with...
Page 1 of 1 (19 items)