Query regarding oracle 10g connection in Visual Studio 2005
Hi ,
I am having visual studio 2005 installed in my system . when i am adding oracle database connection it is displaying that "use this connection for oracle 7 ,8, 9i versions ..i want to connect oracle 10g database in visual studio 2005. plz tell me how to do that?
looks like u'r try connecting to oracle using server explorer, just hit OK an then fill in your server name, userid and password.
server name might be SID defined in your tnsnames.ora, or in the form of //<machine_name>/<service_name>
Similar Messages
-
OCCI for Oracle 9i and MS Visual Studio 2005
Hello.
Where do I get OCCI *.lib and *.dll files for Oracle 9i and MS Visual Studio 2005 (VC 8)?
Roman Perepelitsa.I was able to use MS Visual Studio 2005 and OCCi classes. There is a catch though, I was not able to use the debug library dll as it will crash. So I was not able to debug any code using the VS debugger, instead, I use the old and lengthy process: insert printf statements.
Jeff -
Does ODT for Oracle XE work on visual studio 2005?
does ODT for Oracle XE work on visual studio 2005?
does ODT for Oracle XE work on visual studio 2005?
-
Slow first connection using Oracle 10g xe and Visual Studio 2008
{noformat}
Good day,
I'm slightly unaccustomed to using forums, so bear with me.
My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
OracleConnection conn = new OracleConnection(xe);
My c:\devsuitehome\network\admin\sqlnet.ora file is this:
# sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
Generated by Oracle configuration tools.
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = xe)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
Just for good measure, my tnsping xe shows:
"Used paramter files:<br/>
c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
Used TNSNAMES adapter to resolve the alias<br/>
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
OK (0 msec)"
So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
Thank you.
Kevin.
{noformat}
Edited by: 832285 on Jan 29, 2011 10:08 AM
Edited by: 832285 on Jan 29, 2011 10:10 AMI have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
Here is the information you requested
1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
Imports Oracle.DataAccess.Client
Also included project reference: oracle.dataaccess / version 2.111.6.20
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
Dim con As OracleConnection = New OracleConnection()
con.ConnectionString = connString
Try
con.Open()
MessageBox.Show("Connected!")
con.Close()
con.Dispose()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End SubMy current TNS Ping results
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)2 Connection to SQL plus is instantaneous.
I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
3 Ram usage in my typical environment
I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
Physical memory
total 4090
cached 1753
available 2345
free 656
system
handles 27141
threads 911
processes 70
commit megs 2860/8179
kernel memory megs
paged 201
nonpaged 52
4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
Oracle Database 10g express edition
ODAC 11.1.0
I amm not sure what filename you would need in addition to the product names that I have installed.
5 The information from the SET command is
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\stepheke\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STEKEV0908
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\stepheke
LOCALAPPDATA=C:\Users\stepheke\AppData\Local
LOGONSERVER=\\STEKEV0908
NUMBER_OF_PROCESSORS=2
oracle_sid=xe
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\stepheke\AppData\Local\Temp
TMP=C:\Users\stepheke\AppData\Local\Temp
USERDOMAIN=stekev0908
USERNAME=stepheke
USERPROFILE=C:\Users\stepheke
VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
windir=C:\Windows -
Unable to connect Oracle 10g Express from Visual Studio Server Explorer
Hello,
Please help me out here. I am connecting from Visual Studio 2008 to Oracle 10g Express Edition and the I have installed the ODAC 11 and the ODP.NET as well for Visual Studio(Both include Oracle Developer tools). But whenever I tried to connect from my Visual Studio 2008 server explorer so that I can have the database and its object there, I do get this error : "ORA-12560 : TNS: protocol adapter error."
The following is what I specified in my connection box:
DataSource Name: (Local Database)
Username : HR
Password: the password for it.
My OS is : Windows Vista Ultimate.
Please anyone who has solved such error should just help out here.
Thanks allThank you for your reply. I will like to know if you can use Visual Studio. In visual studio there is what we called Server Explorer and from there you can create connection and access all the database server from there. I am able to connect to the Oracle XE through the browser and I was able to crete table and other stuffs like that but when I tried to connect from Visual Studio 2008, I get the 12560 Error. I checked my TNSNAMES and found this:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = OLAMMIE)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
Look at what I have in my Sqlnet.Ora file,
# This file is actually generated by netca. But if customers choose to
# install "Software Only", this file wont exist and without the native
# authentication, they will not be able to connect to the database on NT.
SQLNET.AUTHENTICATION_SERVICES = (NTS)
Please kindly help me out of this as it is very urgent. I can connect from browser using http://127.0.0.1:8080/apex but cannot connect from my C# code and Server Explorer. What is likely to cause this error.
Thank you for helping me in advance. -
Connect from visual studio 2005 from PC 1 to Oracle database from PC 2.help
hi every body
i am new in oracle database projects
i have installed oracle 11g enterprise on my laptop
and i have visual studio 2005 on my desktop computer
and i want to connect to oracle database on my laptop from desktop through my network
what additional tools should i have on my laptop and desktop to make application in visual studio 2005 and how to make the connection?
thanks in advancebyeYou would need to install an Oracle Database Client on your desktop computer, to get the windows interfaces, oci, connectivity software and other support files to be able to "talk" with the database server (on your laptop).
Download from the usual place
http://www.oracle.com/technology/software/products/database/index.html
or the Instant Client
http://www.oracle.com/technology/software/tech/oci/instantclient/index.html
I don't know about Visual Studio - you need to check certification with the product and also be sure to follow the requirements in the Installation Guide for the release and platform that you choose.
http://www.oracle.com/technology/documentation/index.html
There are plenty of application Developer's guides, some of which you might want to study closer:
http://www.oracle.com/pls/db102/portal.portal_db?selected=9 -
Error in creating connection to Oracle in Visual Studio 2005
Hi all,
After installing Oracle 11 http://www.oracle.com/technology/software/htdocs/odtlic.html?url=/technology/software/tech/dotnet/utilsoft.html
successfully, when I made a connection between Visual Studio 2005 to Oracle following this instruction http://www.oracle.com/technology/obe/net11gobe/building.net/vs_otn2.htm#t1
At step 3, I got this problem message error:
"An unexpected error occurred in the Oracle Data Provider for .NET. Please contact the provider vendor to resolve this problem".
If anybody has a solution, could you please help me ?
Thanks in advance,
Greetings,
JoesyOK, in short:
Cause: Wrong OPMN request port used to configure the connection (third step of "Create Application Server Connection" wizard). You might have kept the default (6003) but your OPMN is configured with different request port.
Solution: Check $ORACLE_HOME/opmn/conf/opmn.xml file and look for entry like this:
<port local="6140" remote="6240" request="6040" />
Create the connection using OPMN request port that is set in opmn.xml file.
Thanks
Shail -
Oracle 10g express, Windows Vista and Visual Studio 2005
Hello,
I have Oracel 10g express and Visual Studio 2005 professional, all installed on Windows Vista and working fine.
I want to use the .net tools but I have had problems to install the wright version for this environment. Has anybody have this same configuration working? What are the downloads I need to have and the steps to have the .net oracle tools working ?It can be done:
1) Download and install XE. Don't download the special "ODT for XE"
2) Download and install ODAC 11g with ODT into a different directory than XE
3) Copy over the TNSNAMES.ORA from the XE install into the new Oracle home. -
MS Visual Studio 2005 + Oracle 10g = Cannot connect to ODBC error: 12154
Hi there!
I've read so many threads of same kind of problems but always some key elements seems to be missing so I cannot solve my problem with the solutions in those threads. So, I'll do my own.
Our environment is...
We have Oracle 8 database with all the data that we have. Now we have our new server, SQL Server 2005 installed and I am trying to transfer data from Oracle to SQL using MS Visual Studio 2005 using available ODBC drivers. System is Windows 2003 64Bit on intel based hardware.
Current installations and settings
I have installed Oracle 10g 32bit and 64bit to separate foldes. Then I made tnsnames and sqlnet files with right settings to specified folders and tested connection with tnsping <servername> command.
Both, 64bit and 32bit connections are working. (Used 32bit CMD for 32bit connection test)
ODBC
I added Microsoft ODBC for Oracle as 32bit driver and Oracle 10g driver for 64bit environment as ODBC driver.
Both environments uses same ODBC names: Myserver and Mytestserver
Debug
First, when I only had 64bit version of ODBC, I had a warning which said that I am using incompatible version of ODBC driver. Then I read from here that I can install 32bit client also and use drivers from that on 32bit ODBC environment and get rid of that message.
Tried to connect Oracle DB with SQL-Plus and it works.
Visual studio 2005 SP2
I have tried to use .Net Providers/Oracle Client dataprovider and .Net Providers for OleDB/Microsoft Old DB for Oracle and also .Net Providers for OldDB/Oracle provider for OldDB
Frist two gives me an error: ORA-12154 TNS: Could not resolve the connect identifier specified
Last one says that OraOldDB.oracle.1 is not registered on local machine
I have absolutily no idea what I can try next?
Anyone who has more ideas? Suggest anything. I might have tried that already, but give a shot anyway. :)
Message was edited by:
user640570Hi,
From where you got Oracle 10g driver for 64bit environment as ODBC driver. I am searching for the same.
Are you got solution. I am facing same problem.
Thanks,
Vijay
Edited by: user3976154 on Sep 6, 2008 5:12 PM -
Connect to oracle database with visual studio 2005
Hi, i have a oracle database called orcl (10.2). I am trying to connect with this database with visual studio 2005. I do this:
In Server Explorer, right click in Data Connection and click in add connection.
I choose oracle database and oracle provider.
In server name I write the name of my computer, and i write the user and pass of the data base (sys or system) but it gives me this error: "ora-12514 listener doesnt know the asket for service in the description one of connection" (translated of Spanish)
what i have to write in server name? host, host:port, LISTENER,.... what?
ThanksSometimes, you can check names using from the command line:
$> tnsping <orcl>
TNS Ping Utility for 32-bit Windows: Version 8.1.7.0.0 - Production on 10-ENE-20
06 09:01:04
(c) Copyright 1997 Oracle Corporation. All rights reserved.
Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=server1)(PORT=1521))
Realizado correctamente (0 mseg)
$> -
Connection Problem When Using Oracle Developer Tools for Visual Studio
I tried to create an Oracle Connection in my Visual Studio 2008 after installing Oracle 11g, Oracle Data Access Components (ODAC) with Oracle Devleoper Tools for Vissual Studio version 11.1.0.6.20.
I followed the directions according to "Building .NET Applications Using Oracle Developer Tools for Visual Studio, when I click Test Connection, I keep getting the error message below.
Microsoft Visual Studio
ORA-12170: TNS:Connect timeout occurred
OK
---------------------------I solved the problem.
This is what I did for the benefit of the embryonic newbe like me.
On the Add Connection Dialog
1. For Data source name I selected Local Database
2. I clicked on the specific User Name and I typed SYSTEM
3. For Password, I typed orcl (the password I setup during the installation) (HR did not work for me for User name and Password according to the tutorial instructions)
4. For Role, I selected Default
5. Connection Name, I selected Local Database
6. Before proceeding any further went to Windows XP SP3 where I was operating from, under Start Menu, I selected Administrative Tools then Services
a. On the Windows Services (Local) Dialog, under name, I selected OracleServiceORCL and OracleOraDb11g_home1TNSListener. I clicked on them one at a time
b. On the presented Dialog, under Service Status, I Clicked on the Start Button to start the Services
c. Then I went back to the Add Connection Dialog. I clicked on Test Connection, it connected okay. I finally clicked on Okay to connect. -
The operation system on my laptop is Windows 7 Home edition 32 bits. On the latop Oracle 10.2.0.3.0.
That works perfectly.
Also installled Visual Studio 2005 Professional.
If I install ODAC1020221 on the laptop Orale Explorer is available in the View menu of Visual Studio 2005.
If I start Oracle Explorer in the view menu of Visual Studio, Visual Studio comes with the Package Load Failure
Package 'Oracle Developer Tools for isual Studio.NET' has failed to load properly (GUID= {D601BB95-E404-4A8E-9F24-5C1A462426CE}
Starting gacutil has no positive result
Who can help me that it will work so i can use ODP.NET with Visual Studio.
Kind Regards Frank HagenThe operation system on my laptop is Windows 7 Home edition 32 bits. On the latop Oracle 10.2.0.3.0.
That works perfectly.
Also installled Visual Studio 2005 Professional.
If I install ODAC1020221 on the laptop Orale Explorer is available in the View menu of Visual Studio 2005.
If I start Oracle Explorer in the view menu of Visual Studio, Visual Studio comes with the Package Load Failure
Package 'Oracle Developer Tools for isual Studio.NET' has failed to load properly (GUID= {D601BB95-E404-4A8E-9F24-5C1A462426CE}
Starting gacutil has no positive result
Who can help me that it will work so i can use ODP.NET with Visual Studio.
Kind Regards Frank Hagen -
Unable to connect TFS 2013 from Visual Studio 2005
Hi Team,
Our customer had recently migrated all TFS Projects in Team Foundation Server from 2010 to 2013 (which has .NET 2.0,3.5 and 4.0 Projects) as well. We are facing one critical issue for some developers working in Visual Studio 2005
projects after migrating to TFS 2013, were unable to use their VS 2005 Projects with TFS 2013 server.
We installed the following software in the order
VS 2005 professional edition
Team Explorer 2005
VS 2005 SP1
Forward Compatibility Patch SP1
MSSCCI Plugin for TFS 2013
Team Explorer 2013
We have also referred the below msdn links to resolve the problem
http://blogs.msdn.com/b/tfssetup/archive/2014/01/23/connecting-to-team-foundation-server-2013-using-visual-studio-2005-thru-msscci-provider.aspx
http://blogs.msdn.com/b/tfssetup/archive/2014/01/23/connecting-to-team-foundation-server-2010-using-visual-studio-2005-thru-msscci-provider.aspx
SaranRamHi SaranRam,
It's suggested to use the same version of VS and TFS, and it would be better to use Visual Studio/Team Explorer 2013 to work with TFS 2013.
For your situation, you can have a try to Team Explorer 2013 separately to connect to the team project in TFS 213 and work with the upgraded projects. You can also have a check on other machines to see if it works for you. Another option is clean team founation
cache to see if it's related to your credential. Also view event logs to see if there any useful information.
About the second link you referred, please have a double check if you have configured it properly. And elaborate more details if the issue persists.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Oracle 10G connection problem
I launch my db with the following script:
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/dbstart"
su - oracle -c "export ORACLE_HOME=/u01/app/oracle/product/10.1.0/db_1 && /u01/app/oracle/product/10.1.0/db_1/bin/lsnrctl start"
Here is the output:
SQL*Plus: Release 10.1.0.2.0 - Production on Fri Feb 27 22:17:51 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
SQL> Connected to an idle instance.
SQL> ORACLE instance started.
Total System Global Area 188743680 bytes
Fixed Size 778036 bytes
Variable Size 162537676 bytes
Database Buffers 25165824 bytes
Redo Buffers 262144 bytes
Database mounted.
Database opened.
SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - Production
With the Partitioning, OLAP and Data Mining options
Database "orcl" warm started.
LSNRCTL for Linux: Version 10.1.0.2.0 - Production on 27-FEB-2004 22:17:59
Copyright (c) 1991, 2004, Oracle. All rights reserved.
Starting /u01/app/oracle/product/10.1.0/db_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 10.1.0.2.0 - Production
System parameter file is /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 10.1.0.2.0 - Production
Start Date 27-FEB-2004 22:17:59
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.1.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.1.0/db_1/network/log/listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=xavan_fi
xe)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
But when i try to connect with sqlplus:
oracle@xavan_fixe oracle $ sqlplus
SQL*Plus: Release 10.1.0.2.0 - Production on Ven. Févr. 27 22:19:32 2004
Copyright (c) 1982, 2004, Oracle. All rights reserved.
Enter user-name: scott
Enter password:
ERROR:
ORA-01034: ORACLE not available
ORA-27101: shared memory realm does not exist
Linux Error: 2: No such file or directoryWhen you go to get connection you have to set the ORACLE_SID enviroment variable or use the service name in the string to get connection.
Joel Pérez -
Query Engine Error in Visual Studio 2005
Post Author: Chris K
CA Forum: Crystal Reports
I created a report in Crystal 11 and have included it in a project created in Visual Studio 2005. When I try to run the report in VS I get the message: "Query Engine Error: 'Error Code: 0x' Failed to open a rowset. Error in File" I can run the report in Crystal without any errors. The report has subreports and parametes. I am using a stored procedure in SQL 2005. I have included may other reports in this project and not had any problems. Any suggestions?Post Author: gandasi
CA Forum: Crystal Reports
I had an issue that sounds very similar - report worked beautifully in Crystal, but "failed to return rowset" when run from my application (which is not VS2005, but in my case that didn't matter).
Turns out that I had not given execute rights to the stored procedure to the public group in SQL server. I guess when running the report in Crystal it was using my Windows Authentication to logon or something which was why that was running OK.
I explicitly set the permissions on the stored proc to grant public execute, and the report would run from my app.
Hope this helps
Cheers
Maybe you are looking for
-
Thunderbird fails to send email when "Scan email for junk mail" option is checked in Server Admin
I have 2 clients that need to send mail through my server, one Mac and one Windows. The Mac uses apple mail and the Windows machine uses Thunderbird. Apple Mail will send fine, it is set up for "Use Default ports 25, 465, 587" and "Use SSL" and "Auth
-
JDBC - ORA-12514 TNS:listener does not currently know of service requested
Hi, I am using JDBC driver in Java for connecting to my Oracle XE 11g database on Windows 2008 Server R2 Standard, but I am receiving the following error +java.sql.SQLException: Listener refused the connection with the following error: ORA-12514, TNS
-
Dear all. does anyone know what cause invalid column index error ?? am using adf 11.1.2.0.0, it's happened to me twice, every time i recreate the view object (VO) nad everything become fine !!! this is the first stack (in the first vo) java.sql.SQLEx
-
How to make my "notepad-program" clean the textarea when clicking on "ny"
Hi! I'm having a problem cleaning the textarea when clicking on "ny" (new) in the menubar. What am I doing wrong? Could someone help me solve this problem? import javax.swing.*; import java.awt.*; import java.awt.event.*; import java.io.*; public cla
-
POR: Changes on Purchase Order Response after saving
Hi SRM Gurus, I'm currently working with SRM_SERVER 500(SAPKIBKS09) release, I'm not able to change(or delete) an POR once it has been saved. Normaly as an Purchaser I should be able to do that. Is that a std system behavior. FYI - The following POR