ASP connection string problems

Hello

I have inherited a website and need to make some urgent changes, currently all recordsets is handcoded and is in an absolute mess, I migrated to SQL server to allow me to create new recordsets through DWMX, but the site is far from ready to move to the new DB and I am unable to connect to the DB access.

The database is a db access with a security.mdw file that controls access how can I make changes to my connection string to connect? I have included my latest effort below.

Dim MM_conTest_STRING
MM_conTest_STRING. Mode = adModeReadWrite
MM_conTest_STRING. Provider = "Microsoft.Jet.OLEDB.4.0".
MM_conTest_STRING. ("Properties (" Jet OLEDB: System Database ") = Server.MapPath("***\Security.mdw ")
MM_conTest_STRING. Properties ("User ID") = «*»
MM_conTest_STRING. Properties ("password") = «*»
MM_conTest_STRING. "Open Server.MapPath("***\Database.mdb")
MM_conTest_STRING = "DRIVER = {Microsoft Access Driver (*.mdb)}; DBQ ="& Server.MapPath("***\Database.mdb")

However this only gets me the following error message:
Microsoft VBScript runtime (0x800A01A8)
Object required: "
fporiginal/connections/conTest.asp, line 9

If I remove everything except the last line, I get the following error:
Microsoft OLE DB provider for ODBC (0x80004005) drivers
[Microsoft] [ODBC Microsoft Access driver] You do not have the necessary permissions to use the object '(unknown) '. Ask your system administrator or the person who created this object establish the appropriate permissions for you.
/ fporiginal/categories.asp, line 15

Any help gratefully received

See you soon
Ossie

Duh! for anyone interested is solved my problem - the answer:

MM_ConTest_String = "Driver = {Microsoft Access Driver (*.mdb)}; DBQ ="& Server.MapPath("***\Database.mdb") &" SystemDB = "& Server.MapPath("***\Security.mdw") &"; UID = *; pwd = *** "

Tags: Dreamweaver

Similar Questions

  • Connection string database MS using ASP VBScript and DW8

    Hello

    My MS database has worked with DW8 following my use of a connection string in connSci * .asp. My OS is Windows7. It worked well.

    <%
    ' FileName="Connection_ado_conn_string.htm"
    ' Type="ADO"
    ' DesigntimeType="ADO"
    ' HTTP="true"
    ' Catalog=""
    ' Schema=""
    Dim MM_connSciWeb_STRING
    MM_connSciWeb_STRING = "DSN=DSN_******"
    %>

    Now when I update the db and check that additional new records have been added (and they were) I can access than the original documents. When I test the connection string again, I get the 404 error message.

    Can anyone help?

    Concerning

    Kevin

    Is the logbook of your question that provided brégent correct? Please clarify that for us. Connection problems are not uncommon. but they are fixable.the first thing that I think that you have to solve is the error when you test the connection in DW. If you did not change anything in the login script, then it means that something has changed on the server with the DSN or DB file itself, as booth said. Re-check all the files from the server and DB DSN situation with the path to the DB. You can try to delete the DSN and re-create. I also suggest to try a connection without DSN. These were commonly with Access databases for many years, so you should easily be able to find the instructions a quick Google search. .

  • Edge connection string error

    Hello

    I develop application with blackberry-ksoap. I have 8520.
    My application works with wifi, but is not compatible with the edge connection.
    I tried under connection strings. But does not work.
    Can you help me?

    (Note: this problem, I wrote another forum, someone could not answer.)

     public String getHTTPAdd() {        String serviceUrl = "";        if (radio.isSelected() == true){            setIsConStr(";interface=wifi");             serviceUrl = "http://localhost/test/test.asmx";        }        else if (radio2.isSelected() == true){            setIsConStr(";interface=wifi;deviceside=true");            serviceUrl = "http://myhost:3000/test/test.asmx";        }else if (radio3.isSelected() == true){            setIsConStr(";19780/rim.net.gprs");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        else if (radio4.isSelected() == true){            setIsConStr(";XXXXXXXXXXXXXXXX");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        else if (radio5.isSelected() == true){            setIsConStr(";deviceside=true");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        else if (radio6.isSelected() == true){            setIsConStr(";deviceside=false");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        else if (radio7.isSelected() == true){            setIsConStr(";deviceside=false;ConnectionType=m ds-public");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        else{            setIsConStr(";rim.net.gprs");            serviceUrl = "http://myhost:3000/test/test.asmx";        }        return serviceUrl;    }
    

    Also, I tried this example,

    setIsConStr(";deviceside=true;ConnectionUID=" +uid+";ConnectionType=m ds-public");
    
    setIsConStr(";deviceside=false;ConnectionUID=" +uid+";ConnectionType=m ds-public");
    
    setIsConStr(";deviceside=true;ConnectionUID=" +uid+"");
    
    setIsConStr(";deviceside=false;ConnectionUID=" +uid+"");
    

    And againly does not work.
    (as an additional info, I use KSOAP Api to call Webservice)

    I solved it. Because of the api Ksoap, do not access edge. Instead, I use the HttpConnection class.

  • could not find a server reports and analysis hyperion running on localhost port 6800. Please check your connection string server and verify that the server is

    Hi all

    We have properly installed and configured Hyperion Reporting and analysis 11.1.2.4 in windows 2012 server however when I try to logint to the workspace, I get an error like "start-up of the specified document does not exist in the repository." "Select a new start under the General Preferences tab document" monitoring of "could not find a server reports and analysis hyperion running on localhost at port 6800. Please check your connection string server and verify that the server is up '.



    10.PNG


    11.PNG

    HyS9RaFramework_epmsystem2-syserr:

    GsmNotFound

    com.brio.one.services.globalservicemanager.GSMException: GsmNotFound

    at com.brio.one.services.globalservicemanager.GSMFactory.getGSM (unknown Source)

    to com.brio.one.client.ClientFactory. < init >(Unknown Source)

    to com.brio.one.client.ClientFactory. < init >(Unknown Source)

    to com.brio.one.client.ClientFactory$ ClientFactoryInitializer.connect (unknown Source)

    at com.brio.one.client.ClientFactory.getClientFactoryConnect (unknown Source)

    at com.brio.one.client.ClientFactory.getDefaultGSM (unknown Source)

    at com.brio.one.web.properties.ApplicationProperties.getDefaultGSM (unknown Source)

    at com.brio.one.web.properties.ApplicationProperties.getDefaultGSMContext (unknown Source)

    at com.sqribe.WS.WSBaseServlet.setDefaultGSMContext (unknown Source)

    at com.sqribe.WS.WSBaseServlet.initLogging (unknown Source)

    at com.sqribe.WS.WSBaseServlet.loadConfiguration (unknown Source)

    at com.sqribe.WS.WSBaseServlet.init (unknown Source)

    to weblogic.servlet.internal.StubSecurityHelper$ ServletInitAction.run (StubSecurityHelper.java:283)

    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)

    at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)

    at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)

    to weblogic.servlet.internal.StubLifecycleHelper. < init > (StubLifecycleHelper.java:48)

    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)

    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)

    at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)

    at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)

    at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3155)

    at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)

    at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:487)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:201)

    at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:249)

    to weblogic.application.internal.flow.ModuleStateDriver$ 3.next(ModuleStateDriver.java:427)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)

    at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:28)

    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:672)

    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)

    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)

    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)

    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)

    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)

    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)

    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:52)

    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:31)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)

    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:246)

    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)

    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)

    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)

    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)

    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)

    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)

    In the workspace, it shows that the Service is pending.

    14.PNG

    EMP Diagnostic Report:

    13.PNG

    Can help kindly out how should I solve this problem.

    I restarted the services and rebooted the Machine but still getting the same error.

    Kind regards

    VJ


    Hello

    I've reconfigured the Reporting, analysis, and everything by, I chose "Drop table" and the issue was resolved.

    Kind regards

    VJ

  • Developer SQL 4.1.1 connect returns "invalid connection string format.

    The "invalid connection string format" error is returned, while trying to connect, you use sql developer 4.1.1.19, using 1.8.0_51 JDK on Win 7 x 64 environment.

    The powers of the exact same connection, on the same OS Win 7 x 64, a product without any errors using sql developer 4.0.2.15, using the JDK 1.7.0_80

    Credentials were basic, by default, the name of the Service (not SID) and no special authentication.

    This problem is replicated when it is installed on a different platform to Win 7.

    Screen attached.Capture_sqld_4.1.1.jpg

    You say you have no non-alphabetic characters, but see this previous discussion (a hyphen was the problem) and see if any of Jeff's suggestions work for you: connection error after upgrade to 4.1

    I also read another post (non - developer SQL) where a symbol (@) in the password was a problem, but that may not apply to your case.

  • Cman is not like the thin driver Jdbc connection strings, it?

    Hello

    I use Oracle connection Mgr 11.2 to filter my clients access to data bases.

    I configured and allowed a PC to connect to a certain database and when

    using SQL * more or this client Toad, passing through cman, it works fine.

    But now the same guy installed SQL Developer, and it seems * impossible *.

    to make connections through my server cman, they routinely get rejected

    with

    ORA-12529, TNS: connect rejected based on the current filter rules

    If I try to go through the login option of TNS (who works with

    sqlplus...) or through advanced = > and then "JDBC: thin @ < complete block of TNS > '!

    (using "basic" does not seem possible because it only allows to specify the name of the host, port, and SID...)

    Has anyone ever encountered this problem before? How does SQL Developer gets rejected

    even when you use the option of TNS, which also works fine with sqlplus/Toad?

    And is it possible to have a Jdbc thin connection string access via a configuration cman?

    Thank you very much in advance for any advice...

    Kind regards

    SEB


    Not a familiar topic for me, but I came across a note in the developer's Guide to the JDBC and the reference, Advanced Topics, on the definition of AUTHENTICATION_LEVEL = 0 in the cman_profile of the cman.ora file entry for when JDBC Thin is currently in use.  Don't know if with the help of old 10g doc is valid here, but I guess that he check could not not bad:

    23 advanced subjects

    In turn, since this user has a customer Oracle installed on the PC and use SQL * Plus, you can try the driver JDBC OCI/thickness.  Select thickness OIC via...

    Tools > Preferences > Datatbase > advanced > use OIC/thickness box

    In addition, for SQL Developer 4.0.x includes the Advanced preferences, this to point to a specific Oracle client installation...

    Checkbox use Oracle Client

    Configure...

    Hope this helps,

    Gary

    SQL development team

    Post edited by: Gary Graham

  • Oracle.DataAccess 2.112.1.0 - connection Pool problem

    Hello

    Oracle.DataAccess 2.112.1.0 is having problem of connection pool. The no. TCP to Oracle database connections continue to increase until the session of the server to run out of limit. My application created connections, use them, close them and dispose of them properly. When using previous Oracle.DataAccess 2.111.6.20, no. of the TCP connections do not increase.

    My database connection string has "Min Pool Size = 3 and Max Pool Size = 150".
    With 2.111.6.20 version, TCP connection remains at 3.
    With 2.112.1.0, TCP connection continue to increase for all 5 minutes. I tried to disable Auto Tuning, but still can not prevent connections of the increase.

    Later today, I downloaded Oracle.DataAccess 2.112.1.2 (it comes with ODAC 11.2.0.1.2) and test again, the problem is solved... no more connection increases... but it's only for 32-bit Windows.

    Unfortunately, there is no Oracle.DataAccess 2.112.1.2 for 64-bit Windows Server 2008.

    I know how I can solve this problem on 64-bit windows installed with Oracle 11 g R2 client, which comes with Oracle.DataAccess 2.112.1.0, which has serious problems... (according to this 11.2 ODP.NET causing test failures runner )

    Thank you very much for your time and your answers!

    Published by: user1502907 on Sep / 04/2010 23:01

    Hello

    The only thing that POPs in the description of your problem is that connections are increased every 5 minutes. Are you sure its every 5 minutes and not 3 minutes, which is the interval of time used by the installation of connection pool to perform maintenance on connection pool. If this happens even when the application is inactive then you could if filed against 11.2.0.1.0 and fixed 11.2.0.1.2 known issue run in what follows.

    Bug 9711600 - CONNECTIONS beyond MAX POOL SIZE INCREASE EVERY 3 MINUTES

    It is specific to using the CommandBehavior.CloseConnection option when calling execute reader. You are using this option and then also close the connection in code before closing the datareader object, if so you can be hitting this bug. You can also generate a trace ODP at level 15 of the behavior and if you see a negative mix counties, it's also a diagnosis that points to this bug.

    This problem is fixed in 11.2.0.1.0 Patch 3 or later version for x 64. If you support, I recommend that you open a service request to check if this is your problem and if a set of patch can help you.

    Concerning
    Jenny B.

  • Office indicates the partial password in connection string

    I moved to a new society where HE has installed Admin 10.1.2 and Discoverer Desktop. When I connect, I check the Oracle Applications user box, enter my username, password and connect. Then I click the button to connect. The block status shows:

    Connecting to the database...
    < user name > @ < last 8 characters of password > @ < connect >

    the connection continues normally, then I connect.

    If I leave discoverer to reconnect, connection boxes are automatically entered like this:

    Username: < username >
    Password: empty
    Connect: last 8 characters of password @ < connect >

    I only used 4i Office before and not had this problem and it bothers me that my Oracle password is displayed - even if it's only a partial. Y at - it a setting I'm missing somewhere who controls the connection string?

    -Tracy


    Oracle Business Intelligence Discoverer Desktop - version 10.1.2.1
    Desktop client 10.1.2.48.18
    OracleBI Discoverer Administrator - version 10.1.2.1
    Discoverer Administrator Client 10.1.2.48.18

    Hello

    You have all non-alphanumeric characters in your user name or password? Application allows you to use, but discoverer does not work.

    My guess is that you have a @ in your password and think discoverer the last 8 characters of the password are part of the connection string.

    Rod West

  • "unicode" is an invalid connection string attribute

    Didn't someone say Oralcle that all strings in .NET are in Unicode?

    Anyone know of a workaround for this problem?

    -Eric
    US Army

    Hello

    The fact that .NET strings are unicode has nothing to do with the connection string attributes. Look at your connection string, you probably 'unicode = true' in computing and Oracle ODP doent have a connection string attribute called Unicode. Does Microsoft data provider. Oracle doesn't. For a list of valid connect string attributes, check it [docs ODP | http://download.oracle.com/docs/pdf/E10927_01.pdf].

    It will be useful,
    Greg

  • SQLite3 connection string?

    Hello

    I have a SQLite3 database file. I read with labivew. I installed the ODBC driver since http://www.ch-werner.de/sqliteodbc/.

    I created the DSN. I would like to read different with their paths .db files.

    If I use directly the DSN 'temperatura' is works very well, but he always read from the path that I put in the configuration of the DSN - name of the database. Check the attached file.

    I would like to have a DC path to read any file, but the connection always read from the same file string. Show it in http://www.connectionstrings.com/sqlite3-odbc-driver/ :

    DRIVER = SQLite3 ODBC Driver; Database = c:\mydb.db; LongNames = 0; Timeout = 1000; NoTXN = 0;
    SyncPragma = NORMAL; StepAPI = 0;

    But it does not work. He has not found the provider.

    On the internet, I found this:

    Provider = MSDASQL.1; initial Catalog = C:\test.db; Persist Security Info = False; DSN = temperatura

    IT works but always read the file corrected in DSN temperatura configured in the ODBC administration

    In the initial catalog, I put another file and read the same thing that sits on the DSN temperatura.

    Somehow I can use good connection to play diferent?

    Concerning

    The SQLite library documentation seems to suggest that simply use it as your connection string:

    Driver = driver ODBC of SQLite3; Database = full-path-to-db;

    What version of LabVIEW are automatically using and that the number of bits (32/64)? There are two versions of the ODBC - one for the 64-bit ODBC drivers connection manager and one for 32-bit ODBC - drivers they are treated separately by the operating system.

    I've never used this library - but there is an alternative that I used and it works fine: http://sine.ni.com/nips/cds/view/p/lang/en/nid/212894

  • LabSQL to MySQL connection string syntax

    Hi all

    I'm just starting using labSQL and MySQL and cannot even connect to the database, I want to start practicing. I tried to write my own code and use the code example, but I can't get a connection to a database. The error is still "an Exception occurred at ADODB. Connection: The operation is not allowed when the object is closed. Help path is C:\Windows\HELP\ADO270. CHM and context in ADO Execute.vi connection 1240653-> Simple.vi". I've set up a system DSN using the MySQL ODBC Unicode 5.2 driver and I'm under Labview 2012 with MySQL Workbench/5.6 Server 5.2. I really just need to know the syntax of the connection string that you pass in the ADO connection open vi.

    Thank you in advance.


  • Support of connection string. Works fine in VS, not SQL.

    Attempt to create server SQL 2008 r2 link our AS400. I have a connection string that has been tested in Visual Studio that works:

    Driver = {Client Access ODBC (32-bit) driver}; XUID = xupd44xxx; System = QSERVER; DBQ = QGPL; dftpkglib = QGPL; LanguageID = ENU; pkg = QGPL/DEFAULT (IBM), 2,0,1,0, 512; qrystglmt =-1;

    In SQL 2008 r2 there is no Client Access ODBC Driver listed under suppliers. I chose IBM DB2 for I IBMDA400 OLE DB provider with the same provider string.

    The linked server has been created, but failed a connection test.

    An exception occurred during the execution of a Transact-SQL statement or batch.

    Failed to initialize the source object of the provider data OLE DB 'IBMDA400' of the 'name' linked server (Microsoft SQL Server, error: 7303)

    Searched error and appears as invalid server name. Name of the server (QSERVER) replaced by the IP address.  Still no luck.  Now, my forehead is flat of this bump on my desk.

    Any help would be greatly appreciated.

    Hi CorrieSigler,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. Please post your question in the MSDN forum. You can check the link for your question:

    http://social.msdn.Microsoft.com/forums/en/category/SQLServer/

    Hope the helps of information.

  • Using the BIS network but with guidance TCP connection string

    I just want to clarify if this is really possible.

    Being a small/medium business, that we can afford to be a partner just blackberry alliance partner to win have BIS-B connection size.

    In any case, I just want to clarify that if a device is registered with BIS, is it still possible for my application to use the direct TCP connection string (with AFN etc) to extract information via web services and socket connections?

    I read this, I just want to be sure before making further development to 100%

    http://supportforums.BlackBerry.com/T5/Java-development/connecting-your-BlackBerry-http-and-socket-...

    most of the time: Yes. It is dependent on the vendor however, some may charge extra, for example.

  • What is the url connection string hive in BDD 1.1?

    In my project, I need get data from the server to the hive. Test the jdbc connection to the hive by using the hive good username and password, but it fails and shows "cannot establish a connection."

    my connection url string is as jdbc:hive: / /myservername: 10000 / default

    I also test the other string of cloudera pilot of hive (jdbc:hive2: / / host : port / db_name ) and change the connection to jdbc:hive2: / /myservername: 10000 / default

    There too.

    Before establish us a connection, it must provide a dirver as name

    driverName = "org.apache.hadoop.hive.jdbc.HiveDriver"

    What is the url connection string hive in BDD 1.1? and which driver hive should be used?

    In the BDD 1.1, data in a table of hive are usually indexed and analysed when triggered via BDD provided - data processing interfaces the CLI data processing is run manually, or that is triggered by a cron job.  In this case, it is unnecessary to set up a specific JDBC connection to the table of the hive - BDD can index directly.

    The details above, I think you are saying that the table of the hive is in a different instance of the hive, in a cluster of Hadoop BDD is not installed, so the BDD data processing cannot run in the ordinary way, you want to read JDBC.  Is this correct?

    I think that BDD is struggling to load the hive JDBC driver - BDD 1.1 only DB Oracle and MySQL are supported for JDBC support.

    Is there something stopping you to reproduce the table of the hive in the environment where you have installed the BDD?  BDD can then process the table normally.

  • open connection string

    Greeting dear community.

    What I have in my tnsnames.ora and verify that everything works via sqlplus

    CDB1 =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = cdb1)
        )
      )
    
    
    ORCL =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 0.0.0.0)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = orcl)
        )
      )
    YMQCTPRD =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ymsdbprd-scan)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = YMQCTPRD)
        )
      )
    
    
    
    
    YMQCTSUP =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = ymsdbppr-scan)(PORT = 1522))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = YMQCTSUP_SRV)
        )
    

    I try to get RJDBC to work so I can connect to Oracle of R analysis of data...

    This connection string works for my local db which I have in my virtual box

    con <- dbConnect(drv, "jdbc:oracle:thin:@//localhost:1521/orcl", "demo", "demo")
    

    However, it does not work when I do it to remote db that I really need to pull data from...

    > con <- dbConnect(drv, "jdbc:oracle:thin:@//ymsdbppr-scan:1522/YMQCTPRD", "user_read", "user_read")
    Error in .jcall(drv@jdrv, "Ljava/sql/Connection;", "connect", as.character(url)[1],  : 
      java.sql.SQLException: Listener refused the connection with the following error:
    ORA-12514, TNS:listener does not currently know of service requested in connect descriptor
    

    For this DBMS tnsnames.ora entry "ymsdbprd-scan" but your JDBC URL 'ymsdbppr-scan.

Maybe you are looking for

  • Data sheet

    I am trying to use the Garage Band for audio recordings.  I need to know whether it is a mono recording. I needed 16-bit and I found that it is 16-bit.  It is 44.1 kHz and 96/128 kbit/s.  Also, where you will find the size of the file to send? Thank

  • How to move the mail folder and contents to new mac

    migration of snow leopard Mac mini with the migration tool again. How can I migrate the contents of the e-mail folder?

  • HP ENVY m6 Sleekbook: Setup dual monitor

    is it possible to connect an additional monitor to this laptop? If so, what and how?

  • Acer Aspire One d270 ram upgrade

    I recently bought a netbook Acer Aspire One D270-1806. It comes with 1 GB of Ram. I'm looking for this move to 2 GB. I could not find a service manual for this netbook. Can someone point me in the right direction?

  • Cannot access the user account

    I recently sent my computer in my college of departmental it to update some software. They could not access my account due to a password. They bi - passed this by making two accounts 'Test' and 'comments'. If I'm going to one of these accounts I can