[Mono-dev] Web service client - SendOrPostCallback could not be loaded
Janne Rantala
janne.rantala at gmail.com
Tue Jul 25 07:50:53 EDT 2006
> >> 2006/7/7, Atsushi Eno <atsushi at ximian.com>:
> >>
> >> > I made a fix in svn, but I have no test case for embedded scenario.
> >> > If you are using mono from svn, can you please try it?
> >> >
> >> > Atsushi Eno
> >> >
>
>
Hi again,
I tried that web service from embedded mono -problem again. I still get that
"exePath must be specified when not running inside a stand alone exe."
message. Mono was built today from svn.
Here's the full message:
Unhandled Exception: System.TypeInitializationException: An exception was
thrown
by the type initializer for System.Net.WebRequest --->
System.ArgumentException
: exePath must be specified when not running inside a stand alone exe.
at System.Configuration.ConfigurationManager.OpenExeConfigurationInternal(Con
figurationUserLevel userLevel, System.Reflection.Assembly calling_assembly,
Syst
em.String exePath) [0x00000]
at
System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
l.IInternalConfigSystem.GetSection (System.String configKey) [0x00000]
at System.Configuration.ConfigurationManager.GetSection (System.Stringsection
Name) [0x00000]
at System.Net.WebRequest..cctor () [0x00000] --- End of inner exception
stack
trace ---
at <0x00000> <unknown method>
at System.Web.Services.Protocols.WebClientProtocol.GetWebRequest (
System.Uri u
ri) [0x00000]
at System.Web.Services.Protocols.HttpWebClientProtocol.GetWebRequest (
System.U
ri uri) [0x00000]
at System.Web.Services.Protocols.SoapHttpClientProtocol.GetWebRequest(System.
Uri uri) [0x00000]
at
System.Web.Services.Protocols.SoapHttpClientProtocol.GetRequestForMessage (
System.Uri uri, System.Web.Services.Protocols.SoapClientMessage message)
[0x0000
0]
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke (
System.String
method_name, System.Object[] parameters) [0x00000]
at WSTest.net.xmethods.www.CurrencyExchangeService.getRate (System.Stringcoun
try1, System.String country2) [0x00000]
at (wrapper remoting-invoke-with-check)
WSTest.net.xmethods.www.CurrencyExchan
geService:getRate (string,string)
at WSTest.Class1.WebServiceTest () [0x00000]
Thanks in advance,
Janne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060725/6e5beb39/attachment.html
More information about the Mono-devel-list
mailing list