[Mono-list] Re: XSP2 and WebServices
robertj at gmx.net
Thu Mar 23 14:22:45 EST 2006
Michał Ziemski wrote:
> I have a problem invoking the TestService.asmx (test webservice bundled
> with XSP) when
> running it in xsp2.
> I get "An exception was thrown by the type initializer for
> System.Net.HttpWebRequest" when I try to run it from the default test form
> for the first time. Any further invocation results in "Error:
> Everything works perfect in xsp.
> My configuration: Fedora Core 4, Mono 1.1.13-4
> Any ideas?
1) edit $your-mono-prefix/etc/2.0/machine.config and
It occurs only once.
2) go to http://mono.ximian.com/daily/ and download an update
suitable for your Mono version. Untar the update, lookup
System.dll and update your installation with
gacutil -i System.dll
This will be fixed with the next (minor or major) Mono version.
More information about the Mono-list