dbTalk Databases Forums  

change pat for .INI file

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss change pat for .INI file in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Roberto Galbiati
 
Posts: n/a

Default change pat for .INI file - 07-07-2003 , 03:51 AM






Hi all
I have a package reading data from an ini file in the first step.
I need to move the package on production server (on e:, i developed on my PC
in c , but I haven't found any way to change the path of the ini file

Exporting in BAS, it seems not bo be a properyt of dynamictransformation
task, but related to every item of it

So i use an INI file to change path for data files to be imported, but what
for changing INI path?



Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: change pat for .INI file - 07-07-2003 , 04:46 AM






Hello, Roberto!

I would have a "Common" path for the INI file and always place it in the
same place every time.

How to add a Dynamic Properties task to a package and manipulate it using
VB.
http://www.sqldts.com/default.aspx?6,102,252,0,1

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

: Exporting in BAS, it seems not bo be a properyt of dynamictransformation
: task, but related to every item of it

--- Microsoft Outlook Express 6.00.2800.1158



Reply With Quote
  #3  
Old   
Roberto Galbiati
 
Posts: n/a

Default Re: change pat for .INI file - 07-07-2003 , 05:37 AM



hi, allan
Unfortunately the production server has data on e: (c: is operating system,
d: is reserved), i can't change it :-(
I discovered this in last days, i built package completely in c: (e: is
CDrom)
ok, i can change e: to z: , i can share a dir as e: , and probably it works,
but how can adapt my package? only manually?
and if they decide to move everithing on a (new) f: drive? change manually
again?


"Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote

Quote:
Hello, Roberto!

I would have a "Common" path for the INI file and always place it in the
same place every time.

How to add a Dynamic Properties task to a package and manipulate it using
VB.
http://www.sqldts.com/default.aspx?6,102,252,0,1

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

: Exporting in BAS, it seems not bo be a properyt of dynamictransformation
: task, but related to every item of it

--- Microsoft Outlook Express 6.00.2800.1158





Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: change pat for .INI file - 07-07-2003 , 06:23 AM



Hello, Roberto!

Another solution is

Have a Controller database on a Controller Server.

Create an alias using Client Network Utility to it using a friendly name i.e
MyController

You can then reference this server in your dynamic properties task by using
a query against it.

On each server that you deploy this package to you create an alias with the
same name. This will then enable the package to read from the DB table.
The DB could be hosted on any server this way.



--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

: "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message
: news:us87pyGRDHA.2036 (AT) TK2MSFTNGP12 (DOT) phx.gbl...
??>> Hello, Roberto!
??>>
??>> I would have a "Common" path for the INI file and always place it in
the
??>> same place every time.
??>>
??>> How to add a Dynamic Properties task to a package and manipulate it
using
??>> VB.
??>> http://www.sqldts.com/default.aspx?6,102,252,0,1
??>>
??>> --
??>>
??>> Allan Mitchell (Microsoft SQL Server MVP)
??>> MCSE,MCDBA
??>> www.SQLDTS.com
??>> I support PASS - the definitive, global community
??>> for SQL Server professionals - http://www.sqlpass.org
??>>
??>> : Exporting in BAS, it seems not bo be a properyt of
dynamictransformation
??>> : task, but related to every item of it
??>>
--- Microsoft Outlook Express 6.00.2800.1158



Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.