[Mono-list] machine.config problem

Juan C. Olivares juancri at gmail.com
Fri Apr 6 05:38:53 EDT 2007


Hi:

I have problems today with machine.config (...etc/mono/2.0/machine.config),
This problem is not present in 1.0.

When I execute xsp2 with a webservice, I get this exception, accessing the
webservice helper:

System.Configuration.ConfigurationErrorsException: The section
<roleManager> can't be defined in this configuration file (the allowed
definition context is 'MachineToApplication'). () ( line 193)
  at System.Configuration.SectionInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlTextReader
reader, Boolean overrideAllowed) [0x00000]

If I comment this seccion I get this new exception:

System.Configuration.ConfigurationErrorsException: The section
<profile> can't be defined in this configuration file (the allowed
definition context is 'MachineToApplication'). () ( line 201)
  at System.Configuration.SectionInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlTextReader
reader, Boolean overrideAllowed) [0x00000]

If I comment again this section, everything works fine..

-- 
Juan Cristóbal Olivares
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070406/98c7fdf0/attachment.html 


More information about the Mono-list mailing list