August, 2006

  • Never doubt thy debugger

    Strange compilation error in machine.config


    As my colleague Tess told a while ago, sometimes the problems seems to come in bunches; so it happened that I saw the following error message from two different customers in less than a week...

    Server Error in '/' Application.

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    Parser Error Message: This config section already contains an identical line, which is not allowed.
    Source Error:

    Line 350:   extension=".js"
    Line 351:      type="Microsoft.JScript.JScriptCodeProvider, 
       Version=7.0.5000.0, Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a" /> Line 352:   </compilers> Line 353: Line 354:   <assemblies>

    Source File: c:\windows\\framework\v1.1.4322\Config\machine.config    Line: 352

    Unfortunately this error message is a bit misleading, and you get this problem if you run multiple installations of a Device Update for Outlook Mobile Access (OMA), without have first uninstalled previous versions of this update.

    To resolve the problem, open your machine.config file and check line #359 and #367 (please note that the line numbers may vary a bit, depending if you have installed other components which have changed your machine.config):
    - line 359: assembly="System.Web.UI.MobileControls.Adapters,Version=,Culture=neu­tral,PublicKeyToken=b03f5f7f11d50a3a" />
    - line 367: assembly="System.Web.UI.MobileControls.Adapters,Version=,Culture=neu­tral,PublicKeyToken=b03f5f7f11d50a3a" />

    Both lines should be the same. Next, remove the section that belongs to line 367 like below:

    BEGIN section inserted by Device Update 2 installer.
    <add assembly="System.Web.UI.MobileControls.Adapters,Version=,
    /> <!-- END section inserted by Device Update 2 installer. -->

    Again, please note that I've neen this error with bith Device Update 2 and Device Update 4, so look carefully at your machine.config since the above may vary a bit.

    I have to admit than the first time I saw this error finding the real problem took me some time (time that luckily I saved with the secont customer... :-) ), so I hope this is useful in case you see this error...

    That's all folks!


  • Never doubt thy debugger

    Back online


    A month after my first post I'm back from my summer holidays and ready to come back to my desk and to my cases to work on... Slow start this week, though: on Thursday and Friday I'll work from home (Home Working, great move and great conquest to improve our work-file balance!), then next week I'll be fully in.

    By the way, just in case you fancy to see a few pictures I took during my vacation, here is a selection.

    I think that's all for now, just a few more days to recoved from the post-vacation duties (gifts to distribute to parents and friends, baggages to unpack etc...), then I should be ready to start this new blogging experience :-)



Page 1 of 1 (2 items)