473,387 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

ADO: open session in pl/sql

Hi all,

When I try to open a session on an oracle database using the pl/sql procedure session#.open_session, i get the following error:

Run-time error '-2147467259 (80004005)':

Unspecified error

The code is as follows

Dim cmd as ADODB.Command
Set cmd = New ADODB.Command
WIth cmd
.CommandText = "session#.open_session"
.CommandType = 4
.ActiveConnection = cn
.Execute
End With

...the connection (cn) has been set and everything. I can execute SQL queries for example. The error occurs on the .Execute

Any ides anyone?

Thanks in advance,
Fabalicious
Sep 29 '08 #1
0 1445

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Dave | last post by:
Hey, I'm running a localhost web server...W2K with IIS 5.0, and I'm trying to use ASP/ADO to access my Access database. When I first load the page, everything works, but if i hit refresh (F5 or...
7
by: Mac Davis | last post by:
Is it possible to use ADO in global.asa? I simply want to creat a log of each visit to the site? Thanks, -dmd-
30
by: js | last post by:
Hi, I have some questions about replace with mdb file with xml file: Can I use ado and xml to store info instead of Ms access database, what will be the diff? can ado and xml support mult-user...
7
by: Spencer H. Prue | last post by:
Hello!, I have a using system.web.sessionstate directive one the top of each of two web pages. On the first page I have the dataadapter, dataconnection, and dataset (also in the component tray)....
3
by: Paul | last post by:
I have 3 User Control .ascx files that are included in a base .aspx file. In each ascx file, as well as the base aspx file, I make ADO.Net calls that require a datatbase connection. It appears...
7
by: shank | last post by:
The below code works, but is truncating part of the inserted data. AffNo is numeric and inserts fine orderno is alphanumeric and gets truncated at 6 digits qty is numeric and inserts fine Not...
10
by: PW | last post by:
If I am using ASP and access an Access database, but I am not using ADO, what is the name of the database methodology I am using ?
3
by: Brian | last post by:
An MSKB article on the scalability of ADO/ASP (http://support.microsoft.com/kb/176056/EN-US/) says in a discussion of why connection objects shouldn't be stored in session variables, "If you do...
6
by: Charles Zhang | last post by:
I want to reuse ADO.NET Connection object from session to session, are there any way to do that? Thanks Charles Zhang
2
by: =?Utf-8?B?U3VuaWwgUGFuZGl0YQ==?= | last post by:
Hi All, I have created a VB.Net application that used classic ADO to access the oracle database. I have mentained a persistant connection in it. When i start the application and it works fine....
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
jinu1996
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.