» Home » transaction » Page 1
I am receiving “PROMOTE TRANSACTION request failed because there is no local transaction active” in a System.Transaction.TransactionScope
by Monev in Programming Languages

I have an asp.net MVC app thats running for about a week then today started to get this error.


Running on .net 4.0, Win 2K8 R2 talking to SQL Server 2K8 on Win 2K8 R2.


All servers have MS DTC running on them.


I am doing a simple aspnet membership create then creating additional data in my own user table, inside the scope.


Seems like once one perso


how do i get transaction info in spring whether transaction is commited or rollback in a declartive transaction management
by CurrentlyPissed in Development

i use following declartive spring transaction.


<!-- Declare a transaction manager-->
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager" p:sessionFactory-ref="sessionFactory" />
<!-- enable the configuration of transactional behavior based on annotations -->
<tx:annotation-driven transa

C# SQL Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction
by Salikh in Programming Languages

I'm getting this error (Distributed transaction completed. Either enlist this session in a new transaction or the NULL transaction.) when trying to run a stored procedure from C# on a SQL Server 2005 database. I'm not actively/purposefully using transactions or anything, which is what makes this error weird. I can run the stored procedure from management studio and it works fine. Other store


How to debug: Internal Error current transaction is aborted, commands ignored until end of transaction block
by taekeun in Programming Languages

Hi Stackoverflow people,


I do my first steps with GeoDjango and I am looking for better options to check faulty sql statements.


So far, I simply wanted to safe a lng+lat point in my postgresql table.


The model is defined with:


geolocation = models.PointField(_('Geo Location'),
geography=True,
nul

Google Chrome, WebWorks, HTML5Database, transaction() and alert - transaction callback not called
by orson in Web Design

We've run into a strange situation. We're calling a database.transaction(txCallback, txError, txSuccess),
and if we follow the transaction call with an alert() call, the txSuccess function is called without the
txCallback function ever being called.


Is this a known error, or documented behaviour with a reasonable explan


Django testing - InternalError: current transaction is aborted, commands ignored until end of transaction block
by z1ggy in Databases

In my tests I do not only test for the perfect case, but especially for edge cases and error conditions. So I wanted to ensure some uniqueness constraints work.


While my test and test fixtures are pretty complicated I was able to track the problem down to the following example, which does not use any custom models. To reproduce the behaviour just save the code into tests.py and run


Current transaction is aborted, commands ignored until end of transaction block (JBoss 7.1.1/Infinispan 5.1.2.Final)
by ghost recon88 in Databases

I am seeing the following (truncated) stacktrace in the server.log file of JBoss 7.1.1 Final:


Caused by: org.postgresql.util.PSQLException: ERROR: current transaction is aborted, commands ignored until end of transaction block
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2102)
at org.postgresql.core.v3.QueryExecutorImpl.process

Is it possible combine transaction scope with committing a transaction inside a stored procedure?
by Joshua Johnson in Programming Languages

We have a test that runs within a transaction scope. We dispose of the transaction scope at the end to avoid changing the database.


This works fine in most cases.


However, when we use Entity Framework to execute a stored procedure which contains a transaction, which is committed inside the stored procedure. We get the following error:


"Distributed transaction


EJB3 - using 2 persistence units within a transaction (Exception: Local transaction already has 1 non-XA Resource)
by hyperNURb in Web Design

I am trying to use 2 persistence units within the same transaction in a JEE application deployed on Glassfish.


The 2 persistence units are defined in persistence.xml, as follows:


<persistence-unit name="BeachWater">
<jta-data-source>jdbc/BeachWater</jta-data-source>
...
<persistence-unit name="LIMS">
<jta-data-source>j

.net C# FirebirdSql Inetr Base transaction scope : transaction abort exception
by Edo in C & C++ & C#

I am using FirebirdSql for Interbase database in C# .net environment.


My application is divided into 3 parts,
1. Handler
2. Connector
3. DBLayer


In Handler I set all my fields property, Like


Decimal name = payment.name;
Decimal convRate = payment.ConvRate;
string remark = "Some Text";
retValue = Payment.Insert(name,convRa

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .