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?
Thanks

Sometimes, 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)
$>

Similar Messages

  • Crystal Report Dll problem with Visual Studio 2005

    I am using Crystal Reports with Visual Studio 2005. At one time there were two different version of Crystal Decision Dll in Global Assembly Cache (GAC). So I uninstalled both the versions and then only installed 10.2.3600.
    I am facing the following error when building my application in visual studio.
    The type 'CrystalDecisions.CrystalReports.Engine.ReportDocument' exists in both 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\arms website\301a5b02\e03ad7d9\assembly\dl3\c30f5560\00f92427_3857ca01\CrystalDecisions.CrystalReports.Engine.DLL'
    and
    'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.CrystalReports.Engine\10.2.3600.0__692fbea5521e1304\CrystalDecisions.CrystalReports.Engine.dll'
    I have only installed it in .Net Framework. For some reason it appears in the temp folder. I cannot delete it and when I renamed it after the next compile it came back again.
    I would appreciate any help.

    Thanks for the tip.
    I installed CR XI R2 with SP2 and 2.1
    There are few reports in the system they use to run fine but now when I try to run them I get the following error:
    Failed to open the connection. Details: [Database Vendor Code: 4060 ] Failed to open the connection. C:\DOCUME1\SSheikh\LOCALS1\Temp\ZGA370 {71BFCD35-F652-48C8-896D-B93229A4D2C2}.rpt Details: [Database Vendor Code: 4060 ]
    I understand that these reports run ok independently and on production machine as well; however when I try to run them from my development machine I get the above error.
    I would appreciate help to resolve this. The code of the report is with report developer and I need to know what settings do I need to change where to be able to run the reports. Also I use my machine for deployment of application on the production server.
    Thanks.

  • How to connect to oracle database from visual basic 2010 express edition

    I have installed visual basic 2010 express edition on windows xp. But visual basic 2010 express edition supports Microsoft sql server database file,Microsoft sql server compact 3.5, Microsoft access database file. I want to connect to oracle database from visual basic 2010 express edition. So what drivers are required and how to do connectivity?

    Hello,
    I wasn't clear on what you were using to make the connection. I had a look in Visual Studio 2010 (don't have express to test sorry).
    I think you mean the Data Sources available under the menu Data-> Datasources. this seems to match the description you give when I
    look at the list of datasource options.
    In here you can make ODBC connections via the Microsoft .net Data Provider .
    If you select ODBC as a datasource you can see listed the DSN's you created - for example I see 2 which use the Oracle ODBC driver.
    This assumes you installed an Oracle Client + the oracle version of the ODBC driver (comes with the oracle client).
    Once you created a server connection then you should see it in the server explorer.
    You can also download the Oracle Developer Tools for Visual Studio which is an add on for VS.
    ** I suspect this is only for VS 2010 and I didn't see that Express was supported.
    http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
    Let me know if that helps.
    John

  • OCI 9.2 libraries with Visual studio 2005

    I have a project which uses OCI version 9.2 to connect to the database. We are planning on upgrading the compiler from Visual Studio 2003 to Visual Studio 2005. Can we still use the same libraries or do we need new library versions compatible with the new compiler. If yes, where can I access the new libraries.
    TIA
    Bharat

    I've gotten OCI programs written in C using vs.net 2005 to work with Oracle 9i.
    However, a library written in C using vs.net 2005 fails to work from a C# 2005 program. It causes a C runtime failure. I have no idea why.
    But the same C library and C# program using vs.net 2003 works (ie. can successuflly connect to Oracle).

  • 156" width Crystal Report with Visual Studio 2005

    Post Author: kunchesm
    CA Forum: .NET
    Hi,
    I have a requirement to design a 156" width report (for exporting to Excel). And naturally i dont have printers to support this huge width reports (as these reports are not used for printing but just for exporting to Excel).
    One of the option which i have tried to design these reports is -
    - Installed MIcrosoft XPS Document writer and
    - Created a new server form (in Printers&Faxes>File>Server Properties) and assigned my custom width & Height for the paper size as per my requirement
    - Used this printer and form in my crystal report
    Now, my question... is there any better alternative or option to design huge width Crystal reports in Visual studio 2005? Any help in this regard is highly appreciated!
    Thanks & Regards
    ksm

    Hi Ganesh,
    So it all depends on how you created your WEB Project. If it was a CR Web App then no issues, if it was a WEB Form app then no issues except you need to copy the whole folder: C:\inetpub\wwwroot\VS2013WebsiteCR\aspnet_client
    to your app folder, maybe...
    If it was an empty WEB app then it may be an issue with permissions ( more on this soon once we do some testing, R&D may have provided a work around to get IIS Express to work, not sure about using IIS directly.
    Also search on Sessions and PostBacks, to get the second page you need to keep the session open/active. If not you may get nothing ot the same page everytime.
    Don

  • Connect to oracle database with php script

    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin
    null

    Hello
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by mheibel([email protected]):
    Hello!
    How can I connect to an Oracle database with a PHP script? I read about it at www.php.net:
    "Oracle 8 functions; These functions allow you to access Oracle8 and Oracle7 databases. It uses the Oracle8 Call-Interface (OCI8). You will need the Oracle8 client libraries to use this extension."
    Where can I get these libraries from?
    Who knows more about the issue?
    Thanks a lot for your help!
    Martin<HR></BLOCKQUOTE>
    Install and put working a sqlnet working client (install the Oracle Client option of the Oracle Database CD ROM). Than compile php with the --oci option. Than try the samples in php.net (oci function in the help).
    These are the steps... Put everything working is a little more complicated...
    FS
    null

  • Visual Studio App Wizard won't install with Visual Studio 2005

    When I try run the Visual Studio App Wizard from the Acrobat SDK V8.1 on my PC it tells me 'Please install Visual Studio 2005 before install Acrobat 8 Plugin Wizard'. I have Visual Studio 2005 installed with SP1. I also have the .NET framework 2.0.50727 SP1 loaded. I see this same problem on two different PC's with the same software configuration loaded. Any known issues with that?

    I've never seen this happen. It's been a while since I last installed the
    v9 SDK and it's plug-in wizard, so I don't remember how the installation
    went.
    I do most of my plug-in work on the Mac, where there is no plug-in wizard,
    so I don't use it - not even on Windows. You do not need it to start a new
    plug-in: Just use either the Starter plug-in from the samples, or the
    BasicPlugin project. This will give you something that compiles and runs.
    Then do a few simple text replacements to give things the proper names and
    use that as your starting point. The wizard will give you a few more things
    in regards to HFTs, but it's not complicated or time consuming to do that
    by hand. The good thing about having to do this every now and then is that
    it keeps your memory fresh about how HFTs work.
    If you want to save yourself some time, create your own starter plug-in
    that you mark up with comments about what you need to replace and why - put
    all the stuff in that you usually need and then just use that every time
    you need to start a new plug-in. Setting up a plug-in framework is usually
    a very small portion of the time that you will eventually spent on the
    plug-in development, so using the wizard will not save you much in the
    overall development time.
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com
    On Sat, Nov 3, 2012 at 12:55 PM, Ramon F Herrera

  • How to compile AnyConnect API with Visual Studio 2005?

    Gooday,
    I have downloaded anyconnect-win-vpnapi-2.5.3055.zip and am unable to build successfully examples.sln on a Windows XP SP2 platform. I would appreciate help in how to build examples.sln sucessfully. I get the following errors depending on the type of build using Visual Studio 2005 with service pack 1:
    1. Debug configuration for all - "Fatal error C1900: mismatch between 'P1' version '20060201' and 'P2' version '20050411'
    - appears a static lib file is out of date?
    - i downloaded and used as is so don't know how else to resolve it
    2. Release configuration for all - "Fatal error C1047: The object or library file '.\Release\PrivateApi.obj' was created with an older compiler than other objects; rebuild old objects and libraries' "
    Thanx,tom.

    You duplicated Java_Test_getWord. The function signature should read:JNIEXPORT jstring JNICALL Java_Test_getWord(JNIEnv *env, jobject obj) Regards

  • Can I use ODT 10.2 with Visual Studio 2005 and 10g Express?

    If so could anyone provide a pointer to some installation instructions? The one time I tried to install it I didn't seem to be able to connect to the database from within VS. I had to resort back to the previous version of ODT running under VS 2003.
    Thanks in advance,
    Stewart

    The special version of ODT for Express only works with VS 2003 and it is an older version of the software that does not include the PL/SQL debugger.
    That being said, you can install the latest ODAC and use it with Express with no problem.
    Go here:
    http://www.oracle.com/technology/software/tech/windows/odpnet/index.html
    ..and download the first link you see. Install it in the default Oracle home it chooses. Then you'll need to configure the tnsnames.ora file in the \NETWORK\ADMIN directory such that there is an alias for your Express database... you could probably just copy the tnsnames.ora file from the Express home to the new oracle home to achieve this.

  • Connect to oracle database with Oracle.DataAccess.Lite_wce.dll

    With Oracle.DataAccess.Lite_wce.dll i want to ceonnect to oracle database.
    I try like:
    OracleConnection conn = new OracleConnection("Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=xxx)(PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=baza1)));User Id=xx;Password=xx;");
    conn.Open();
    but it said "S1000[POL-3023] the database does not exist".
    What i am doing wrong?

    what client are you using if you are using windows mobile then
    use
    Oracle.DataAccess.Lite.dll on the handheld
    connection string is "dsn=databasename;uid=SYSTEM;pwd=userpassword"
    the username is always system, the passw0rd the the user password of the specific user that the handheld is created for, the database name depends you can see it in the device->orace->odbc.txt file
    if your re on c# then you should write
    using Oracle.DataAccess.Lite;
    LiteConnection OraCon;
    OraCon = new LiteConnection(connectionstring);
    OraCon.Open();

  • How Connect to oracle database with java

    i have trouble with my program
    i use oracle 8i to my database and java for interface
    this mycode :
    import java.sql.*;
    class TestThinApp {
    public static void main (String args[])
    throws ClassNotFoundException, SQLException {
    Class.forName("oracle.jdbc.driver.OracleDriver");
    // or you can use:
    // DriverManager.registerDriver(
    // new oracle.jdbc.driver.OracleDriver());
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@dssw2k01:1521:orcl","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "select 'Hello Thin driver tester '||USER||'!' result from dual");
    while(rset.next())
    System.out.println(rset.getString(1));
    rset.close();
    stmt.close();
    conn.close();
    i have trouble , becouse i can connect my database with java (JDK)
    if any one can help me pls?
    arif

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • Crystal Reports 2008 SP3 with Visual Studio 2005 help !!

    Have application that uses reports developed using CR2008. The reports in question are created from an XML datasource and are populated at runtime with a dataset.
    The reports work fine on developement machine but the client machines keep displaying the database login prompt.
    What do I need to do to fix this

    Something is not right here. If you are looking at assembly versions, then there are versions 12.0.200.0 and 12.0.1100.0 - framework 2 and framework 1.1 respectively. These do not change from SP to SP.
    File versions do change. So, the assemblies for CR 2008, SP 3 would be 12.3.2000.601. Version 12.3.1100.601 is not familiar to me...
    So, what libraries are you refering to? What is the version of the crpe32.dll?
    BTW., sharing of log files is typically reserved for [phone|http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369] cases.
    - Ludek

  • APPCRASH FieldPointOPC2.EXE with Visual Studio 2005

    At seemingly random intervals the following error occurs while running application in the development environment and with the release  version. Is there any way to solve this?
    Problem signature:
      Problem Event Name:    APPCRASH
      Application Name:    FieldPointOPC2.EXE
      Application Version:    4.1.0.15
      Application Timestamp:    407206d3
      Fault Module Name:    LKSOCK.dll_unloaded
      Fault Module Version:    0.0.0.0
      Fault Module Timestamp:    45c36dca
      Exception Code:    c0000005
      Exception Offset:    700736b0
      OS Version:    6.0.6000.2.0.0.256.1
      Locale ID:    1033
      Additional Information 1:    ee0c
      Additional Information 2:    0f3137665bbf0bb676c8a16f3fa76e52
      Additional Information 3:    562b
      Additional Information 4:    58019b32234d4a81ca33d299b8e55c9b
    Read our privacy statement:
      http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409

    Hi,
    What modules are you using? Please specify all your hardware. Is there a pattern to these crashes occuring? Which version of LabVIEW are you using? Are you using your VB program using DataSocket or some other OPC software? What exactly is your application? What operating system and specs does your computer have?
    Can you please check the CPU usage while running the program?
    I need a lot of information so I can narrow the use case down.
    Warm regards,
    Karunya R
    National Instruments
    Applications Engineer

  • 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>

  • Measurement studio for visual studio 2005

    Hello, I'm currently using an ELVIS-II with Visual Studio 2005 for the measurement studio. I'm attempting to light up the 8 LEDs on the right of the ELVIS-II using a connection to the DIO 0 - DIO 7 ports, and a Digital Output program created using the NIO DAQ Windows application. However after I compiled the program and clicked the "Write" button on the Form1.cs it displays a message saying "You must populate the data to write before writing the data" . Can someone explain to me what's wrong with the program? many thanks: )
    Attachments:
    LEDerror.JPG ‏174 KB

    So sorry, the code I've posted was sightly modified by me while trying to find a solution. This is the "unmodified" version. basically the "//" was removed before the "throw new System.NotImplementedException("You must populate the data to write before writing the data.");" line.
    Attachments:
    LEDRun0003.txt ‏2 KB

Maybe you are looking for