[Mono-list] Database connection related error in mono

gnsrinivas1 gnsrinivas1 at gmail.com
Fri Aug 14 01:54:29 EDT 2009


When i try to run my .net application which is having database connection i
am getting this error.
Can any body help me to resolve this issue.

	The section <authentication> can't be defined in this configuration file
(the allowed definition context is 'MachineToApplication').
(/usr/local/lib/xsp/2.0/WebSite1/Web.Config line 31)
Description: HTTP 500. 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/local/lib/xsp/2.0/WebSite1/Web.Config line 31)
  at System.Configuration.SectionInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlReader reader,
Boolean overrideAllowed) [0x00000] 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] 
  at System.Configuration.SectionGroupInfo.ReadData
(System.Configuration.Configuration config, System.Xml.XmlReader reader,
Boolean overrideAllowed) [0x00000] 
  at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader
reader, System.Configuration.Configuration config, Boolean overrideAllowed,
Boolean root) [0x00000] 
  at System.Configuration.SectionGroupInfo.ReadRootData
(System.Xml.XmlReader reader, System.Configuration.Configuration config,
Boolean overrideAllowed) [0x00000] 
  at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader
reader, System.String fileName) [0x00000] 
  at System.Configuration.Configuration.Load () [0x00000] 
  at System.Configuration.Configuration.Init (IConfigSystem system,
System.String configPath, System.Configuration.Configuration parent)
[0x00000] 
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000] 
  at System.Configuration.Configuration..ctor
(System.Configuration.InternalConfigurationSystem system, System.String
locationSubPath) [0x00000] 
  at System.Configuration.InternalConfigurationFactory.Create (System.Type
typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] 
  at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration
(System.String path, System.String site, System.String locationSubPath,
System.String server, System.String userName, System.String password)
[0x00000] 

Version information: Mono Version: 2.0.50727.42; ASP.NET Version:
2.0.50727.42

-- 
View this message in context: http://www.nabble.com/Database-connection-related-error-in-mono-tp24966432p24966432.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list