Re: Dynamic Properties and DTS Source Text File



Thanks for the info Darren.

I already have success and fail precedences in place and close connection
property set.

Dynamic properties >> pass goes to SQL tsk to truncate destination SQL table
>> pass >> text file souce >> trans (col copy) >> SQL DB >> pass run SQL
stored proc to take data from import table and move to required locations.

Any fails send a corresponding e-mail alert.


I get this same problem even if I run the package 1 step at a time. fails on
the first run through but is ok on the second !

Anyway I've given up trying to do it the easy way using MS helpful tasks and
will revert to Active X as inspired by http://www.sqldts.com/default.aspx?246
as recommended on other discussions

Again thanks for the advice.

Graham



"Darren Green" wrote:

> The Dynamic Properties task is set to run before the data pump? Use workflow
> constraints to ensure this happens. If any other tasks use that file
> connection, make sure they have close connection on completion set otherwise
> a change to the connection will not register until is closed, then reopened
> to read the new info.
>
>
> Darren Green
> http://www.sqldts.com
> http://www.sqlis.com
>
> "Jinx1966" <Jinx1966@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:3C434CFD-0EE0-4688-A0AB-73DDD6028F42@xxxxxxxxxxxxxxxx
> > I have been given the wonderous task of working out how to import multiple
> > data files into a SQL DB (appx 250 per day)
> >
> > The Files are of different sizes, number of rows, columns and formats but
> > have the same header row which defines what is in the file. I've sussed
> all
> > the import stuff but have an issue with the file source
> >
> > I have made a DTS pakage that uses dynamic a property to determine the
> path
> > for the Text file source.
> >
> > When I run the package from within designer, the first time it fails :
> > ------------------------------------------------------------
> > Step 'DTSStep_DTSDataPumpTask_1' failed
> > Step Error Source: Microsoft Data Transformation Services Flat File Rowset
> > Provider
> > Step Error Description:Error opening datafile: The system cannot find the
> > file specified.
> > Step Error code: 80004005
> > Step Error Help File:DTSFFile.hlp
> > Step Error Help Context ID:0
> > ------------------------------------------------------------
> >
> > When I run it the second time, without changing anything,it works just
> fine.
> > This is a continuois process . Run1 fail - run 2 ok, run 3 fail , run 4 ok
> > etc...
> >
> > The package determines the file to be imported each time it runs, and if
> > successfull in importing, deletes the source file. I have a sepaerate
> process
> > that populates a SQL table with all the deatails of the files to be
> imported
> > this is used to populate the Dynamic Property using a stored proceedure
> call
> > that returns a single full file path.
> >
> > Permissions are not an issue (I believe) as it is all set up and running
> > under administartor (I know thats bad but I'll tie down security later)
> >
> > The odd thing is that the package claims it can't find the file on the
> first
> > run, but finds it fine on the second.
> >
> > Any suggestions greatfully welcome
> >
> > Many thanks.
> >
> >
>
>
>
.



Relevant Pages

  • Connecting to SQL 2000
    ... I have been working with SQL 7 for quite a while now and I have not encountered any problem connecting. ... But since we upgraded to SQL 2000, my connection string always fails to connect. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: The network path was not found
    ... I fail to open a second pc on my small network. ... Right click Local Area Connection. ... If it fails either way there's an IP or Name resolution problem. ... Pull the power from the router. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Dynamic Properties and DTS Source Text File
    ... The Dynamic Properties task is set to run before the data pump? ... connection, make sure they have close connection on completion set otherwise ... > the import stuff but have an issue with the file source ... > successfull in importing, deletes the source file. ...
    (microsoft.public.sqlserver.dts)
  • RE: Losing demand dial internet connection
    ... about 4 weeks after you run CEICW and then fails. ... 825763 How to configure Internet access in Windows Small Business Server ... In the list of devices, select the modem that the dial-up DoD connection ... Is ISA server installed on the SBS 2003 Server? ...
    (microsoft.public.windows.server.sbs)
  • Re: Bizarre remote access problem
    ... Is it always the same machine which fails, ... This problem can be caused by the DSL router at the branch. ... Both branch computers are running W2000 SP4. ... computers' connection attempts are getting to the server. ...
    (microsoft.public.windows.server.networking)