How to create user dsn for microsoft access driver(*.mdb,.*accdb) in 64 bit
hi,
how to create user dsn for microsodt access driver(*.mdb,*.accdb) using command line in 64 bit.
i have installed 64 bit drivers and when use following command
C:\Windows\System32>odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259
but it works with C:\Windows\SysWow64
yes i have installed Microsoft Access Database engine 2010 redistributale => AccessDatabaseEngine_x64.exe
i can able to create user dsn using odbccad32.exe in system32 folder but using command line its not working
C:\Windows\System32>
odbccad.exe CONFIGDSN "Microsoft Access Driver (*.mdb,*.accdb)" "DSN=GLDatabase|Description=GL Data Source|DBQ=C:\DataBase\1.mdb"
CONFIGDSN:'unable to create a datasource for the "Microsoft Access Driver (*.mdb,*.accdb)" component not found in the registry with the error code -2147467259
Similar Messages
-
How to create user group for EIS (Executive Information System) KCBA
Dear Experts,
How to create user group for EIS (Executive Information System)
TCode KCBA
Regards
SaurabhHi ,
Check the below link ,hope it will give some inputs for creating groups.
http://help.sap.com/saphelp_470/helpdata/en/5c/c1c81c445f11d189f00000e81ddfac/content.htm
Regards
udayakumar.k -
Urgent help: how to create data source for Weblogic RMI driver
Hi,
Please let me how to create data source for Weblogic RMI driver using Administrator
console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL as
jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
comes the problem.. what do put in properties text area? I am
talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a new DataSource
mapping to the connection pool created from step 1.
How to accomplish step 1 ? I want to finally connect to Oracle
database. Please help me.
pradeep bhatDataSource will internally do that for you (It will use RMI internaly) . You
dont have to worry about the details of using RMI driver. Thats what is a
DataSource is for.
sree
"pradeep bhat" <[email protected]> wrote in message
news:[email protected]...
Hi Sree,
What u have written is abt configuting Datasource for type 2 and
4 drivers.
But I want to know how to create data source for RMI driver. If
I map this datasource to connection pool that is created for
type 2 or 4 drivers, i don't understand why RMI drivers are
required in first place. If i do map the data source to connection pool
created
for type 2 or 4 drivers then where i
would not have used the URL as jdbc:weblogic:rmi and Driver as
weblogic.jdbc.rmi.Driver.
Hope u will help me.
pradeep bhat
"Sree Bodapati" <[email protected]> wrote:
Hi Pradeep
To create a connection pool you have to use a database driver not RMI
driver. So use a thin driver or the WebLogic jDriver for Oracle to setup
your connection pool. Once the connection pool is created you can create
a
DataSource and use this datasource to connect to the database.
The RMI driver can be used to get connections from the database via the
connection pool and in that case you dont need a datasource. Recommended
approach is to use a DataSource.
hth
sree
"PRADEEP BHAT" <[email protected]> wrote in message
news:[email protected]...
Hi,
Please let me how to create data source for Weblogic RMI driver using
Administrator
console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL as
jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver. Now
comes the problem.. what do put in properties text area? I am
talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a new
DataSource
mapping to the connection pool created from step 1.
How to accomplish step 1 ? I want to finally connect to Oracle
database. Please help me.
pradeep bhat -
Urgent help: how to create data source for Weblogic T3 driver
Hi,
Please let me how to create data source for Weblogic T3 driver
using Administrator console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL
as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
Now comes the problem.. what do put in properties text area?
I am talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a
new DataSource mapping to the connection pool created from
step 1.
How to accomplish step 1 ? I want to finally connect to Oracle database. Please
help me.
pradeep bhatHi,
Please let me how to create data source for Weblogic T3 driver
using Administrator console.
I understand that the following steps are required:
1.Create connection pool for the RMI driver by specfiying URL
as jdbc:weblogic:rmi and Driver as weblogic.jdbc.rmi.Driver.
Now comes the problem.. what do put in properties text area?
I am talking about key/value pairs required?
2. Having done step 1 ( which I was not able to do) , create a
new DataSource mapping to the connection pool created from
step 1.
How to accomplish step 1 ? I want to finally connect to Oracle database. Please
help me.
pradeep bhat -
How to create a DSN for Oracle Provider for OLE DB in a web server
Dear Guys,
I am a Excel VBA developer.
My requirement is from the Excel I have to call a Stored Procedure with REF CURSOR.
Normally I am using Microsoft ODBC for Oracle Driver for connecting Oracle DB, which is in the Server .
We have users using the Excel reports across the globe.
Sending Excel report is enough, the clients can connect DB from Excel via the DSN created in a web server.
But, I came to know that we can't access the REF CURSOR using Microsoft ODBC for Oracle Driver and it is possible to access by using ORA OLE DB Provider.
I have installed Oracle Client in my machine and tried using ORA OLE DB Provider like below
+con.ConnectionString = "Provider=OraOLEDB.Oracle.1;User ID=user_name;" & _+
+"Password=pwd;Data Source=Oracle;"+
The Excel worked fine in my machine but when I run the same Excel in my user machine in a different country I couldn't connect to DB.
Because the user machine doesn't have Oracle Client installed. We have n number of users across the world and we can't install Oracle client individually.
So, I have the plan of creating a DSN in a web sever as I used for Microsoft ODBC for Oracle Driver.
But, my doubt is how can I create a DSN for accessing ORA OLE DB provider? Is there any driver for ORA OLE DB provider? or is there any alternate solution for my issue?
Can anybody help me on this ASAP?
Thanks & Regards,
SatzI have created a DSN in a web server (a Public IP machine) that is mapped to a Oracle DB.
In my Excel using VBA coding, with the help of RDO object I will call the DSN in the Web server using the connection string like "DSN=ORS;UID=SDATA;PWD=SDATA;"
This is working fine and in this case the client machine doesn't need Oracle client to be installed or any TNS entry.
The user can run the Excel report by clicking a button and the click event connects the DSN in the web server (through its URL) and routes to the mapped DB and fetches the quried data.
Please note that the above DSN is created based on Microsoft ODBC for Oracle driver.
But the issue is using the Microsoft ODBC for Oracle driver I couldnt call the SP with Ref Cursor.
When I searched in Internet I came to know using the provider oraoledb.oracle we can call SP that uses REF CURSOR.
Now my question is what is the driver name that I can use to create a DSN to make use of the provider oraoledb.oracle for calling the SP with REF CURSOR from Excel VBA coding ?
Appreciate your prompt reply.
Thanks & Regards,
Sathish -
How to create users in/for FDQM mapping maintenace
Client wants to know that is it possible to create users in/for FDQM with different rights. Like for example the admin user will be overall responsible for mapping maintenace and data load but they also want to make a user just for mapping maintenace and it should not have the right to load data. Is this possible and if yes then how?
Thanks in advance.
RegardsUser maintenance is simply used for assigning location access for users, shared services determines the role to user has i.e. Admistrator or Intermediate 1-9 etc. If you take a look at object maintenance you will see that you can make all the FDM objects listed there only available for certain roles by default most of these are set to All Intermediate or Administartor. What I would do is create a more targetted obect security model and then through the allocation of the appropriate Intermediate roles you should be able to achieve the functionality your client is requesting
-
How to create Users/Roles for ldap in weblogic without using admin console
Is it possible to create Users/Roles for ldap in weblogic without using admin console? if possible what are the files i need to modify in DefaultDomain?
or is there any ant script for creating USers/Roles?
Regards,
Raghu.
Edited by: user9942600 on Jul 2, 2009 1:00 AM
Edited by: user9942600 on Jul 2, 2009 1:58 AMHi..
You can use wlst or jmx to perform all security config etc.. same as if it were perfomred from the admin console..
.e.g. wlst create user
..after connecting to admin server
serverConfig()
cd("/SecurityConfiguration/your_domain_name/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator")
cmo.createUser("userName","Password","UserDesc")
..for adding/configuring a role
cd("/SecurityConfiguration/your_domain_name/Realms/myrealm/RoleMappers/XACMLRoleMapper")
cmo.createRole('','roleName', 'userName')
...see the mbean docs for all the different attributes, operations etc..
..Mark. -
How to create user exit for MIGO check "item OK" Field select/unselect?
Hi All,
I want to know User Exit for MIGO Screen. when I click check button it will be show "Item OK " Field select or not.
MIGO Screen post if Item ok field select both parent id and line id . otherwise it will be show error message?.
Can Please every one tell me how to do user exit for MIGO?
mail id: [email protected]
thanks,
S.Muthu,Hi,
check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
COMD enhancment <b>MBCF0005</b>
Regards -
How to create user Exits for selecting ranges of the month
Hi Bw Experts,
Right now i need to create a user exits for my report which is coming from Infocube which has 12 months and 12 qtys. But if my client want to see the content of the report for e.g 1 to 3 months in selection screen means then we need to create a variable and user exit to accomplish this problem or is there any solution by which we can solve the problem. Try to suggest me and steps to achieve.
Thanks in advance,Hi,
Thanks for your input. But the questions is 12 amounts and 12 qtys not 12 months sorry for the typoerror. We are not carrying month field. But the User want to see the for e.g 1 to 3 months data means then how it is possible to accomplish this issue. Try to suggest me.
Thanks in advance
Message was edited by:
mano_biw durai -
How to create User Exit for transaction MB25?
Hello all,
I need to add couple of columns to the report generated by transactions MB25 and LP21.
1) Are there existing user exits which could give me this possibility?
2) If not, how do I insert or write a user exit to do so?
Thank you for your prompt reply.
ArdavanHi,
check the BADI <b>MB_MIGO_BADI</b> ( method: POST_DOCUMENT).
COMD enhancment <b>MBCF0005</b>
Regards -
How to create a networkdrive for external access?
i am using an iMac with a time capsule. There is an internet access availbale. the iMac and time capsule are connected via WLAN.
now I would like to create a network drive which can be accessed from the internet either by my laptop or iPad and iPhone.
what do i have to do to create this access?
Please peovide some inside.
Thank youi am using an iMac with a time capsule. There is an internet access availbale. the iMac and time capsule are connected via WLAN.
now I would like to create a network drive which can be accessed from the internet either by my laptop or iPad and iPhone.
what do i have to do to create this access?
Please peovide some inside.
Thank you -
JDBC driver for Microsoft Access
Hi, I have gone through the blogs and threads related to this topic. I found contradicting threads one saying we need to deploy Access JDBC driver and another saying no need to deploy JDBC driver for Access.
Integrate PI7.0 with MS Access 2003 Database - Says need to install driver for Access
Re: Problem when connecting to MS Access through JDBC Adapter. - Says no need to install driver for Access
I am now confused if I need to ask my Basis team to deploy driver for this. If some one has executed this scenario successfully, could you please confirm whether a driver needs to be installed or not. Also if it is required to install a driver, could you please let me know from where I can download the driver.
My PI version is 7.1 and Access version is MS Access 2007. PI is deployed on Linux.
Without asking for deploying driver I have configured scenario File->PI->Access and I am getting below error in my receiver JDBC communication channel.
"Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error when attempting to get processing resources: com.sap.aii.af.lib.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Can not establish connection:: SAPClassNotFoundException: jdbc.odbc.JdbcOdbcDriver";
Please suggest how to resolve this issue.
Regards, PrasadHi .
The format for Access 2007 is accdb . Are you using this format or MDB?
Anyway try this:
Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\Test\TestDB.accdb;Uid=Admin;Pwd=; -
How to link dataTable component with Microsoft Access Database?
Please mail me @ [email protected]
Creator might not support MS Access yet but use this code for an access database connection will always work even through notepad or textpad:
import java.io.BufferedInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Properties;
* @author Mark Hennessy
public class MyDataSource {
private static MyDataSource ds = null;
private static java.sql.Connection connection = null;
/** Creates a new singleton instance of MyDataSource */
private MyDataSource() {
try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
connection = java.sql.DriverManager.getConnection("jdbc:odbc:<db name>", "guest", "guest");
}catch(ClassNotFoundException cnf){
cnf.printStackTrace();
}catch(java.sql.SQLException sqle){
sqle.printStackTrace();
public static DataSource getInstance() {
if(ds == null)
ds = new DataSource();
return ds;
public java.sql.Connection getConnection() {
return this.connection;
public static void closeConnection() {
try{
connection.close();
}catch(java.sql.SQLException sqle){
sqle.printStackTrace();
plus set up the ODBC connection via click start , click run and then copy and paste the following "odbcad32.exe" without the quotes, click ok, click user DSN tab, click Add...button select Microsoft Access Driver (*.mdb) click finish, give <db name> name of ur access database, give any description <whatever> or leave blank click the select... button navigate to the access database u want to connect to in your java code and select it.
in calling program
public class CustomersImplimentation {
private static java.sql.Connection connection = null;
private java.sql.ResultSet rs = null;
public CustomersImplimentation(){
connection = MyDataSource.getInstance().getConnection();
public Customers[] findAll(){
java.util.ArrayList list = new java.util.ArrayList();
String sql = "SELECT * FROM CUSTOMERS";
try{
java.sql.Statement stmt = connection.createStatement();
rs = stmt.executeQuery(sql);
while(rs.next()){
list.add(new Customers(rs.getInt(1), rs.getString(2), rs.getString(3)));
}catch(java.sql.SQLException sqle) {
System.out.println((new StringBuilder()).append(
"SQLException :: executeQuery Cannot find all Customers:").append(sqle).toString());
Customers[] customers = new Customers[list.size()];
for(int i = 0; i < list.size(); i++){
customers[i] = (Customers)list.get(i);
return customers;
if you have a Customers class created with set and get methods and a constructor that takes an int string string i.e.
public Customers(int ID, String firstName, String lastName){}
then u should be able to run these classes from within creator with an access database. hope this helps?
regards
Henno -
Help with [Microsoft][ODBC Microsoft Access Driver]Error in row
hi all,
it seems i have the same problem updating a field in access database here is what my access table has:
a field called userID of type String in Access 2000 on XP.
i wrote the following code in java using Eclipse 3.1.1 ( latest) to update that field:
String database= "jdbc:odbc:Driver={Microsoft Access Driver(*.mdb)};DBQ=";
String url= database + filename.trim() + ";DriverID=22;READONLY=true}";
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con= DriverManager.getConnection( url,"","");
con.setAutoCommit(false);
Statement stmt = con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_UPDATABLE);
stmt.executeQuery("SELECT Users.* FROM Users");
ResultSet rs = stmt.getResultSet();
rs.moveToInsertRow();
rs.updateInt(1,"test");
rs.updateRow();
con.commit();
rs.close();
stmt.close()
con.close();
i get this error :[Microsoft][ODBC Driver Manager] Invalid cursor state
if i use the same code with using re.next(); before rs.moveToInsertRow(); i get [Microsoft][ODBC Microsoft Access Driver]Error in row
i get the errors right at : rs.updateRow();
i dont know what exactly the problem is. why doesnt it get updated and complain about it.
plz helpI'm not sure which JDBC driver you are using.
An access database, by default, has a username and
password as "admin" and "" (ie, empty password).
Actually MS Access has two methods for security. You
are referring to one of them.
If the password of admin is changed, you have to
provide the name of the workgroup information file
also( where it is stored) for making a connection.
I am not sure about the ODBC bridge driver. What iam
using is Atinav's aveConnet JDBC driver. It has
provision for giving username and passwords through
Workgroup information file. In addition to it youcan
give the database password also.
Interesting to note. The bridge for MS Access does
not use that security method. And it will fail if you
set up security using the groups/users adminstration.
The only method it allows is via the "database
password" method.Thank you for your response, but what User ID should I use when I use database password?
openConnection(URL,"xxxx","database password")
thanks again
David Ling -
Hello together!
I am trying to add a long value to an access db.
(I have a PreparedStatement.)
But I get the following error:
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterBigint(Unknown Source)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong(Unknown Source)
at Import.writeLineToDb(Import.java:70)
at Import.main(Import.java:40)
when exucuting the followint line:
statement.setLong(2,new Long(data[1]).longValue());
How can I find out which feature is missing and install it?
Thanks.
MarkusCould it be that the driver is not installed for that?
I am connecting like that:
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
connection = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ="+path, "", "");
Thanks for your help.
Maybe you are looking for
-
Just come back from a lengthy trip with about 900 photos from 3 different cameras. Did most of the jpeg's in LR 5, but waited with the Canon raw files for PS CC. All appeared to go well, with first adjusting them in PS CC camera raw, then opening som
-
Dependency List for ESS SP11 using Maintanance optimizer ?
I need to somehow get a dependency list for ESS sp11 patch. I was told that this can be done on the Solman 4 system using Maintanance optimizer. I can see how to impliment the service pack but not how to generate a list of dependencies that I can pre
-
Libass crash in Mplayer/mplayer2/mpv
Hello, A few months ago I was not able to use mplayer2 anymore, because my computer would "randomly" go down while watching a video. What I mean by that is that the screen goes black, the sound is gone, the keyboard is not reactive (no more caps loc
-
please help!!!
-
WiFi Stopped Working After Installing WICD
Hi, I've been messing with knetworkmanager, wifi radar, and finally WICD. All in an effort to get to a usable interface for me to connect to my router at home. I never managed to get the first mentioned 2 to work due to knet not even opening, and wif