dbTalk Databases Forums  

Relative path for INI files

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


Discuss Relative path for INI files in the microsoft.public.sqlserver.dts forum.



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

Default Relative path for INI files - 07-18-2005 , 09:29 PM






Hi,

I was wanted to read values from an INI file, and ran into the all too
familiar problem everyone seems to be having -- we can't change the
path of it dynamically. no biggy though, I thought i'd just use DTSRun
to launch the package, and ensure the ini file is in the same folder i
launch DTSRun from...

well, it worked, to an extent. i should say, it works for the 'data
file' type...my little test message box displays the whole file just
great.

however, while it does FIND the ini file, it keeps saying "Error
string: Section 'General' not found." nasty! if i use absolute
addressing and point to the thing manually, it works fine, finds the
section header...why it doesn't work when i omit the path is beyond me.

any thoughts?

Cheers


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 - 2013, Jelsoft Enterprises Ltd.