User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MS SQL section within the Web Development category of DaniWeb, a massive community of 426,471 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,275 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MS SQL advertiser: Programming Forums
Views: 705 | Replies: 1
Reply
Join Date: Aug 2007
Posts: 14
Reputation: jayz_raul is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
jayz_raul's Avatar
jayz_raul jayz_raul is offline Offline
Newbie Poster

ms sql2005:error msg

  #1  
Sep 3rd, 2007
hye there...anyone can help me out here...im having problem in running sql command
its shows error : "sqlConnection does not support parrallel transactions"
trans = conn.BeginTransaction()
Dim strs As New SqlCommand
strs.Transaction = trans
strs.Connection = conn
strs.CommandText = "Insert into StudentSMS (RecipientCode,RecipientNumber) values ('" & RecipientCode & "' , '" & RecipientNumber & "' )"
strs.ExecuteNonQuery()

any ideas and help need urgently....thankz
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: UAE
Posts: 406
Reputation: Sulley's Boo will become famous soon enough Sulley's Boo will become famous soon enough 
Rep Power: 5
Solved Threads: 9
Sulley's Boo's Avatar
Sulley's Boo Sulley's Boo is offline Offline
Posting Pro in Training

Re: ms sql2005:error msg

  #2  
Sep 12th, 2007
before you begin your transaction, make sure the conn is open ..

and close it when you are done ..
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MS SQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MS SQL Forum

All times are GMT -4. The time now is 3:57 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC