[Mono-dev] Remoting URI Exception

Sebastien Pouliot sebastien.pouliot at gmail.com
Sun Nov 20 09:25:54 EST 2005


Hello Carlos,

On Sun, 2005-11-20 at 02:29 -0600, Carlos Solorzano wrote:
> I upgraded my mono runtime to 1.1.10 and now the remoting code that  
> was working just fine is giving me the following exception:
> 
> Unhandled Exception: System.UriFormatException: Invalid URI: Invalid  
> port number

This should give you an hint (port number).

If possible try to print the Uri you're using on the Console and, if it
seems a valid Uri, post it on the list (or better a bug report).

You may also want to try (if the Uri looks valid) SVN HEAD as many Uri
bugs have been fixed post Mono 1.1.10 (as I'm including support for some
2.0 features).

> in <0x00ca9> System.Uri:Parse (System.String uriString)
> in <0x0001b> System.Uri:ParseUri ()
> in <0x00010> System.Uri:Parse ()
> in <0x00098> System.Uri:.ctor (System.String uriString, Boolean  
> dontEscape)
> in <0x0001d> System.Uri:.ctor (System.String uriString)
> in (wrapper remoting-invoke-with-check) System.Uri:.ctor (string)
> in <0x00030> System.Net.ServicePointManager:FindServicePoint  
> (System.String uriString, IWebProxy proxy)
> in <0x00032>  
> System.Runtime.Remoting.Channels.Http.HttpClientChannel:SetServicePoint  
> (System.String channelURI)
> in <0x002f1>  
> System.Runtime.Remoting.Channels.Http.HttpClientChannel:CreateMessageSin 
> k (System.String url, System.Object remoteChannelData, System.String  
> objectURI)
> 
> 
> My code wasn't changed at all, I literally just installed the new  
> mono release and reran the code. I will continue adding to this email  
> as I find more information but its getting a bit late tonight.
> 
> --Carlos
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-- 
Sebastien Pouliot
email: sebastien at ximian.com
blog: http://pages.infinit.net/ctech/




More information about the Mono-devel-list mailing list