[Mono-dev] Re: XmlSerializer / exePath must be specified
Janne Rantala
janne.rantala at gmail.com
Thu Mar 30 03:06:31 EST 2006
Doesn't anyone use web services from embedded Mono? I'd be surprised if
no-one has ever heard of this. If I'm correct, exePath was added to .NET
2.0 so is this not-implemented-yet -issue or have I left something undone?
If I run the same program from VS2005 it works.
I've tried Googling but so far the results are less hopeful.
Any ideas?
Janne
2006/3/21, Janne Rantala <janne.rantala at gmail.com>:
>
> Hi,
>
> I'm trying to run web service proxy with embedded Mono but I keep getting
> this error message.
> Can anybody give me a hint where to specify that exePath?
>
> Unhandled Exception: System.TypeInitializationException : An exception was
> thrown
> by the type initializer for System.Xml.Serialization.XmlSerializer --->
> System.
> ArgumentException: exePath must be specified when not running inside a
> stand alo
> ne exe.
> in <0x00253>
> System.Configuration.ConfigurationManager:OpenExeConfigurationInter
> nal (ConfigurationUserLevel userLevel, System.Reflection.Assemblycalling_assemb
> ly, System.String exePath)
> in <0x0003b>
> System.Configuration.ClientConfigurationSystem:System.Configuration
> .Internal.IInternalConfigSystem.GetSection (System.String configKey)
> in <0x0001f> System.Configuration.ConfigurationManager:GetSection (
> System.String
> sectionName)
> in <0x0001f> System.Configuration.DefaultConfig:GetConfig (System.Stringsection
> Name)
> in <0x00017> System.Configuration.ConfigurationSettings:GetConfig (
> System.String
> sectionName)
> in <0x001cd> System.Xml.Serialization.XmlSerializer:.cctor ()--- End of
> inner ex
> ception stack trace ---
>
> Janne
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060330/97913957/attachment.html
More information about the Mono-devel-list
mailing list