471,353 Members | 1,739 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,353 software developers and data experts.

Custom Listener InitialiseData path "Program Files" query

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
0 823

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by I_AM_DON_AND_YOU? | last post: by
14 posts views Thread by RDI | last post: by
4 posts views Thread by pedestrian via DotNetMonster.com | last post: by
2 posts views Thread by K Viltersten | last post: by
9 posts views Thread by Keith G Hicks | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.