[Mono-aspnet-list] VS2010 compiled webproject on XSP server on Linux

Alfaromeo pushparaj.bs at gmail.com
Wed Feb 8 13:52:01 UTC 2012


Created a small VS2010 Web Application and published the same. Took the
published output and put it under XSP root folder in Linux .
The Linux box is having Mono 2.10.8. running with xsp-2.10.2 webserver.
Getting the following error whiel browsing the page

The section <authentication> can't be defined in this configuration file
(the allowed definition context is 'MachineToApplication').
(/usr/lib/xsp/Raj/TEST/web.config line 20)
Description: HTTP 400. Error processing request.

Stack Trace: 

System.Configuration.ConfigurationErrorsException: The section
<authentication> can't be defined in this configuration file (the allowed
definition context is 'MachineToApplication').
(/usr/lib/xsp/Raj/TEST/web.config line 20)
  at System.Configuration.SectionInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlReader reader,
Boolean overrideAllowed) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlReader reader,
Boolean overrideAllowed) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] in <filename unknown>:0 
  at System.Configuration.SectionGroupInfo.ReadRootData
(System.Xml.XmlReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
reader, System.String fileName) [0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration.Load () [0x00000] in <filename
unknown>:0 
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000] in <filename unknown>:0 
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000] in <filename unknown>:0 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in
<filename unknown>:0 
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path, System.String site, System.String locationSubPath 




--
View this message in context: http://mono.1490590.n4.nabble.com/VS2010-compiled-webproject-on-XSP-server-on-Linux-tp4369472p4369472.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list