strange mssql error

  • Thread starter visual technologies
  • Start date
V

visual technologies

Hi
I'm a C# developer and I have very strange problem while using mssql INSERT
statement.
I've received an error like:"System.Data.SqlClient.SqlException: The
statement or function must be executed in the context of a user transaction.
The statement has been terminated."

Can anyone help me with this ?

Slawek
 
D

Douglas J. Steele

Sorry, but this newsgroup is for questions about using ADPs: Access Data
Projects. (Access is the database product that's part of Office
Professional)

You'd be best off posting to a newsgroup related to C#.
 
S

Sylvain Lafontaine

You'll increase your chances of having a good answer by first posting to a
more appropriate newsgroup such as m.p.dotnet.framework.adonet - as this one
is about Access ADP projects and SQL-Server and has nothing to do with C#
and ADO.NET - and second, by providing more details about your C# code.

Other informations like the presence of triggers on your tables could also
prove to be useful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top