GitHub user sfirke closed a discussion: Excel spreadsheet upload in Superset 
targeting MSSQL fails with "The COMMIT TRANSACTION request has no corresponding 
BEGIN TRANSACTION"

Sometimes when I try to upload a spreadsheet via Superset, I get "upload 
failed" in the frontend and this error in the logs:
```
2025-07-23 14:50:38,155:WARNING:superset.views.error_handling:CommandException
Traceback (most recent call last):
  File "src/pymssql/_pymssql.pyx", line 254, in 
pymssql._pymssql.Connection.commit
  File "src/pymssql/_mssql.pyx", line 1094, in 
pymssql._mssql.MSSQLConnection.execute_non_query
  File "src/pymssql/_mssql.pyx", line 1115, in 
pymssql._mssql.MSSQLConnection.execute_non_query
  File "src/pymssql/_mssql.pyx", line 1289, in 
pymssql._mssql.MSSQLConnection.format_and_run_query
  File "src/pymssql/_mssql.pyx", line 1855, in 
pymssql._mssql.check_cancel_and_raise
  File "src/pymssql/_mssql.pyx", line 1901, in 
pymssql._mssql.raise_MSSQLDatabaseException
pymssql._mssql.MSSQLDatabaseException: (3902, b'The COMMIT TRANSACTION request 
has no corresponding BEGIN TRANSACTION.DB-Lib error message 20018, severity 
16:\nGeneral SQL Server error: Check messages from the SQL Server\n')
```

GitHub link: https://github.com/apache/superset/discussions/34283

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to