By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,496 Members | 1,266 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,496 IT Pros & Developers. It's quick & easy.

Custom Listener InitialiseData path "Program Files" query

P: n/a
Does anyone know of an issue where a Configuration Exception is thrown
when "Program Files" is used as part of the initialiseData value within
a custom listener? eg:

<system.diagnostics>
<trace autoflush="false" indentsize="4">
<listeners>
<add name="myListener"
type="System.Diagnostics.TextW*riterTraceListener"
initialiseData="C:\Program Files\log.log"/>
</listeners>
</trace>
</system.diagnostics>

On all of our systems (test and development / win2k and winxp) this
will throw a one-off "Configuration Error" on the line:
'<System.Diagnostics>'. This error is cleared by simply refreshing the
page. It only happens once after the application restarts.

I have commented lines out and through trial and error testing
determined that the problem lies with "C:\Program Files\.." (other
paths work just fine (including "C:\Progra mFiles\..",
"C:\ProgramFiles\.." and "D:\Program Files\..") which all work just
fine.

Really curious about this one, thanks,
Mark

Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.