Trying to connect old Access97 Client to an Oracle XE server

I'm trying to connect an old Access 97 Client app. to an XE server via ODBC. I don't know if it's possible at all, so far I've not been able to see the server from the "Link Table" in Access. I get ORA-12154.
The XE Client contains no admin tool for ODBC, in this forum I've seen mentioned that XE ODBC uses "Instant ODBC" that have no setup, but does anybody know if what I'm trying is possible at all?
And if it is possible; how do I do it?
Assume I know nothing at all about what I'm doing!
Per

I don't know if it's possible at allYes, it's possible, I do it all the time!
You need to set up the ODBC connection:
Start --> Settings --> Control Panel -->
Administrative Tools --> Data Sources (ODBC)
Type in the name for your DSN, then pick the TNSName
that you want to connect to (optionally you can type
the username/password in the username box to save
that). Save it and exit.
Then from within Access, go to File --> Get External
Data --> Link Tables
Change the select box at the bottom (Files of type)
to ODBC Databases and pick your DSN.
Then log in as the user you have created and it
should give you a list of tables to link.
~JerYes, it should, but it doesn't. The reason I' trying this stunt, is because a 8i server becomes unavailable. And as the database I'm running is pretty small, I migrated it to an Express server. The setup before was Oracle ODBC driver 2. 5 (For Oracle 7.34, no less) and it has worked flawlessly for many years.
What confuses me, is that the normal connection procedure doesn't work. Also, I know that Net8 has taken over for SQLNet, and I thought that may be the problem. (Not sure if Net8 actually uses TNSNames)
Also, Access 97 uses the old Microsoft Jet engine Object model, DAO, I thought that may be a problem.
At the moment I've managed to connect by using the "Microsoft for Oracle" OCBC Driver on Microsoft XP. It may cause other problems with my login to the database methode, but it is managable. I really would like to know why the easy and straightforward doesn't work, though...

Similar Messages

  • I am trying to connect my macbook pro to a windows 7 server pc.

    I am trying to connect my macbook pro to a windows 7 server pc. I keep getting a connection failed message  saying "The server is available on your computer. Access the volumes and files locally". Any ideas on how to resolve this? I cannot find the the volumes or know where to look for this volume

    Depends on your model TV.   Read your TV user manual.  The newer models have "how to hookup" instructions for computer & games.
    You can also do a forum search as well as a Google search.

  • Trying to connect to DA Clients using SCCM Server through IPHTTPS DA Connections

    Hello,
       I have been working on this for some time now. I opened up a ticket with Microsoft to help us setup or DA Server, and they were able to get it setup. However, SCCM server tools (Remote Control) would not to the Client. We found a few articles
    stating that this was a firewall issue on the clients and we needed to open a few ports with Edge Transversal. We did so. I am able to RDP in to clients, but only from DA server. My SCCM server still cannot connect.
    I think the overall issue is not Firewall related, however.  I think it has to do with ipv6. DA uses IPv6 for clients. My internal network is ipv4. Do I have to erect a IPv6 DHCP scope in my environment for my internal SCCM Server to see the DA Clients?

    Hi,
    If you want a host located on your internal network to communicate with A DirectAccess client IPv6 will be required from end to end. If your SCCM server is not ISATAP client you must setup a Jumpbox configured as an ISATAP client of the ISATAP server (your
    DA Gateway internal network card). Have a look at these blog posts :
    http://danstoncloud.com/blogs/simplebydesign/archive/2014/03/12/directaccess-remote-management-from-padawan-to-jedi.aspx
    http://www.isaserver.org/articles-tutorials/configuration-general/Configuring-SCCM-UAG-DirectAccess-Part1.html
    http://www.isaserver.org/articles-tutorials/configuration-general/Configuring-SCCM-UAG-DirectAccess-Part2.html
    BenoitS - Simple by Design http://danstoncloud.com/blogs/simplebydesign/default.aspx

  • Unable to connect to Mac clients from Mac OS X Server

    Recently I have installed an OS X 10.4.10 Server to an customer of mine. The server was configured at my home office before I installed it to the customer. Filesharing,Firewall and VPN is running on the server and everything works fine. My odd "problem" is when I browse for other macs on the network, from the server, I cant find any. All I get is alias of filesharing macs at my home network. I cleaned the cash etc etc nothing works. If I boot in Safe boot I get listed all filesharing Macs at the office network, but then of course the server OS will not run. Yesterday I checked other customers who run OS X Server and some get hold of clients on the network, other not. Any idea ???

    Thank 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.

  • Trying to Connect to Reports 6i/NT Developer to SQL Server 7 using ODBC

    I am trying to connect Reports 6i Developer on NT through ODBC to SQL Server 7 (on same NT machine), and get an error message:
    ORA00022: invalid session id; access denied.
    When I try connecting using SQL*Plus, I get the following message:
    SQL*Plus: Release 8.0.6.0.0 - Production on Thu Mar 15 09:57:48 2001
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    I can run SQL queries only after I have run a DESC <table name> command once. Otherwise, I get the following error:
    SQL> select * from authors;
    SQL*Plus internal error state 2090, context 246:0:0
    Unsafe to proceed
    Even with a DESC command is run, I can connect, but with an error as follows:
    SQL> desc authors
    ORA-00022: invalid session id; access denied
    Name Null? Type
    AU_ID NOT NULL VARCHAR2(11)
    AU_LNAME NOT NULL VARCHAR2(40)...
    ODBC Drivers used: I get the same results in Reports 6i and SQL *Plus with the Intersolv/Merant or Microsoft ODBC drivers for SQL Server. (Merant Version 3.7 for 32-bit SQL Server 6, 12/1/00)
    Please HELP.

    harry,
    i am assuming you are using 6.0.8.8 of reports6i, which is base-release. there have been problems withthe OCA in this version. by using the latest patch you should solve this problem. for further details, please contact oracle support services.
    regards,
    the oracle reports team

  • Client printer on oracle application server

    Hi all.
    I configured my own system on oracle application server and I connected my printer on client machine.
    When I wanted to print through the application server on the printer I did not print.
    Please could anyone shows me where is the error file (for the printer) located in oracle application server to check the error.
    by

    No. Not only it isn't certified, but it is also impossible to run forms compiled with the 11g compiler with the 10g runtime. For 11g there is a install bundle for the developer suite / application server.
    cheers

  • PAPI client in J2EE (Oracle app server, OC4J)

    Hello,
    We have a problem with using RMI-based PAPI in our J2EE application. Our client code runs fine as a standalone program, but doesn't work when it's used as a part of
    a J2EE application deployed to OC4J. There seems to some incompatibility between the XML parser implementation that Oracle supplies (xmlparserv2.jar) and Oracle's
    BPM Papi client.
    Here are the errors that we're getting:
    [Error] :3:69: <Line 3, Column 69>: XML-20129: (Error) Namespace prefix 'xsi' us
    ed but not declared.
    [Error] :8:33: <Line 8, Column 33>: XML-20129: (Error) Namespace prefix 'xsi' us
    ed but not declared.
    [Error] :10:34: <Line 10, Column 34>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    [Error] :12:40: <Line 12, Column 40>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    [Error] :42:43: <Line 42, Column 43>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    [Error] :44:33: <Line 44, Column 33>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    [Error] :46:38: <Line 46, Column 38>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    [Error] :48:35: <Line 48, Column 35>: XML-20129: (Error) Namespace prefix 'xsi'
    used but not declared.
    Exception in thread "main" java.lang.IllegalArgumentException
    at oracle.xml.jaxp.JXTransformer.setOutputProperty(JXTransformer.java:762)
    at fuego.prefs.engine.storage.EnginePreferencesNode.export(EnginePreferencesNode.java:179)
    at fuego.prefs.engine.EnginePreferences.doExport(EnginePreferences.java:143)
    at fuego.prefs.engine.EnginePreferences.doExport(EnginePreferences.java:134)
    at fuego.directory.project.engine.ProjectEngineAccessor.getEnginePropertiesString(ProjectEngineAccessor.java:137)
    at fuego.directory.project.engine.ProjectEngineAccessor.fetchEngineConfiguration(ProjectEngineAccessor.java:83)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at fuego.directory.provider.DirectorySessionImpl$AccessorProxy.invoke(DirectorySessionImpl.java:756)
    at $Proxy5.fetchEngineConfiguration(Unknown Source)
    at fuego.directory.DirEngineConfiguration.fetch(DirEngineConfiguration.java:102)
    at fuego.prefs.engine.storage.EnginePreferencesNode.fetchEngineConfiguration(EnginePreferencesNode.java:112)
    at fuego.prefs.engine.EnginePreferences.initialize(EnginePreferences.java:438)
    at fuego.prefs.engine.EnginePreferences.loadBasePreferences(EnginePreferences.java:220)
    at fuego.papi.impl.ProcessServiceImpl.initializePollingHandledType(ProcessServiceImpl.java:1937)
    at fuego.papi.impl.ProcessServiceImpl.initializeInstanceCache(ProcessServiceImpl.java:1924)
    at fuego.papi.impl.ProcessServiceImpl.<init>(ProcessServiceImpl.java:178)
    at fuego.papi.impl.ProcessServiceFactoryImpl.getOrCreateProcessService(ProcessServiceFactoryImpl.java:127)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:79)
    at fuego.papi.impl.ProcessServiceFactoryImpl.create(ProcessServiceFactoryImpl.java:63)
    at fuego.papi.ProcessService.create(ProcessService.java:335)
    at oasas.wpr.demo.bpm.PapiTest.createProcess(PapiTest.java:36)
    at oasas.wpr.demo.bpm.PapiTest.<init>(PapiTest.java:15)
    at oasas.wpr.demo.bpm.PapiTest.main(PapiTest.java:104)
    The errors above are generated by our standalone client when it runs with xmlparserv2.jar in the classpath. Exactly the same errors are generated by the J2EE app, but we can't remove xmlparserv.jar from OC4J's classpath because it seems to be required by the container itself.
    Please advise if there are any configuration changes that are necessary to have a PAPI client running in Oracle's J2EE environment.
    Thank you in advance,
    Igor

    Hi,
    I only was successful with running the PAPI WS client in OC4J environment, as described here: Re: Error in JAX-WS 2.0 & JDeveloper 10.1.3
    In my case, I copied all jar files from latest Sun's Metro distro and that fixed the problem!
    I also tested the RMI-based PAPI call, but that one still does not work.
    -Igor

  • Error ORA-12154 trying to connect with instant client 11g / LDAP on Ubuntu

    Hello,
    I have successfully installed instant client 11.2.0.2 and sqlplus on my Ubuntu 11.04 workstation. I am able to successfully connect to DB's defined in tnsnames.ora, but when the resolution is (or should be) by LDAP, I get error
    ORA-12154: TNS:could not resolve the connect identifier specified
    Note: while it's fine for testing, it's not a viable option to setup all the DB's defined in the OID in tnsnames.ora - I need to use LDAP.
    My setup is as follows:
    Install folder: /opt/oracle/instantclient_11_2
    TNS_ADMIN=/opt/oracle/instantclient_11_2/
    sqlnet.ora
    NAMES.DIRECTORY_PATH=(TNSNAMES,LDAP)
    I am certain that tnsnames.ora and ldap.ora are valid, as I can connect successfully on another machine with the full client installed using the same files.
    I tried to setup tracing in sqlnet.ora as follows
    TRACE_LEVEL_CLIENT = SUPPORT
    TRACE_DIRECTORY_CLIENT = /tmp
    TRACE_FILE_CLIENT = sqlnet.trc
    but not trace file gets generated in /tmp - am I doing something wrong ? (Note, I also tried to set DIAG_ADR_ENABLED=OFF as suggested by Laurenz Albe in Instant client don't work trace but that did not help)
    I checked DocID=359206.1 but I don't think that applies as I'm on 11g.
    Hope someone can help. Thanks in advance !

    rgoold, you are a star ! I should have thought about line endings of course. Many thanks for your suggestion, that fixed the problem.
    # file *.ora
    ldap.ora: ASCII text, with CRLF line terminators
    sqlnet.ora: ASCII text, with CRLF line terminators
    # dos2unix *.ora
    dos2unix: converting file ldap.ora to UNIX format ...
    dos2unix: converting file sqlnet.ora to UNIX format ...
    # ./sqlplus -L user@database
    SQL*Plus: Release 11.2.0.2.0 Production on Mon Sep 5 15:26:16 2011
    Copyright (c) 1982, 2010, Oracle. All rights reserved.
    Enter password:
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL>
    WOHOOOOO !!! :-)

  • SYSTEM 9.2 PLANNING ERROR when trying to connect through web client

    <p>Hi ,</p><p> I have created a Planning application on system 9.2version. Whwn i try to access it it gives an error and comesout.However i am able to log into application and refresh databaseusing planning desktop. I do not want to use externalauthentication. So i have bot given CSS url path in Planning CSSpath. When i give the defaul URL path</p><p> </p><p>Like Http:// HSS Server:58080/interop/framework/getCSSConfigfile it gives an error that user does not exist and comes out.After that i created user in HSS . But then the error came thatit's " failed to sync provisioning".</p><p> </p><p>I am not sure if we could add planning application into HSSwithout logging into planning web client?? Is ther any way we canadd planning application into HSS without logging into planning webclinet?  </p><p>Any help on this would be of great help as i have wasted 2 dayson this.</p><p> </p><p> </p><p> </p>

    <p>Hey azmat thnx for replying but this is not the issue. I hadgenerated properties file (HSP,ESSBASE,HBR)..Infact the applicationname is coming ths drop down list of application on log on webpage... I guess there is some bug with 9.2.0.1 release ..it'sgiving an error in even viewer that could not retrieve version ofhyperion planning ....Anyway i have reverted back to planning 4.0.5release ..i guess i would try to upgrade when system 9.3 releasewould be available...</p>

  • Still trying to connect old MacBook to TV via HDMI not a mini display

    It is not a mini display port and it will go to HDMI.  Looks like about 14 pins or so.

    The external screen would show what is on the internal screen only if mirroring is enabled. Otherwise, the external screen will show another portion of an extended desktop (or an entirely separate space, depending on other settings).
    Just what do you mean when you say "My TV menu will then move at a much slower rate and not match screens."? What does show on the TV screen?

  • Connection Problem while client is behind proxy and server out side proxy

    hello
    i implemented ChatApplication in JAVA, for that i used socket connection when client and server both are in same network then it's working fine.
    but when my server is on internate and client is behind proxy and try to connect with server
    it not able to connect i get exception.
    i serch most of forum i got same answer and i try it but i was not success.
    any kind of help is appriciated.
    i attached my code(which i implement for testing ) pls reply me
    thanks in advance.
    Server.java
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    class Server {
       public static void main(String args[]) {
          String data = "you are successfully connected with server.";
          try {
             ServerSocket srvs = new ServerSocket(1234);
             Socket skt = srvs.accept();
             System.out.print("Server has connected!\n");
             PrintWriter out = new PrintWriter(skt.getOutputStream(), true);
             System.out.print("Sending string: '" + data + "\n");
             out.print(data);
             out.close();
             skt.close();
             srvs.close();
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
    ProxyClient.java
    import java.io.*;
    import java.net.*;
    import java.util.*;
    class ProxyClient{
       public static void main(String args[]) {
         String host="61.17.212.29";
         int port=1234;
               String line;
         Properties properties = System.getProperties();
         /*properties.put("firewallSet", "true");
         properties.put("firewallHost", "192.168.0.1");
         properties.put("firewallPort", "808");*/
         properties.put("socksProxySet","true");
         properties.put("socksProxyHost", "192.168.0.1");
         properties.put("socksProxyPort", "1080");
         System.setProperties (properties);
         try {
         /*SocketAddress addr = new InetSocketAddress("192.168.0.1", 1080);
         Proxy proxy = new Proxy(Proxy.Type.SOCKS, addr);
         Socket skt = new Socket(proxy);
         InetSocketAddress dest = new InetSocketAddress("61.17.212.29",1234);
         skt.connect(dest);*/
             System.out.println("before socket taken");
             Socket skt = new Socket(host,port);
             System.out.println("after socket taken");
             BufferedReader networkBin = new BufferedReader(new InputStreamReader(skt.getInputStream()));
             System.out.println("Received string: '");
             line = networkBin.readLine();     // Read one line
          while(true)
                 System.out.println(line);     // Output the line
                 line = networkBin.readLine(); // Read the next line, if any
          catch(Exception e) {
             System.out.print("Whoops! It didn't work!\n");
         e.printStackTrace();
    }

    Now look here. I could not care less about this
    code. I don't know anything about it, I don't
    want to know, I have already recommended you don't
    use it, and I have also given you a simpler and
    better solution. If you don't want to take my advice
    that is your privilege and your problem.ya i has understand system propertis i have setted and u can see it in the code i have tried by both system properties and also J2SE 5.0 proxy class but i got a same problem malformed Exception server refuse to connection.
    is there any problem at sever side?
    can u tell me in which way u r teling to set the propery i m looking forward for ur reply.
    ya i m sure u will give me.................reply "ejp".
    Thnx in advance.

  • How can I connect a pptp client TO my mac osx server vpn?

    On my client it requires the following information:
    IP address of server: done
    Remote subnet: __________
    Remote subnet mask:__________
    MPPE encryption:___________
    MTU:______
    MRU:______
    NAT:______
    User: done
    Pass: done
    I've looked up but I can only find I for for the mac as the client, in my case a dd wrt router is the client.
    What belongs in the empty fields, or where can I find that info.

    What kind of DVD?
    Unlikely that the file size would be suitable for email. How long is the DVD?

  • Can I connect open source evolution mail client to an OCS Mail Server?

    Hi.
    I'm trying to configure an evolution mail client to connect to OCS Mail Server. The idea would be to evaluate this solution over costly MS Outlook. I'm aware that Oracle provides a connector for outlook client and that this facility might offer certain functionality not available with other mail clients. So far, i can connect, send and receive mails. However i can't access the distribution list in Oracle Mail Server, or put in other words, i can't access the OID. Evolution offers the option to connect to an ldap server, but i've not been able to connect. The guys as Metalink tell me that if this client can connect to an ldap server one could accessed the distribution list in OID.
    So :
    - Has anyone out there tried to connect this mail client or any other open source mail client to OCS Mail Server?.
    - Can evolution client really connect to an ldap server? one like OID?.
    Thanks in advance ...!

    Hello Luis!
    I have in the past used different mail clients to connect to the OCS. So as a fact as long as they speak POP3 or IMAP you should be capable of reading your mails.
    However I did not try to use the distribution lists.
    What exactly is not working with the connection to the OID (LDAP) from the Evolution client?
    Did you try to set the logging in the OID to a higher value? This helped me lots of times when dealing with OID problems.
    cu
    Andreas

  • Trying to connect Excel 2010 to Oracle

    Hello,
    I am trying to connect Excel 2010 directly to the Oracle database at work. I was hoping to combine VBA and SQL to automate queries without having to use SQL Developer or the bespoke enterprise software to then export the data into a spreadsheet. I have downloaded the ODBC driver and installed it onto my PC. I have tried to configure the connection and the tnsnames.ora file but it will not connect (I can get the exact error from work tomorrow).
    I have an XML file that contains all of the connection details (such as the ports, passwords and the server name) for the databases that I need to access. There isn’t anyone who can help me at work as the former IT manager has left and my current manager has very little technical knowledge.
    The network is managed by a different part of the business at an external site containing all of the servers. Although I have an administrator account, it is very restricted so I cannot use the command prompt but I can install software.
    I would be grateful for any advice. If it helps the operating system I am using is Windows Vista 32-Bit. I am unsure which version of Oracle we are using (it might be 10g but is there anything I could type into SQL Developer that would display the version of Oracle I am using?).
    Many thanks in advance and sorry for probably not explaining things very well,
    Matt

    I think I am going to give in with ODBC for the time being and I don’t want to waste any of your time.
    Just to make everything clear in case I missed something important out:
    I ran the select banner from v$version statement and retreived:
    Oracle Database 10g Release 10.2.0.5.0 - 64bit Production
    PL/SQL Release 10.2.0.5.0 - Production
    "CORE 10.2.0.5.0 Production"
    TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
    NLSRTL Version 10.2.0.5.0 - Production
    I originally installed the latest version of 11g ODBC and reinstalled it as I didn't think it was working. I then installed 10g version today but I couldn't find ODBC.exe file like I could in the 11g version.
    I can't get the tnsnames.ora file off the database server as I can't connect to it. I know the server name but I think I may be restricted from accessing it as the network and user accounts are really locked down. I read somewhere when I was searching that there was a way of generating the tnsnames.ora file which would be quite useful as there wouldn't be any mistakes.
    Like I have mentioned before I can’t access the command prompt and the only way I can connect to the database is through SQL Developer (which I have all the connections for in an XML file).
    I tried the ADO method and it didn't work, but after getting home and trying something I know how to resolve the ActiveX Objects related error I was getting, so maybe I could get this method to work.
    It is just frustrating that I know this could work but things aren’t as simple as I thought although the advice I have received has been really useful. Thanks for all the help.

  • How to connect oracle application server portal to MS access DataBase

    Hello,
    I am facing one problem here.
    Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portal

    There is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
    http://asktom.oracle.com/pls/ask/f?p=4950:61:::::P61_ID:4406708207206#18830681837358
    I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.
    Tak

Maybe you are looking for