I have been using Oracle Helper to connect to my oracle 9i Db. When
excute text it works fine, but when I try to execute a store procedure
I get the following error message. I searched everyplace for a
solution.
System.Data.Ole Db.OleDbExcepti on: ̸Ώ
[OleDbException (0x80004005): ̸Ώ]
System.Data.Ole Db.OleDbCommand .ExecuteCommand TextForMultpleR esults(tagDBPAR AMS
dbParams, Object& executeResult) +161
System.Data.Ole Db.OleDbCommand .ExecuteCommand Text(Object&
executeResult) +160
System.Data.Ole Db.OleDbCommand .ExecuteCommand (CommandBehavio r
behavior, Object& executeResult) +48
System.Data.Ole Db.OleDbCommand .ExecuteReaderI nternal(Command Behavior
behavior, String method) +106
System.Data.Ole Db.OleDbCommand .ExecuteNonQuer y() +108
Here is my code:
string sql = "ghi.usp_Catego ry_Add";
OleDbParameter[] sp = new OleDbParameter[10];
HttpContext.Cur rent.Trace.Writ e("Category",
content.ToStrin g());
sp[0] = new OleDbParameter( "p_Id", content.Id);
sp[0].OleDbType = OleDbType.Integ er;
sp[0].Direction = ParameterDirect ion.InputOutput ;
sp[1] = new OleDbParameter( "p_parentId ", content.ParentI d);
sp[1].OleDbType = OleDbType.Integ er;
sp[2] = new OleDbParameter( "p_name", content.Name);
sp[2].OleDbType = OleDbType.VarCh ar;
sp[3] = new OleDbParameter( "p_description" ,
content.Descrip tion);
sp[4] = new OleDbParameter( "p_priority ", content.Priorit y);
sp[5] = new OleDbParameter( "p_url", content.Url);
sp[6] = new OleDbParameter( "p_ContentI d", content.Content Id);
sp[7] = new OleDbParameter( "p_ShowSubMenu" ,
content.ShowSub Menu);
sp[8] = new OleDbParameter( "p_SideMenu ", content.SideMen u);
sp[9] = new OleDbParameter( "p_user", "john");
OleDbHelper.Exe cuteNonQuery(Se ttings.Connecti onString,
CommandType.Sto redProcedure, sql, sp);
content.Id = FormUtils.Conve rtInt(sp[0].Value.ToString ()); 0 1637 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: T8 |
last post by:
I have a asp.net (framework 1.1) site interfacing against SQL 2000. It runs like a charm 99% of the time but once in a while I get the following "unspecified error". Sometimes it would resolve by itself (asp.net recycled?); it also can be solved by restarting IIS.
Any ideas what cause(s) this to happen?
System.Data.OleDb.OleDbException: Unspecified error
at System.Data.OleDb.OleDbDataReader.ProcessResults(Int32 hr)
at...
|
by: NicK chlam via DotNetMonster.com |
last post by:
this is the error i get
System.Data.OleDb.OleDbException: Syntax error in INSERT INTO statement.
at System.Data.Common.DbDataAdapter.Update(DataRow dataRows,
DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataSet dataSet, String
srcTable)
at System.Data.Common.DbDataAdapter.Update(DataSet dataSet)
at TryThis.Form1.save() in C:\Documents and Settings\Nick\My Documents\...
|
by: petro |
last post by:
I am trying to deploy an asp.net application to my web server. My
application uses system.data.oledb to connect to an oracle database. On my
development machine I have the oracle client 10g installed and my application
works. But on the Web server I get the error below. I believe it is because
the Oracle client was not installed on the web server. The web server has
two drives, our techs installed the oracle client on one drive and my...
|
by: petro |
last post by:
I am trying to deploy an asp.net application to my web server. My
application uses system.data.oledb to connect to an oracle database. On my
development machine I have the oracle client 10g installed and my application
works. But on the Web server I get the error below. I believe it is because
the Oracle client was not installed on the web server. The web server has
two drives, our techs installed the oracle client on one drive and my...
|
by: petro |
last post by:
Hello all,
My asp.net web application works on my machine but I get the following error
on our test web server, There is only one oracle home on the test server.
Does anyone know how to resolve this error?
Oracle error occurred, but error message could not be retrieved from Oracle.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the...
| |
by: thangchan |
last post by:
Hi all,
i am getting SQL update problem. as below
======================error messages =======================
Server Error in '/CMS' Application.
--------------------------------------------------------------------------------
無值提供給一或多個必要參數。
Description: An unhandled exception occurred during the execution of
the current web request. Please review the stack trace for more
|
by: BookerW |
last post by:
I am not sure which forum I should post this on, but here is the problem. I
have a front end web application(VB) on asp,net 1.1 framework. Inside of the
code, I have the following lines to connect to the database
If gbSQLServer Then
'sConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0; Data
Source=c:\w\vgyl\hy.mdb"
gsConnectionString = "Provider=SQLOLEDB;Data Source=frt4;Initial
Catalog=SRMSM;Integrated Security=SSPI"
Else
|
by: bw171 |
last post by:
Hopefully, I frame this problem/question correctly.
I have some code written/updated in visual studio 2003. This code when setup on other machines where I have installed the Oracle 9i client, and the Oracle 9.0 odbc drivers will connect to my oracle database when debugging. I ported the SAME code onto a new machine, installed visual studio 2003, installed IIS, installed the .net frameworks 1 thru 3, but when I am going through the code and...
|
by: =?Utf-8?B?Ym9va2VyQG1ndA==?= |
last post by:
Hopefully, I frame this problem/question correctly.
I have some code written/updated in visual studio 2003. This code when
setup on other machines where I have installed the Oracle 9i client, and the
Oracle 9.0 odbc drivers will connect to my oracle database when debugging. I
ported the SAME code onto a new machine, installed visual studio 2003,
installed IIS, installed the .net frameworks 1 thru 3, but when I am going
through the code...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |