| | |
create dll using vb.net and how to call it from sql server
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
Join Date: May 2008
Posts: 18
Reputation:
Solved Threads: 0
thank you for the information. Yes i am working in VB.net. when i was not able to register a dll created with vb.net i tried VB 6.0. Now VB6 dll is working fine. i am calling this dll using a trigger which is for INSERT record. But when my application inserts a record to the table, Trigger runs succefully but record is not inserted and gives this Error:
Description: Receipt. Database error (operation=INSERT, error=0). [Microsoft][SQL Native Client]Connection is busy with results for another command Please refer this error to your database administrator or see your database documentation for further assistance.
Source: 12:27:08
so i want to try , call a VB script from sql. if it possible and if u know about this, pls tell me how can i proceed.
Description: Receipt. Database error (operation=INSERT, error=0). [Microsoft][SQL Native Client]Connection is busy with results for another command Please refer this error to your database administrator or see your database documentation for further assistance.
Source: 12:27:08
so i want to try , call a VB script from sql. if it possible and if u know about this, pls tell me how can i proceed.
You may want to check permissions like CornerAnalyst suggested. However, I think you would get a different error message if it were permissions.
Here's another MS TechNet forum thread. It's for VB.NET but I think the points in that thread can apply to VB6 too. The two points that might cause that error are inserting a null value to a "not null"-field and explicitly disposing data-adapter commands. So in the case of VB6 the issue may come from any previous command (or command object to be more precise).
Also, the SQLProfiler was mentioned. It might be worth to try to see what actually happens.
Here's another MS TechNet forum thread. It's for VB.NET but I think the points in that thread can apply to VB6 too. The two points that might cause that error are inserting a null value to a "not null"-field and explicitly disposing data-adapter commands. So in the case of VB6 the issue may come from any previous command (or command object to be more precise).
Also, the SQLProfiler was mentioned. It might be worth to try to see what actually happens.
Teme64 @ Windows Developer Blog
![]() |
Similar Threads
- Cant Load Symantec Antivirus (Viruses, Spyware and other Nasties)
- HOWTO: Share an SQL Connection between multiple forms within the same project (C#)
- Am Getting System Errors When running my VB.NET project (VB.NET)
- Urgent Pls Help: My codes are in errors! (C++)
- Urgent: I need Help in c++.net! (ASP.NET)
- ads234 is driving me NUTS (Viruses, Spyware and other Nasties)
- ASP and SQL ? (MS SQL)
Other Threads in the VB.NET Forum
- Previous Thread: Remove string items from array if match with datareader items.
- Next Thread: student name and grade in file
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account add application array basic beginner browser button buttons center check click code combo cpu crystalreport cuesent database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel exists fade file-dialog filter forms ftp generatetags html images input insert intel listview mobile module monitor mysql net number open output panel passingparameters picturebox picturebox2 port print printing printpreview problem regex reuse right-to-left searchvb.net select settings shutdown socket sqldatbase sqlserver storedprocedure survey tcp temperature textbox timespan transparency trim txttoxmlconverter user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet vista visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





