Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# 4uiwork 2/5/2010 10:54 AM
Hi, I run a Cuyahoga build and am experiencing a terrible bug / situation. When multiple people access my website it crashes. I believe it may have to do with protection rights when handling the database? I'm really lost. Any insight or help would be greatly appreciated.
# martijnb 2/5/2010 6:10 PM
So, what's the exact error message? And which version of Cuyahoga are you running?
# maskedrhyme 2/10/2010 11:03 PM
Hi,

Cuyahoga version is 1.0.0.30820, NHybernate version is 1.0.3.0.

We get the following error message (we noticed that it happens when a few people are using web site):

[XmlSchemaException: Could not find schema information for the element 'urn:nhibernate-mapping-2.0:hibernate-mapping'.]
NHibernate.Cfg.Configuration.ValidationHandler(Object o, ValidationEventArgs args) +15
System.Xml.Schema.BaseValidator.SendValidationEvent(XmlSchemaException e, XmlSeverityType severity) +60
System.Xml.Schema.BaseValidator.SendValidationEvent(String code, String msg, XmlSeverityType severity) +183
System.Xml.Schema.XsdValidator.ProcessElement(Object particle) +211
System.Xml.Schema.XsdValidator.ValidateElement() +175
System.Xml.Schema.XsdValidator.Validate() +69
System.Xml.XmlValidatingReaderImpl.ProcessCoreReaderEvent() +125
System.Xml.XmlValidatingReaderImpl.Read() +46
System.Xml.XmlValidatingReader.Read() +15
System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace) +58
System.Xml.XmlLoader.LoadDocSequence(XmlDocument parentDoc) +20
System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +129
System.Xml.XmlDocument.Load(XmlReader reader) +108
NHibernate.Cfg.Configuration.LoadMappingDocument(XmlTextReader hbmReader) +174
NHibernate.Cfg.Configuration.AddXmlReader(XmlTextReader hbmReader) +13
NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream) +72

[MappingException: Could not find schema information for the element 'urn:nhibernate-mapping-2.0:hibernate-mapping'.]
NHibernate.Cfg.Configuration.AddInputStream(Stream xmlInputStream) +164
NHibernate.Cfg.Configuration.AddClass(Type persistentClass) +125

[MappingException: Error reading resource: RRWS.Modules.Navigation.Core.Domain.NavigationLink.hbm.xml]
NHibernate.Cfg.Configuration.AddClass(Type persistentClass) +206
Cuyahoga.Core.Service.SessionFactory.RegisterPersistentClass(Type type) +46
RRWS.Modules.Navigation.Web.NavigationMenuModule..ctor(Section section) +42

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType) +0
System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType) +15
System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +249
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
Cuyahoga.Core.Domain.Section.CreateModule(String sectionUrl) +127

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) +261
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +29
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
Castle.DynamicProxy.Invocation.AbstractInvocation.Proceed(Object[] args) +125
NHibernate.Proxy.CastleLazyInitializer.Intercept(IInvocation invocation, Object[] args) +84
CProxyTypeCuyahoga_Core_DomainSectionDomain_NHibernate_ProxyINHibernateProxy1.CreateModule(String sectionUrl) +115
Cuyahoga.Web.UI.PageEngine.CreateModuleControlForSection(Section section) +112
Cuyahoga.Web.UI.PageEngine.LoadContent() +761
Cuyahoga.Web.UI.PageEngine.OnInit(EventArgs e) +1387
System.Web.UI.Control.InitRecursive(Control namingContainer) +333
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

Thanks in advance!