ODBC data sources not showing up in datasource selection list
when I go to change datasources for a report, newly created ODBC connections do not show up. I noticed they are all in the odbc.ini file and listed under ODBC in the machine directory/software folder in the registry but not under the current user/software/odbc registry folder. Where does Business Objects/Crystal reports cache this information?
OK, then how do I set up a connection pool for a SQL Server database? At some point, I have to configure a connection pool. In the Call Interface dropdown, isn't ODBC the proper choice? Then, in the Data Source name dropdown, I should get some entries, right?
Similar Messages
-
ODBC Data Source Not Available
Completed installation of Oracle Business Intelligence Enterprise Edition, when attempting to configure data source, Oracle in OraClient 10g home 2 is not an available driver, attempting to connect to an Oracle Database, can connect correctly PL SQL? Oracle BI Server is shown?
I am not sure i understand your question. Do you have Oracle Client Installed? This is required for connecting to an Oracle Database. If you have some issues with OCI try connecting using ODBC. If the ODBC works then OCI should also work. I believe there might some conflict of your Oracle homes.
Thanks,
Venkat
http://oraclebizint.wordpress.com -
Oracle Data Source not showing proposal fields
Hi, I need to create a DB Connect - Oracle Data Source. I go to the table / view matchcode, and I find the view we created for this data source, and in Proposal it doesn't bring any fields. I press the refresh button, and nothing happens.
Any idea what this could be??
Tanks in Advance
Manuel.-HI
Change the data in the Flat file for Date field in the format YYYYMMDD. Then try viewing the Preview.
If it still shows error message like your system format does not match, Check the System date format, you can check in SU01-->defaults tab, change the data in the flat file with your system format and check.
Hope this helps,
Aparna Duvvuri -
Change Data Source not showing tables (in the taget drop down) that begin with "SYSTEM"
I am trying to change the data source to a database table that is named someschema.SYSTEM_XXX_XXX but none of my tables that are named SYSTEM_....... are in the combo box list of the taget tables (Change Data Source) dialog. I have tried this on several database with the same results. Are you filtering out tables that begin with system ?
<p>This issue has been resolved in the latest hot fix for CR4E. You can download the latest version of the hot fix by following these steps:</p> <ol><li>Go under the <strong>Help</strong> menu</li><li>Select the option <strong>Software Updates -> Manage Configuration</strong></li><li>Expand the tree until you see <strong>Crystal Reports for Eclipse 1.0.1.v671</strong> (or similar)</li><li>Highlight this entry and select the <strong>Scan for Updates</strong> option in the window on the right.</li></ol> <p>This will allow you to update to the latest version which is currently <strong>1.0.2.v795</strong> </p> <p>Please let me know if this fix does not resolve the issue outlined in this thread. </p><p> </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) <br /><br /> <a href="http://www.eclipseplugincentral.com/Web_Links-index-req-ratelink-lid-639.html">Rate this plugin @ Eclipse Plugin Central</a> </p>
-
New printer not showing on printer dropdown selection list
Hi.
I had a canon MP600 printer that I removed and replaced with Canon MG5350. It prints fine for word/excel but for adobe pdf the new printer does not appear in the select printer list, but the old one still does. I can't print any pdf file and don't have the old printer.
How can I get the new printer to appear in the list?
Please do help.
Thank youMorning Steve
OS is windows 7, and I had no problems with printing other docs, only pdf, but....
I was searching around other forums and came across this fix, hooray
https://exploreb2b.com/articles/solving-error-0x00000709-cant-set-default-printer-problem
However, if the permission is denied, click on edit tab and allow permissions. Then you can delete the device printer.
Then, I went back to control panel, devices and printers, selece the new printer as default and hip hip hooray.
Anyone else having problem where the new printer, or indeed a printer doesn't show on the printer dropdown selection list, can try and use the above method. It worked for me.
Good luck and thanks to ALL. -
Oracle 817 client not available in ODBC Data Source Administrator pick list...
I have installed Oracle 817 client on a PC.
I can see the server, I can see the instance.
I can log into the instance using SQLPlus with no problem.
The product I'm using requires an ODBC connection configured in the ODBC Data Source Administrator.
When I try to configure it in the DSA, Oracle 8 is not in the list.
HELP!I assume you have Windows on the client. The "Drivers" page of the ODBC_DSA should list all installed drivers. You require:
name= Oracle ODBC Driver
version= 8.01.07.00 (or something similar)
company= Oracle Corporation DO NOT USE the Microsoft one.
If this does not show, then either it was not included in the Oracle Client installation or you have not rebooted after the Oracle Client installation; the ODBC driver is not visible until rebooted. -
The ODBC data source administrator does not have the mysql odbc 3.51 driver
Hi^^,
I am trying to create the DSN for the type 1 driver.
I go the the ODBC data source administrator > click userdsn>add
It takes me to the screen"Create new data source"
Here i want to select Mysql ODBC 3.51 Driver and then click on finish.
My problem is that I do not have the choice of Mysql ODBC 3.51 Driver.
How do I get it among my list of choices.
Is the mysql software corrupt and do i need to install it.
Regards,
PrashantDon't use odbc at all for java <-->MySQL. Use the JDBC driver from the MySQL website
-
ODBC driver not recognized by Windows ODBC Data Source Administrator
Using Windows XP Professional with all patches. I installed Oracle 10g Client, then removed ODBC driver and loaded 10.1.0.1.3 ODBC driver. Windows ODBC Data Source Administrator will not see this driver. (It also didn't see the previous driver, which is why I tried the new one.) The driver is in the registry (HKEY_LOCAL_MACHINE: SOFTWARE\ODBC\ODBCINST.INI) properly configured. It was not in the odbcinst.ini (Windows directory) file however, so I manually added it. I found directions on this site to be sure the drivers were loaded in the Oracle home directory, which is where I put them.
Hi Joe,
According to your description, after you run C:\Windows\SysWOW64\odbcad32.exe, Access driver is not displayed when you expand HKEY_LOCAL_MACHINE>ODBC>ODBCINST.INI node.
The issue is caused by wrong path of odbccad32, please make sure that you are using Administrator account or you have administrative privileges, then refer to the following steps:
Go to Control Panel.
Click Administrative Tools.
Right-click Data Sources(ODBC) to open Properties dialog box.
In Target text box, type %windir%\syswow64\odbcad32.exe
In Start in text box, type %windir%\syswow64, then click OK to save the settings.
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
ODBC data sources on Solaris for x86
Background:
I want to use Solaris x86(of course), Apache, MySQL and a language known as iHTML for creating dynamic database driven web sites.
iHTML requires an ODBC data source to do this.
Problem:
While I can download MySQL for x86, MyODBC does not show a version available for Solaris x86.
How can I set up an ODBC datasource pointing to a MySQL database on Solaris for x86?
TIA,
Scott BrownOracle does not support 9i on Intell platform; and, on the hand u r using 9i for sparc, which will never work.
-
Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.
<p>
I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
DETAILS
</p>
<p>
1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
</p>
<ul>
<li>define an ODBC connection (Data tab --> From other sources --> From data connection wizard);</li>
<li>define a query on the worksheet -- that's it, this is all!</li>
</ul>
<p>
I start with creating an ODBC connection:
a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
c) Excel-2007 displays the Data Link Properties:
- the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
- the "Connection" tab has a connection string "<strong><em>DSN=<my database name></em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
- Finally there is a button "Test Connection", which when I click produces the following error message:
<strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
</strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
</strong>
4) <strong>Additional food for thought:</strong>
a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
- in <strong><em>Control Panel --> Admin Tools --> Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
- selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em><user name>/<password></em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
BOTTOM LINE
</p>
<p>
The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
Plamen
</p>Did you find the solution to your problem?
If not, I think I may know.
Excel 2007 is a 32-bit application.
When installing 32-bit applications in a 64-bit environment, the "default" location is:
C:\Program files (x86)\...
Excel then launches from this location.
However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
and then it cannot return the connection info back to the calling application.
I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
However, at my location, they are FORCING Excel to be installed in the(x86) location.
What I'm trying to discover now is:
Is it possible to flag Oracle to NOT process the embedded variables?
Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
Have you had any luck with your installation?
thanks,
Paul -
Using Excel & ODBC data source to get data
I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
Thanks in advance.user11307988 wrote:
I've been using MS Excel to extract MS SQL Server data from our ERP system for years but we are now moving to Oracle 12i. What are my options in the Oracle world? Can it be configured much the same way; that is by configuring an ODBC data source and connecting directly to the database???
Thanks in advance.Adding to sb92075's brief but accurate statement, from one of my recent presentations (note - no need for an ODBC connection):
'Need to add a reference to Microsoft ActiveX Data Objects 2.8 Library before starting
'*** This section might be in the top portion of the user form, worksheet code, or module:
'Declare a connection object in the general section to hold the connection to the database
Dim dbVMFG As ADODB.Connection
'Declare a set of variables to hold the username and password for the database
Dim strUserName As String
Dim strPassword As String
Dim strDatabase As String
Dim i as Integer
Dim intResult As Integer
Dim strSQL as String
Dim lngRow as Long
On Error Resume Next
strDatabase = "MyDB"
strUserName = "MyUser"
strPassword = "MyPassword"
'Connect to the database
'Oracle connection string
Set dbVMFG = New ADODB.Connection
dbVMFG.ConnectionString = "Provider=OraOLEDB.Oracle;Data Source=" & strDatabase & ";User ID=" & strUserName & ";Password=" & strPassword & ";ChunkSize=1000;FetchSize=100;"
dbVMFG.ConnectionTimeout = 40
dbVMFG.CursorLocation = adUseClient
dbVMFG.Open
If (dbVMFG.State <> 1) Or (Err <> 0) Then
intResult = MsgBox("Could not connect to the database. Check your user name and password." & vbCrLf & Error(Err), 16, "Excel Demo")
Else
strSQL = "SELECT" & VBCrLf
strSQL = strSQL & " ID AS RESOURCE_ID," & VBCrLf
strSQL = strSQL & " DESCRIPTION" & VBCrLf
strSQL = strSQL & "FROM" & VBCrLf
strSQL = strSQL & " MY_TABLE" & VBCrLf
strSQL = strSQL & "WHERE" & VBCrLf
strSQL = strSQL & " DESCRIPTION LIKE '%10%'" & VBCrLf
strSQL = strSQL & "ORDER BY" & VBCrLf
strSQL = strSQL & " ID"
'Add a new worksheet to the new workbook, add after the last sheet
ActiveWorkbook.Sheets.Add
ActiveWorkbook.ActiveSheet.Name = "JustATest"
snpData.Open strSQL, dbVMFG
If snpData.State = 1 Then
'Slow Method------------------------------------
lngRow = 0
'Header Row
For i = 0 To snpData.Fields.Count – 1
lngRow = lngRow + 1
ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i).Name
ActiveSheet.Cells(lngRow, i + 1).Font.Bold = True
Next i
'Detail Rows
Do While Not snpData.EOF
lngRow = lngRow + 1
For i = 0 To snpData.Fields.Count - 1
ActiveSheet.Cells(lngRow, i + 1).Value = snpData.Fields(i)
Next i
snpData.MoveNext
Loop
'End Slow Method------------------------------------
'Fast Method----------------------------------------
'Do not use this and the slow method!
For i = 0 To snpData.Fields.Count - 1
ActiveSheet.Cells(1, i + 1).Value = snpData.Fields(i).Name
Next i
ActiveSheet.Range(ActiveSheet.Cells(1, 1), ActiveSheet.Cells(1, snpData.Fields.Count)).Font.Bold = True
ActiveSheet.Range("A2").CopyFromRecordset snpData
'Auto-fit up to 26 columns
ActiveSheet.Columns("A:" & Chr(64 + snpData.Fields.Count)).AutoFit
'End Fast Method----------------------------------------
snpData.Close
End If
End IfA couple of notes:
1. Do not repeatedly connect to the database, execute a SQL statement, and disconnect from the database - connect once and stay connected.
2. Use bind variables where possible in SQL statements for constants (literals) which might change from one execution to the next - let me know if you need s code example showing bind variable usage in Excel.
Charles Hooper
IT Manager/Oracle DBA
K&M Machine-Fabricating, Inc. -
Cannot get ODBC data source to talk to Oracle 10g for Windows
Problem description
I recently installed Oracle 10g on my laptop computer, which is running Windows 7. Everything went smoothly except for one crucial item: The ODBC data source I added keeps returning this error when I click the "Test Connection" button:
Testing Connection
Unable to connect
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed.
I was using the following ODBC driver
Oracle in OraDb10g_home1 (TNS Service Name = ORCL and User ID = scott)
This type of error happened, in one form or another for the three other Oracle drivers I have on my machine
Microsoft ODBC for Oracle
WinSQL Oracle
WinSQL Oracle Wire Protocol
These services are currently running (status = Started)
OractDBConsoleorcl
OracleMTSRecoveryService
OracleOraDb10g_home1iSQL*Plus
OracleOraDb10g_home1TNSListener
OracleServiceORCL
(NOTE: I entered the foregoing information by hand, since I was not able to copy-and-paste it. So be aware that there is a small possibility of a minor typo in case you plan to cut-and-paste it.)
If requested, I can provide the contents of these files
tnsnames.ora
sqlnet.ora
listener.ora
Other installations on the same computer
ODAC (ADO data provider for Oracle)
SQL Server 2009 Express
.NET 4
Visual Studio 2010
Any help would be greatly appreciated!OK, I went ahead and upgraded to Windows 7 Professional and I STILL get the same error messages when trying to get the Oracle ODBC driver to talk to Oracle 10g. Here are some screen shots that show what happened:
1) Select ODBC driver: http://yfrog.com/f3driverselectionp
2) Configure driver: http://yfrog.com/ccoracleodbcfororaclep
3) Test connection: http://yfrog.com/1goracleodbcfororacletestp
I also get the following error when I try to run SQL*Plus from the line command, even with no parameters:
C:\Users\Bruce>sqlplus
SP2-1503: Unable to initialize Oracle call interface
SP2-0152: ORACLE may not be functioning properly
Any suggestions as to how I might to go about diagnosing (and fixing) this problem?
Thanks,
Bruce -
ODBC Data Source Won't Recover from Connection Errors
I have several ODBC data sources to a mainframe and want to
use the "Maintain Connections" setting as it dramatically improves
performance under heavy load. Problem is that we frequently have
path problems between the CF server and the mainframe 180 miles
away. With the Maintain Connections checked, the data source
doesn't consistently start working again after the path problem
clears up. The path problem usually only lasts a minute or two, but
SOME queries through the affected data sources continue to raise
errors until the ODBC Service is cycled. The SOME aspect is really
weird because not every hit through that data source reports an
error after the path comes back up. I've had side-by-side users hit
the same page using that DS and one consistently get's an error and
the other works fine. Restarting the ODBC service clears the
problem so it works fine for everybody. Of course that breaks all
the connections that were still working so I just affected a bunch
more users. Silver lining there is that at least nobody can claim
preferential treatment right. It's also kind of bizzare that I can
use the CF Administrator to verify all data sources and they
usually all report that they are working fine even while some
connections are still reporting problems.
The specific ODBC drivers we are using are Neon Shadow
Drivers (Multi Threaded). I'm thinking about using the Admin API to
hit the Disable Connections and then re-enable it.
Any constructive, tactful input for addressing this problem
would be appreciated.spikehenning wrote:
> I have several ODBC data sources to a mainframe and want
to use the "Maintain
> Connections" setting as it dramatically improves
performance under heavy load.
> Problem is that we frequently have path problems between
the CF server and the
> mainframe 180 miles away. With the Maintain Connections
checked, the data
> source doesn't consistently start working again after
the path problem clears
> up. The path problem usually only lasts a minute or two,
but SOME queries
> through the affected data sources continue to raise
errors until the ODBC
> Service is cycled. The SOME aspect is really weird
because not every hit
> through that data source reports an error after the path
comes back up. I've
> had side-by-side users hit the same page using that DS
and one consistently
> get's an error and the other works fine. Restarting the
ODBC service clears the
> problem so it works fine for everybody. Of course that
breaks all the
> connections that were still working so I just affected a
bunch more users.
> Silver lining there is that at least nobody can claim
preferential treatment
> right. It's also kind of bizzare that I can use the CF
Administrator to verify
> all data sources and they usually all report that they
are working fine even
> while some connections are still reporting problems.
>
> The specific ODBC drivers we are using are Neon Shadow
Drivers (Multi
> Threaded). I'm thinking about using the Admin API to hit
the Disable
> Connections and then re-enable it.
Do you have a JDBC Type 4 alternative for these drivers? I
got rid of
all my datasource problems long ago when I got rid of ODBC
altogether.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
Instant client installation unavailable in ODBC data sources
I'm trying to install instant client to enable MS Excel to access an Oracle database. OS is Windows 7.
After installing instant client plus the odbc package, I can't see a new entry in the odbc data sources - only the standard Microsoft sources (Excel, Access, SQL Server) show up.
There's also an Oracle SQL developer installation on my computer. Connection to the database works fine in SQL developer - so the DB does exist and it is accessible.
Steps conducted during instant client installation:
- Downloaded basic lite instant client (11.2.0.3.0) for windows.x64
- Downloaded odbc package for windows.x64
- unpacked zip file to instantclient directory
- executed the odbc_install.exe in the instantclient directory. I'm not sure if this install.exe does anything at all. There was no error message but also no confirmation or reaction of any kind.
- executing the install file from the cmd window gave me a message, that the odbc drivers were already installed. So I guess odbc_install.exe was executed properly
- setting some system variables
1) path variable: added instantclient directory to the ones already listed in path
2) tns_admin: new entry, pointing to instantclient directory
3) ld_library_path: new entry, pointing to instantclient directory
- wrote an tnsnames.ora file using the connect information also used in SQL developer
- saved tnsnames.ora file in instantclient directory
- rebooted computer to activate changes
When opening the odbc data source administration, I'm only able to see Microsoft drivers for Access, Excel, SQL Server. I'd expect to get an Oracle driver option to add to the installed drivers.
Wild & uneducated guesses about what might cause the problem:
- IC is installed on E: drive. Maybe some component is expected to be saved on C: (low likelihood, many others would have complained by now)
- Win 7 often asks for explicit permission to do this or that via popup windows. Maybe the odbc-component encounters such a request ans says "Ummm....???"
Any idea, what I might try to get an oracle entry in the odbc data source list?
Best regards
Peter
Edited by: 1003309 on 30.04.2013 05:33I'm not sure to be honest, but what I downloaded did not have a setup.exe.
Does what you're talking about allow you to connect to Oracle databases via ODBC? If so, is it downloadble from the Oracle site? -
hello,
i would like to show (System.out.println) all odbc data-source names,
which are installed on the machine. whats a common way?
can somebody help me please? thanks!
regards.Sorry there is no such mehtods or classes in java
for doing this activity
one thing u can do is this
i dont dont know much about windows programming
but i think that we we manually created a datasource by click odbc tab and then adding a datasource assosiating a mdb file to it
then in wondows surely some where it must have registerd
say for example there must be a datasource .ini file
now if this is true then u can do one thing
.ini file is similar to a text file
u can read this file thru FileReader class
and just extract the name sof datasource this is the obly option
\u just need to find where this datasource.ini file is located if at all it is
if u satisfied with my answer i am waiting for my dukes
bye
Maybe you are looking for
-
IS THERE A WAY TO REQUEST AN AUDIOBOOK THAT IS NOT ALREADY IN ITUNES
There is a book series that I would like to download. It is available in book form, but I would like it is Audiobook form. How do you go about requesting it in itunes if it is even available?
-
HspRuntimeException while running the report from Workspace
Hi When a user is trying to run a report from Workspace, it prompts teh following error: Failed to sync with user provisioning. Check Planning log for detailscom.hyperion.planning.HspRuntimeException The report contains 2 grids, 1 pointing to an ASO
-
I have upgrade to Ios5 English version but after the installation was complete I found that the App Store and Itune are displayed in French version.
-
PSE 6.0 will not import JPG's, or .3gp videos, from Motorola Droid
I'm using Windows Vista 32-bit. I've tried a number of ways to import pictures (jpg's) from my Motorola Droid: 1) Bu using a USB cable connection to the phone. 2) By taking the microSD card out of phone and inserting it into a card reader. 3) By c
-
Multiple bridge galleries in dreamweaver
ok, i have searched & not come across anything that has worked. i need multiple galleries i have created in bridge cs5 put on my site. i understand that each index or whatever i change the name to needs to be in it's own folder. but what about the re