Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# sarmaad 4/13/2007 9:09 AM
Hi,

i have been playing with the system fro two days now. what a great work :), but i have been getting this error!!
Server Error in '/' Application.
Nested transactions are not supported.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Nested transactions are not supported.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[InvalidOperationException: Nested transactions are not supported.]
   MySql.Data.MySqlClient.MySqlConnection.BeginTransaction(IsolationLevel iso) +392
   MySql.Data.MySqlClient.MySqlConnection.BeginDbTransaction(IsolationLevel isolationLevel) +14
   System.Data.Common.DbConnection.System.Data.IDbConnection.BeginTransaction() +10
   NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel) +81

[TransactionException: Begin failed with SQL exception]
   NHibernate.Transaction.AdoTransaction.Begin(IsolationLevel isolationLevel) +203
   NHibernate.Transaction.TransactionFactory.BeginTransaction(ISessionImplementor session) +36
   NHibernate.Impl.SessionImpl.BeginTransaction() +29
   Castle.Facilities.NHibernateIntegration.SessionDelegate.BeginTransaction() +30
   Castle.Facilities.NHibernateIntegration.Internal.DefaultSessionManager.EnlistIfNecessary(Boolean weAreSessionOwner, ITransaction transaction, SessionDelegate session) +473
   Castle.Facilities.NHibernateIntegration.Internal.DefaultSessionManager.OpenSession(String alias) +281
   Castle.Facilities.NHibernateIntegration.Internal.DefaultSessionManager.OpenSession() +35
   Cuyahoga.Core.DataAccess.CommonDao.SaveOrUpdateObject(Object obj) +13
   ProxyInterfaceDataAccessCommonDao_ICommonDao_ISerializable.callback__SaveOrUpdateObject(Object ) +10
   __delegate_6.Call(Object[] ) +19
   Castle.Windsor.Proxy.DefaultMethodInvocation.Proceed(Object[] args) +164
   Castle.Facilities.AutomaticTransactionManagement.TransactionInterceptor.Intercept(IMethodInvocation invocation, Object[] args) +477
   Castle.Windsor.Proxy.DefaultMethodInvocation.Proceed(Object[] args) +123
   Castle.Windsor.Proxy.InterceptorChain.Intercept(IMethodInvocation invocation, Object[] args) +182
   ProxyInterfaceDataAccessCommonDao_ICommonDao_ISerializable.SaveOrUpdateObject(Object obj) +104
   Cuyahoga.Core.Service.CoreRepositoryAdapter.UpdateObject(Object obj) +10
   Cuyahoga.Web.HttpModules.AuthenticationModule.AuthenticateUser(String username, String password, Boolean persistLogin) +242

[Exception: Unable to log in user 'admin': Begin failed with SQL exception]
   Cuyahoga.Web.HttpModules.AuthenticationModule.AuthenticateUser(String username, String password, Boolean persistLogin) +609
   Cuyahoga.Web.Admin.Login.btnLogin_Click(Object sender, EventArgs e) +119
   System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42


my installation is on mysql 4, windows platform.

i am just wondering if anyone else came across this issue before.

thanks
Sarmaad
# martijnb 4/13/2007 9:55 AM
Haven't seen this one. Are you using MySQL 4.0 or 4.1?
# sarmaad 4/13/2007 10:34 AM
mySQL 4.1

i have tried to restart IIS and aspnet_wp.exe, but the problem continued. however, the problem gone after restarting the pc.

thanks