Updated: 8/3/2003; 8:45:36 PM.
Ali's Weblog
Just about anything that comes to my mind.
        

Tuesday, March 25, 2003

 

The only analogy I can think of for the machine.config is that it is to the .net framework that an agent is to the Matrix.  It holds all the keys and it guards all the doors.  Anytime I spend hours trying to figure why some form of unexplainable error has happened,  the machine.config has the answer.  A good example was today.  I was helping my fearless user group leader Julia figure out why an exception was being thrown on a web service call:

 

System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive.

 

Julia figured out that her IE proxy settings were enabled, and that setting is system wide.  This is what was causing the exception to be thrown.  Searching through the machine.config I found:

 

<system.net>

<defaultProxy>

 <proxy usesystemdefault="true" />

     </defaultProxy>

</system.net>

 

 All .net applications will use this same system wide proxy setting by default.  She added usesystemdefault="false" to her app.config, and we were good to go.


11:46:14 PM    comment []

© Copyright 2003 Ali Aghareza.
 
March 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Feb   Apr


Click here to visit the Radio UserLand website.

Subscribe to "Ali's Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.