DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 2 Aug 2007 07:08:02 -0700,    posted on: microsoft.public.dotnet.framework.adonet        back       

Thread Index
  1    N S N


ADO.NET Hangs-up(does not return) when executing SQL Batch Satetme   
I have encountered a wiered problem.
I am using visual studio 2005, Oracle 8.1 and OracleClient.

ADO.NET works fine even for batch statement, but for some reason, it 
hangs-up and never comes back, when executing the statement like this.

BEGIN 
RDS.GENERATE_FORMULA_BATCH('2395589','100','02-Aug-2007','02-Aug-2007','HSDEMO5',NULL,NULL,1,46,NULL,NULL); 
RDS.GENERATE_FORMULA_BATCH('2395605','100','02-Aug-2007','02-Aug-2007','HSDEMO8',NULL,NULL,1,46,NULL,NULL); 
END;

when i execute in SQL navigator it comes back with Error(that is generated 
by trigger as business logic error), but i expect AD.NET as well to return me 
an error, instead it never comes back.

 Cmd.Connection = Cn
 Cmd.CommandType = CommandType.Text
 Cmd.CommandText = SQL
 Cmd.ExecuteNonQuery

Just wanted me highlight, that i have several such SQL Statements which runs 
fine, but this fails & hangup .

Any help is appreciated
Date:Thu, 2 Aug 2007 07:08:02 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us