[Mono-bugs] [Bug 445991] Error thrown while using ServicePointManager class with Mono 2 .0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Nov 20 01:35:30 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=445991

User kuanil at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=445991#c4


Anil Kumar <kuanil at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
           Severity|Normal                                          |Major
             Status|NEEDINFO                                        |NEW
      Info Provider|kuanil at novell.com                               |




--- Comment #4 from Anil Kumar <kuanil at novell.com>  2008-11-19 23:35:28 MST ---
This happened when the machine was upgraded from Mono 1.2 to Mono 2.0. 
I will tell how :

Our application has a web.config file which has entry like this :  
           <system.net>
                <connectionManagement>
                        <add address="*" maxconnection="10" />
                </connectionManagement>
           </system.net>

Now, inside  "/etc/mono/2.0/machine.config" file, there is another entry for
connectionManagement. so i think that this created a duplicate entry problem
and threw exception as written in comment #1. Although this entry was present
in Mono 1.2's machine.config file also but obviously that was not throwing
error so earlier with Mono 1.2 everything was fine.

A Workaround for this problem is that : we add one more tag <clear /> in our
web.config file before <connemctionManagement> tag. and it stops giving the
error. and our webservice call through SOAP passes.

But when i browsed through net, i found out that other people have also faced
this issue (Duplication problem) after upgrade. so it is problem with Mono 2.0.
Can you ensure that we do not need to use workaround and our old code passes. 
Any more info required from my side ? 


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list