Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 Discuss the book Beginning Microsoft SQL Server 2008 Programming, Robert Vieira, ISBN: 978-0-470-25701-2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft SQL Server 2008 Programming ISBN: 978-0-470-25701-2 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 19th, 2012, 08:50 AM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Sep 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error 0xC020200E - cannot open datafile

I am new to SQL Server 2008 R2 and would appreciate some assistance please.

I have a package which imports a flat file named CAST into a SQL Server table. When the package is executed from MSDB it runs successfully.

However, when the same package is run from a job from SQL Server Agent, the job fails. Here is the error message:

Step ID 1
Job Name ImportCAST
Step Name ImportCAST
Duration 00:00:04
Sql Severity 0
Sql Message ID 0
Operator Emailed
Operator Net sent
Operator Paged
Retries Attempted 0

Executed as user: CNSWFL\cnswflsql. Microsoft (R) SQL Server Execute Package Utility Version 10.50.1600.1 for 64-bit Copyright (C) Microsoft Corporation 2010. All rights reserved. Started: 8:25:19 AM Error: 2012-09-19 08:25:23.83 Code: 0xC020200E Source: Data Flow Task 1 Source - CAST [1] Description: Cannot open the datafile "T:\FSFN_Data\FSFN_Extract_Files\CAST". End Error Error: 2012-09-19 08:25:23.84 Code: 0xC004701A Source: Data Flow Task 1 SSIS.Pipeline Description: component "Source - CAST" (1) failed the pre-execute phase and returned error code 0xC020200E. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 8:25:19 AM Finished: 8:25:23 AM Elapsed: 3.869 seconds. The package execution failed. The step failed.

I have researched this error code on the internet, have tried several solutions and am still stumped. Any advice would be greatly appreciated.
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
recordset open error MMJiggy62 Beginning VB 6 2 September 4th, 2006 04:52 PM
Querying external Excel datafile from excel utalwalk Excel VBA 1 March 30th, 2006 12:47 PM
Error to open Report codaman Pro VB 6 0 December 11th, 2003 12:05 PM
Open Error 2580 pinkandthebrain SQL Server 2000 3 September 15th, 2003 11:16 AM
error trying to open a database Boomer ASP.NET 1.0 and 1.1 Basics 2 June 22nd, 2003 01:46 PM

All times are GMT -4. The time now is 07:26 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.