I took a look at the ELMAH database (the error logger) and apparently System.transaction is throwing the error
Yeah I thought so too but I looked; that's just the root from the compilation and it doesn't throw and error. The real problem, however is that, surprise surpise, DiscountASP.NET doesn't support ASP.NET web transactions.
Hello DiscountASP.NET Users and Support Members, I'm running into the following problem when I attempt to register new users on a DotNetKicks (http://www.dotnetkicks.com/) instance that I am hosting on a DiscountASP.NET account; I don't understand what is causing the error, other than I am missing some permission. Please throw out any suggestions as to what the root of the issue is: Server Error in '/' Application. Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) 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.UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate='true'/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. To grant ASP.NET access to a file, right-click the file in Explorer, choose 'Properties' and select the Security tab. Click 'Add' to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access. 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: [UnauthorizedAccessException: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))] System.Transactions.Oletx.IDtcProxyShimFactory.ConnectToProxy(String nodeName, Guid resourceManagerIdentifier, IntPtr managedIdentifier, Boolean& nodeNameMatches, UInt32& whereaboutsSize, CoTaskMemHandle& whereaboutsBuffer, IResourceManagerShim& resourceManagerShim) +0 System.Transactions.Oletx.DtcTransactionManager.Initialize() +160 System.Transactions.Oletx.DtcTransactionManager.get_ProxyShimFactory() +51 System.Transactions.TransactionInterop.GetOletxTransactionFromTransmitterPropigationToken(Byte[] propagationToken) +174 System.Transactions.TransactionStatePSPEOperation.PSPEPromote(InternalTransaction tx) +70 System.Transactions.TransactionStateDelegatedBase.EnterState(InternalTransaction tx) +201 System.Transactions.EnlistableStates.Promote(InternalTransaction tx) +12 System.Transactions.Transaction.Promote() +53 System.Transactions.TransactionInterop.ConvertToOletxTransaction(Transaction transaction) +28 System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts) +202 System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx) +527 System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx) +740108 System.Data.SqlClient.SqlInternalConnectionTds.Activate(Transaction transaction) +734295 System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction) +30 System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1209 System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82 System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105 System.Data.SqlClient.SqlConnection.Open() +111 SubSonic.SqlDataProvider.CreateConnection(String newConnectionString) +34 SubSonic.SqlDataProvider.CreateConnection() +22 SubSonic.AutomaticConnectionScope..ctor(DataProvider provider) +56 SubSonic.SqlDataProvider.ExecuteScalar(QueryCommand qry) +46 SubSonic.ActiveRecord`1.Save(String userName) +156 SubSonic.ActiveRecord`1.Save() +11 Incremental.Kick.BusinessLogic.UserBR.CreateUser(String username, String email, Boolean receiveEmailNewsletter, Host host) in C:\Inetpub\Negatainment\dotnetkicks\DotNetKicks\Incremental.Kick\BusinessLogic\UserBR.cs:62 Incremental.Kick.Web.UI.Controls.Register.CreateAccount_Click(Object sender, EventArgs e) in C:\Inetpub\Negatainment\dotnetkicks\DotNetKicks\Incremental.Kick.Web.UI\Controls\User\Register.ascx.cs:20 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
Yeah.. ASP.NET transaction is not supported because of certain technical issues. Bruce DiscountASP.NET www.DiscountASP.NET