Editing a MS Access Data Source
1) I have a copy of Coldfusion MX 7 developers edition
running on my system. So my computer is acting as my local server.
2) I used Coldfusion Administrator to declare/link to the DSN
for the access database that I'm using.
3) All my pages that call for info from my database work on
my local server, but don't work when I upload them to my web
server.
QUESTION: How do I change the address of where the Coldfusion
Server looks for my DSN. Where is the code that points to the DSN
that you setup in Coldfusion Administrator?
You have to use ColdFusion administrator on your Web server
to declare the DSN. It's the identical process you did when you
established the DSN on your local server.
Similar Messages
-
Access data source from plugin
I have a recorded webtest. I added a csv file as data source in WebAndLoadTestProject. Now I added a PlugIn which containing several class for pre/post request override method. I want to access that added csv file as source of data and want to assign value
to context parameter or URL parameter created under request. From msdn blogs I did not find any solution.
What I want to know...
1. Is it possible to access data source files which is in WebAndLoadTestProject from PlugIn? How??
2. How can I assign context parameter with data from data source?
Thanks to every one...
RThanks for Adrian's help.
Hi SCRana,
Based on your issue, I know that it is possible to access data source files which is in WebAndLoadTestProject from PlugIn.
I find a similar thread about your issue, please refer the following thread to check this issue.
https://social.msdn.microsoft.com/Forums/vstudio/en-US/a22708ec-77de-4851-84d3-f0096683c009/data-from-the-datasource-in-plugin?forum=vstswebtest
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem while displaying all the table names from a MS Access Data Source.
I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
I started to executing by "Select * from Tab" as if in SQL.
But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
Please let me know how can i display all the table Names in the MS Access Dats Source.Here i am developing the application in Swing using JDBC for accessing the database.
I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details. -
How do I enable "Access data sources across domains" in firefox?
Couple of links do not work on my firefox however they work fine on IE. This is because the "Access data sources across domains" is enabled in IE and i am not sure on how to make this setting enable on Firefox as well.
Please provide the steps to enable "Access data sources across domains" setting in Firefox.
Please help!This should add the permanent exception:
[https://support.mozilla.org/en-US/kb/connection-untrusted-error-message#w_bypassing-the-warning Connection Untrusted Error Message: Bypassing the Warning]
However if it is not staying until the next time that the user opens up Firefox, is it possible that they are in permanent private browsing? [[Private Browsing - Browse the web without saving information about the sites you visit]] - that should have instructions to get in and out of it. -
CF 10 - IIS 7 - Set up an Access Data Source
How do we set up an Access data source with CF10 and IIS 7 in a 64 bit environment.
I have been away from CF for several years and things are a little different now.
I keep getting
Unable to update the NT registry. Variable DRIVERPATH is undefined.
-thxColdFusion doesn't support MSAccess in 64bit. Additionally, Windows doesn't currently ship with a MSAccess .accdb driver.
Please refer to http://blogs.coldfusion.com/post.cfm/coldfusion-10-64bit-and-msaccess -
Do not Extract from PSA but Access Data Source (for Small Amounts of Data)
Hi Experts,
In the DTP, the above option is available for Full Loads for certain extractors but not for others, particularly, certain HR extractors?
Is there a way to make it available for HR extractors? Is there a setting that needs to be updated in ECC or in BI?
Thank you for your help!Hi,
There is no special setting for this, Please see the detail description:
Data is not extracted from the PSA for the DataSource; it is requested from the data source directly at DTP runtime.
Use
You use this mode for small data sets and full uploads, for example, small sets of master data. With file source systems, note that the file has to be available on the application server.
Dependencies
You do not have to create an InfoPackage in order to extract data from the source.
Data in the data source is accessed in "direct access mode". This has certain consequences, especially if you are extracting data from SAPI systems:
Data is extracted synchronously. This places a particular demand on the main memory, especially in remote systems.
The SAPI extractors may respond differently than during asynchronous load since they receive information by direct access.
SAPI customer enhancements are not processed. Fields that have been added using the append technology of the DataSource remain empty. The exits RSAP0001, exit_saplrsap_001, exit_saplrsap_002, exit_saplrsap_004 do not run.
If errors occur during processing in BI, you have to extract the data again since the PSA is not available as a buffer. This means that deltas are not possible.
In the DTP, the filter only contains fields that the DataSource allows as selection fields. With an intermediary PSA, you can filter in the DTP by any field.
Regards,
Kams -
Problem in accessing Data Source Deployed in JBoss using JNDI
Hi everybody!
I need your help in the next question:
I have created a data source to connect to my MySql data base using the following entry in mysql-ds.xml (JBOSS 3.2.5)
<datasources>
<local-tx-datasource>
<jndi-name>MySqlDS</jndi-name>
<connection-url>jdbc:mysql://localhost:3306/mytest</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
<password>1</password>
</local-tx-datasource>
</datasources> in Eclipse SDK 3.1.2 i trying get access to the datasource
InitialContext initialContext = new InitialContext();
DataSource ds = (DataSource)initialContext.lookup("java:/MySqlDS");
if (ds != null) {
result = ds.getConnection();
System.out.println("OK");
else {
System.out.println("Failed to lookup datasource.");
} http://localhost:8080/jmx-console service = JNDI name equal "java:/MySqlDS"
I have error "Cannot get connection: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial"
Error happen in
DataSource ds = (DataSource)initialContext.lookup("java:/MySqlDS");I trying
DataSource ds = (DataSource)initialContext.lookup("MySqlDS");and i had such error.
Can anybody help me?hi,
please check is your error corrected
public class DBConnection {
static DataSource dataSource = null;
* To get the datsource
public static DataSource getDatasource() {
InitialContext ctx=null;
if (dataSource == null){
try {
ctx=new InitialContext();
dataSource = (DataSource) ctx.lookup("java:/MySqlDS");
} catch (Exception e) {
System.out.println("eror in DataSource class"+e);
try {
ctx.close();
} catch (Exception e) {
System.out.println("eror in DataSource class context closing"+e);
return dataSource;
* To get connection from Database.
public static Connection getConnection() {
Connection con = null;
DataSource dataSource = null;
try {
dataSource =getDatasource();
con = dataSource.getConnection();
} catch (SQLException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
return con;
if you want a connetion then call Connection con=DBConnection .getConnection()
hope this helps you -
OBIEE 11.1.1.6.2 BP1 64-Bit - Define MS Access Data Source
Hi
On our 11.1.1.6.2 BP1 64-Bit OBIEE installation I'd like to define an ms access db as data source. We had that in OBIEE 10G too but there it was an 32-Bit ODBC-Source.
It seems that OBIEE 11G only accepts 64-Bit ODBC-sources. But for 64-ODBC there aren't any existing ms access drivers.
Did anybody deal with the same problem and found a solution for it?
RegardsHi,
you download AccessDatabaseEngine_x64.exe and install it then you can able to find it excel data source in 64bit version. (we too faced this issues few years back and test with windows server 2008) working fine.
you can download from below link
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Thanks
Deva -
Access data sources supporting Tuxedo
WLS 5.1 states that it does not support two-phase commit.
In fact, if I try to establish two connections to different Oracle
databases within the same entity bean or session bean within a
transactional context then an exception is thrown.
I need to perform updates to two different resources, the first is an
Oracle database and the second is a Clarify CRM database.
The problem is getting the updates to both resources done atomically.
The Oracle database has a layer of EJB's and will run inside WebLogic.
The Clarify system only comes with a Java Bean interface (not an EJB
interface).
Obviously, at some point a connection needs to be established to the
underlying Oracle Clarify database and I suspect that the Java Bean
interface that Clarify provides will perform any transactional stuff per
method call. Although we may be able to detect Clarify problems through
exceptions thrown from the Java Bean methods, presumably for each
successful Java Bean method call the underlying data source changes
associated with it will be committed. Any subsequent Java Bean method
call that fails can too be detected but we have no way to roll back the
changes made in the previous method calls. This is obviously a typically
transaction based problem.
So, Clarify supports BEA Tuxedo, presumably for this purpose. Perhaps
someone can confirm, but I think that BEA Jolt provides a Java API to
BEA Tuxedo. Is this the currently recommended way to communicate with
Tuxedo? And does Jolt simply provide the equivalent XA methods such as
transaction start, prepare, commit methods etc?
I mentioned at the start that an exception will be thrown if an attempt
is made to open more than one database connection. Presumably, the
container will not be able to detect this if the connection is retrieved
in an independent Java class that is not part of the EJB? this is
important as BEA Jolt or the underlying Java Bean classes must at some
point establish a connection.
If Jolt provides this type of interface then presumable I could have a
stateless session bean that updates the first Oracle data source through
the EJB's and then simply starts a transaction using Jolt, then applies
the clarify changes using the Java Beans and then can use the two-phase
commit capabilities of Tuxedo to 'prepare' the Clarify changes. If the
prepare fails then a system exception will be thrown to rollback the
changes to the first data source, otherwise Jolt will be used to tell
Tuxedo to commit the changes and then the first data source will be
committed when the session bean method completes.
One drawback that I can see is that the transactional calls to Jolt will
be hardcoded in the beans and not controlled by transactional
demaraction in the deployment descriptors so we would need to be careful
when the transactional boundaries changes in the deployment descriptor.
I can't see how Weblogic 6.0 can assist us here as we don't have an EJB
intterface to Clarify.
How does the J2EE Connector stuff fit into this?
Anyone interfaced with Clarify through Jolt/Tuxedo - is the perfromance
adequate?
Many thanks in advanceHi,
You can also have a look at Metalink Note:150766.1 :- Subject: How to Access a JDBC Data Source From OC4J Using a JNDI Lookup
Regards,
Sandeep -
Crystal Reports Developer Edition XML or Java data source
<p>Is there a way to use XML or custom Java objects (POJO) data source in Crystal Reports Developer Edition ? Currently Crystal Reports is being invoked as API from an existing code. But that code can be modified if need be.</p>
Hello Jayashree,
please see a sample for CR 08 with XML as datasource [here|https://smpdl.sap-ag.de/~sapidp/012002523100006016532008E/XML_datasource.zip].
Best regards
Falk -
Access Data Source form Application Client
Hi All
i try to access oracle application server r3 emilated XA data source using aplication client.But it fails.if some one know how to do that ples let me know.
Note :- this works in other application servers (weblogic and websphere)
Thanks
Asanka PriyanjithHI Avi
It is stand-alone java class that is outside of OC4J Package as JAR file. i Add application application-client.xml and orion-application-client.xml in to META-INF and add resource-ref element to XMLs as well. but it does not work. i am using oracle thin dirver in application server side.
relavent code is ..
DataSource ds = null;
Connection db;
try {
Context initCtx = getInitialContext();
ds = (DataSource) initCtx.lookup(name);
catch (javax.naming.NamingException e) {
if (!ignoreNamingException) {
throw new javax.ejb.CreateException(e.toString());
catch (Exception e) {
throw new javax.ejb.CreateException(e.toString());
db = ds.getConnection(); // This line does not works.
lookup works, But after that i can not get a connection.
java.lang.NoSuchMethodError: oracle.sql.CharacterSet.stringToASCII(Ljava/lang/St
ring;)[B
at oracle.jdbc.driver.DBConversion.stringToDriverCharBytes(DBConversion.
java:386)
at oracle.jdbc.driver.DBConversion.StringToCharBytes(DBConversion.java:4
52)
at oracle.jdbc.driver.T4CTTIoauthenticate.<init>(T4CTTIoauthenticate.jav
a:152)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:294)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:
430)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:151)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtensio
n.java:32)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:608)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
116)
at oracle.oc4j.sql.DriverDataSource.getConnection(DriverDataSource.java:
75)
at oracle.oc4j.sql.DataSourceConnectionPoolDataSource.getPooledConnectio
n(DataSourceConnectionPoolDataSource.java:57)
at oracle.oc4j.sql.xa.EmulatedXADataSource.getXAConnection(EmulatedXADat
aSource.java:55)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createXAConnection(M
anagedConnectionFactoryImpl.java:239)
at oracle.oc4j.sql.spi.ManagedConnectionFactoryImpl.createManagedConnect
ion(ManagedConnectionFactoryImpl.java:198)
at com.evermind.server.connector.ApplicationConnectionManager.createMana
gedConnection(ApplicationConnectionManager.java:1333)
at oracle.j2ee.connector.ConnectionPoolImpl.createManagedConnectionFromF
actory(ConnectionPoolImpl.java:324)
at oracle.j2ee.connector.ConnectionPoolImpl.access$800(ConnectionPoolImp
l.java:95)
at oracle.j2ee.connector.ConnectionPoolImpl$NonePoolingScheme.getManaged
Connection(ConnectionPoolImpl.java:1209)
at oracle.j2ee.connector.ConnectionPoolImpl.getManagedConnection(Connect
ionPoolImpl.java:782)
at com.evermind.server.connector.ApplicationConnectionManager.getConnect
ionFromPool(ApplicationConnectionManager.java:1532)
at com.evermind.server.connector.ApplicationConnectionManager.acquireCon
nectionContext(ApplicationConnectionManager.java:1477)
at com.evermind.server.connector.ApplicationConnectionManager.allocateCo
nnection(ApplicationConnectionManager.java:1423)
at oracle.j2ee.connector.OracleConnectionManager.unprivileged_allocateCo
nnection(OracleConnectionManager.java:244)
at oracle.j2ee.connector.OracleConnectionManager.allocateConnection(Orac
leConnectionManager.java:198)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
a:197)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.jav
a:142)
at oracle.oc4j.sql.ManagedDataSource.getConnection(ManagedDataSource.java
Thanks
Asanka -
EP5: Access Data Source (System Conf) properties
Hi ,
I am using EP5.0.In my portal , I have a tab called "System Configuration" and in that I have a sub tab called "DataSources" . I am putting in details such as URL , Username argument (say UName ) (not the username itself) and the password argument (say Pwd) (not the password - the argument like PWD ). these arguments are like -
used in the URL to check like UName = '..' and Pwd ='...' and these arguments may be different for differnet datasources... I want to get these details in the iview program ...
like
for datasource
'sdn'--- username argument = UName
password argument = Pwd
'sap'--- username argument = UserName
--- password argument = Pass
I want these details in the program ......
I should be able to pass the data source name and then it should give me these details ...so that i can use these arguments in my user mapping for other users...
what api should i use? what should i use....
please reply as soon as possbile...
avinash...Hi all ,
Can anyone help me out with the above mentioned problem please ? Its urgent....
Thank you,
Avi -
How to create a database link on an ms acces data source
Hello every body
Is it possible to create a database link on an MS access data source under
oracle 10 g and Apex ?
If yes how to do it ?
Thanks in advaceI don't know what Apex is!!! But try to follow these instructions.
It works for Oracle 9i.
As far as I know, you are supposed to have installed other than ORACLE Client to complete these instructions.
1. Control Panel / Administrative Tools / Data Sources (ODBC)
Folder: System DSN /
click add
Choose : Microsoft Access Driver
Data Source Name : my_test
Description : any_description_you_want
click Database/Select... : full pathname for <your_file.mdb>
click OK
Click OK
2. Goto OH\hs\admin:
2.1) Create a copy of "inithsodbc.ora" file giving it this name:
initmy_test.ora
2.2) Edit "initmy_test.ora" and change as below.
# HS init parameters
HS_FDS_CONNECT_INFO = my_test
HS_FDS_TRACE_LEVEL = OFF
3. Add this entry to listener ( Don't forget to stop/start the listener )
(SID_DESC =
(SID_NAME = my_teste)
(ORACLE_HOME = <Path to OH> ) ### Ex: D:\ORANT901
(PROGRAM = hsolesql)
4. Now you need to add entries to point to the HS in the tnsnames.ora :
access =
(DESCRIPTION=
(ADDRESS=(PROTOCOL=tcp)(HOST=<your_host>)(PORT=1521))
(CONNECT_DATA=(SID=my_test))
(HS=my_test)
5. Now you need to go into the database and create the database link:
CREATE PUBLIC DATABASE LINK "ACCESS_DB" USING 'access';
6. select * from your_table@ACCESS_DB;
HTH
RK
Message was edited by:
RKravcenko -
Not able to edit the report created on different data source.....
I have a query regarding Report in OBIEE - reports developed from BI Publisher are specific to data source on which they have been created ??
i have a sample report that was created on different data source, i have the corresponding RPD also. I changed the data source according to my DB and when i try to update/edit the report,
on Analytics for adding a new column, it is generating a seperate new Query from QueryBuilder for that additional cloumn rather than adding up the new query with the previous one(existing report query). Is it because of mismatch of data source on which report had been created and on which it is being update ?? if it is the case, where do i need to make changes related to JDBC connection or others ??
when i try to create a new sample data set and try to update it, it adds up the extra edited things to original query and works perfectly fine. can ny 1 help me for the same ??Hi Denis,
Normally,what we do is once we provide access to webi users group for each user from BO supervisor module, user(s) will able to refresh/edit the existing report from Full client BO.His colleagues have had no problem editing all his reports from their machines but he is not able to edit any report from his machine and BO is getting freeze.
He also reinstalled BO and cleaned out everything on his Computer and re-built it but the issue is not yet resolved
Can you please tell me how to resolve this issue
Kind Regards,
Srinivas -
Access enforcer and User Data Source for HR
We are on Access Enforcer 5.2 - service pack 2:
My problem is that when creating a new request in AE, I able to get a list of all users when I point my User Data Source to either SAP or UME. However when I attempt to create a request whilst pointing the User Data Source at the SAPHR system, I do not get any users back (and we have user set up in the SAP HR system).
Ive changed the connector to YES under the HR System box, Ive changed the Data Source Type and Details Source Type to point at the SAPHR and still it fails to fetch any users.
I've tried looking at the log, but can't get much out of it.
I would appreciate it, if anyone could provide any assistance.
Thanks you in advance.
Amarjit
Message was edited by:
amarjit singhHi Micheal,
Thanks for your reply.
I'm pointing both Data Source Type and Details Source Type to the same system SAPHR and to the same system name (which is our dev system)
Regards,
Amarjit
Maybe you are looking for
-
Ad2kregp.dll error when printing to PDF file
Greetings, I use Acrobat 7.0 to print reports from a home grown SQL Server application to PDF on a Dell laptop with WinXP. When I'm logged on in the office everything works fine. When I try it from home via VPN I get the follwoing error message: Acce
-
Use KM ABAP API without XI/PI
Hello KMC Gurus, I try to use the <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db356ceb-0701-0010-ff8f-af07e78588a0">ABAP API for Knowledge Management and Collaboration</a> from a WebAS ABAP 7.00 (NW2004s). But I'm fac
-
Switching from a 4g to 3g phone and then back ..weekly.. sim card?
If this has been asked already I apologize...I've seen different answers and I just want to get it straight. If I have a 4g phone ( sim card) and want to go back to a 3g phone (I'd like to do this several times a week). How can I do this without requ
-
Frm-41219 Error finding report
Hi everyone I am trying to run report from a push button from form.Every time i am getting error FRM-41219 Cannot find report. Invalid ID. Of course report exists and is compiled.I specified REPORTS_PATH variable in registry to point to my folder, PR
-
BUGREPORT: Appworld website
Hi, BUG: No picture thumbnails currently displayed for "Top albums" section in Appworld. To reproduce: 1. With your browser (I used Firefox 18.0.1 on Windows XP) go to http://appworld.blackberry.com/webstore/? Observe: "Top albums" section does not h