Using MS Excel as a Source

Hi All,
I want to use excel as a source in OWB. By searching on the web I tried something but no luck it failed. I know that I’m doing something wrong somewhere, I don’t know where am going wrong.
Here I have posting all the system information and steps I followed please correct my mistake.
System Information
Windows Server 2003 R2
Standard x64 Edition
Service Pack 2
Oracle 11.1
Oracle Warehouse Builder 11.1
Microsoft Excel 2007
Steps
1.     Created a DSN named odbc_excel. –actually there were no drivers found in when I followed the usual way to create ODBC connection. By suggestion on the web I ran C:\WINDOWS\SysWOW64 \odbcad32.exe      and created the DSN.
2.     Intit.ora file
Created a init.ora file named initexcel.ora in E:\app\administrator \product\11.1.0\db_1\hs\admin
HS_FDS_CONNECT_INFO = dm_odbc_excel
HS_FDS_TRACE_LEVEL = 1
3.     Listener.ora
+(SID_DESC =+
+(SID_NAME = odbc_excel)+
+(ORACLE_HOME = E:\app\administrator\product\11.1.0\db_1)+
+(PROGRAM = hsodbc)+
+)+
4.     Tnsnames.ora
odbc_excel =
+(DESCRIPTION =+
+(ADDRESS_LIST =+
+(ADDRESS = (PROTOCOL = TCP)(HOST = <server_name>)(PORT = 1521))+
+)+
+(CONNECT_DATA =+
+(SID = odbc_excel)+
+)+
+(HS = OK)     +
+)+
After doing all this I restarted the listener and did a tnsping it was ok.
Then connected to sqlplus and created a database link as below, This also succeeded .
SQL> create database link odbc_excel using 'odbc_excel';
After creating the database link I tried below SELEct statement
          SQL> select * from all_tables@odbc_excel;
     At this point its throwing the error saying
          ERROR at line 1:
ORA-28545: error diagnosed by Net8 when connecting to an agent
Unable to retrieve text of NETWORK/NCR message 65535
ORA-02063: preceding 2 lines from ODBC_EXCEL
What could be the reason for this?? Is there any special things to consider when doing this in x64 bit environment?????

Hi Sutirtha,
Thank you for the reply. Sorry I couldn't get that doc, It seems there is a backend server issue +(No backend server available for connection: timed out after 10 seconds or idempotent set to OFF. )+. if you could get this pls share with me that will be really great.
and Sutirtha, ianother quick question, does this is totally different way of configuring or the same as above?? if so, then i need to change only PROGRAM = dg4odbc insted of PROGRAM = hsodbc as below right?
+(SID_DESC =+
+(SID_NAME = excel)+
+(ORACLE_HOME = E:\app\administrator\product\11.1.0\db_1)+
+( PROGRAM = hsodbc )+
+)+
(SID_DESC =
(SID_NAME = excel)
(ORACLE_HOME = E:\app\administrator\product\11.1.0\db_1)
( PROGRAM = dg4odbc )
Thank You.

Similar Messages

  • WIS 10883 using large Excel File as source for report in WebI RichClient

    Hi,
    I'm trying to use a relatively large Excel 2003 file, say 7000 rows and 19 columns, as a source for a report in WebI Rich Client. When selecting a range of only 1500 records and 19 columns everything works, when accessing the full 7000 (or originally 30,000) I get this error message.
    Does anybody know of a size limit for this and if so an option to adjust it? The only resources for this very limited.
    Thanks
    Norman Ruppert

    Tina,
    I'm not sure why you are so negative to having Excel in the mix.
    Excel is only used at development time - its mearly used as a design interface to build the xcelsius model that feeds data and controls components within the flash file that xcelsius generates. 
    Excel is not used at run time in any way (unless one uses a third party connector to use an XLS as a data source of course).
    If you attempt to use xceslius without using the OLE embeded Excel sheet at design time you will only be able to create VERY simplistic dashboards.
    The new connectivity in version 4 just removes a design step to make development simpler my combining direct to components - but behind the sceens i believe it is really only connecting to a hidden part of the model not shown the the Excel interface at design time!
    i think we would all agree that having excel can be a pain at design time (especially those that used/use live office!) but it does offer a pretty good interface for building very intuative looking models behind your flash components.
    cheers,
    Jeremy.

  • Can you use SQL as a data source for a project in the same way you can in Excel?

    Excel allows you to create a data source that executes a SQL stored procedure, display that data as a table in a spreadsheet and have that data automatically refresh each time you open the spreadsheet. Is it possible to do the same thing in MS Project, displaying
    the data from the stored procedure as a series of tasks?
    Here's what I'm trying to do - I have a stored procedure that pulls task data meeting a specific criteria from all projects in Project Server. We're currently displaying this data as an Excel report. However, the data includes start dates and durations so
    it would be nice to be able to display it as a Gantt Chart. I've played around with creating a Gantt chart in Excel and have been able to do a very basic one, but it doesn’t quite fit our needs.

    No, You can not use sql as a data source for a project.
    You have 3 options to achieve it:
    1. You can create a Sharepoint list with desired column ,fill desired data in that list then you can create a MS project from Sharepoint List.
    2. You can create a SSRS report in which you can display grantt chart Joe has given you that link.
    3. You can write a macro in MPP which will take data from your excel. In excel you will fetch data from your stored procedure. write a schedule which will run every day to update your data or
    create an excel report in which will update automatically and write macro in mpp which will fetch the data then publish it so that it would be available to team members.
    kirtesh

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

  • Using an Excel file as a dynamic data source? Opinions needed...

    I have posted this topic before, but as always; in order to get the relevant correct answer you have to ask the correct question.
    I'm trying to create a number of Pricelists linked to an Excel/CSV file. I have a Excel file that contains Pricelist information which is Product specific.
    I have had a number of suggestion that follow:
    A direct link to the Excel file. PROs: Excel file can be uploaded on FTP and overwritten if (and when) amended. Linking this is easy peasy in Dreamweaver. Person browsing can download info straight away on request - no hassle. CONs: Simply, not everyone has Excel and those who don't can not access the information.
    Import Excel file as tabular data. PROs: Fairly easy to do in Dreamweaver. Person browsing can see info straight away. CONs: Can be time consuming on larger Excel files. NOT amendable (so a number of price changes becomes a big job). Can't simply overwrite Excel file on FTP. Larger Excel files can take a lot of page space and thus require tonnes of scrolling).
    Use the Excel file as a dynamic data source. --Not entirely sure how I would go about doing this (any suggestions/links/tutorials etc)-- PROs: ? CONs: Contributor added this suggestion is not a good idea as it performs poorly on the web.
    Create a dynamic page using a database and import the Excel file to that....or maintain the price list in the database rather than an Excel file. --Again not entirely sure how I would go about doing this (any suggestions/links/tutorials etc)-- My understanding of this option is that it will require XML data and SPRY work. Is this correct? Can this be someone who is not an advanced user?
    If once again, I'm off the mark and better suggestions can be thought - please do so.
    As you can see I'm at a bit of a crossroads so an suggestions, comment, help, links, tutorials or applause would be greatly received.
    Thanks in advance and looking forward to seeing the comments this throws up!

    Hi
    Although not everyone has excel just about everyone can open csv files in some way, if not offer the option to download "open office" which is free for the pc, as for the mac they have a program installed by default to use csv files.
    The import tabular data is not really an option for the reasons stated.
    Use excel as data source - not a good idea, requires asp.net to work correctly otherwise it does run slow and is not recommended if you are expecting more than a very small number of users.
    As for the dynamic with database, this can be done with xml and spry but if you have a large amount of data this is almost as bad as the option above. You are probably better creating a database and importing your excel spreadsheet into this, for tutorials on creating a php/mysql database and set-up of testing server see - http://www.adobe.com/devnet/dreamweaver/application_development.html.
    No matter which way you go with the last option it will require a fair amount of knowledge and experience to do correctly, efficiently and securely.
    PZ
    www.pziecina.com

  • Using Excel as data source

    Hi,
    i have created a crystal report that uses Excel as data source. Reason i used excel is for easy updating of data by non IT users. The report runs perfectly on my computer, but when i upload it to Infoview, there is error when i run the report from Infoview:
    "The database logon information for this report is either incomplete or incorrect."
    "Unable to retrieve Object.
    The database logon information for this report is either incomplete or incorrect."
    May i know what causes the error? There is no user id/password to access the excel file.
    I have also tried saving the excel in the same server as the crystal report server, but i still face the same error.
    Pls help!
    Thanks

    You would have created a connection in your local system to access the XLS data
    You should be creating a similar connection in the server as well and then update the rpt file with the connection details in CMS
    Thanks,
    Ganesh

  • Problem accessing informix ODBC 32 bit System DSN using Microsoft Query external data sources in Microsoft Excel 2010

    Hi all...
    I'm hoping if anybody could help me. I'm using Microsoft Excel 2010 + Windows 7 Professional 64 bit. I've installed the informix client sdk for odbc drivers to create odbc 32 bit connection. Before this, i had successfully installed in
    another Windows 7 Professional 64 bit PC the informix client drivers and configured the odbc connection for it. During that time, i can access the 32 bit ODBC using the microsoft query from the Microsoft Excel 2007. But now...in the new PC, even though i had
    successfully installed the informix client and manage to configure the 32 bit ODBC for it, my Microsoft Excel 2010 can't call/recognise the 32 bit ODBC connection as if the Microsoft Excel 2010  only called the 64 bit ODBC. Is it in Microsoft excel 2007
    it is possible to recognise the 32 bit ODBC but the Microsoft Excel 2010 can't? Is there any solution if my Microsoft Excel 2010 still want to use the 32 bit ODBC connection.

    Hi,
    Excel 2007 has only 32-bit since 64-bit applications for Office are available only for Office 2010. Thus, you can use
    32 bit ODBC between Microsoft Excel 2007 & Windows 7 Professional 64 bit. Now, you are using Microsoft Excel 2010 64 bit & Windows 7 Professional 64 bit, thus, you must install the 64 bit ODBC drive. If you still need to use 32
    bit odbc drive, please use 32 bit Excel 2010. Here is the detailed steps:
    http://datasummit.co.za/how-to-install-an-informix-odbc-driver-on-windows-7-for-ms-office-2010
    Regards,
    George Zhao
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Can't save BISM file pointing to excel sheet (data source). ErrMsg: "There were errors found while validating the page: Cannot connect to the server or database."

    Hi,
    Me and a collegue is administrering our new enterprise BI portal in SharePoint 2013 (On Premise) and have a problem with using a specific Excel file including general ledger data as data source through a BISM file.
    This particular BISM file can't be saved without getting the error message "There were errors found while validating the page: Cannot connect to the server or database."
    BISM files against other Excel sheets and sources (for example SSAS tabular databases) works well.
    Can anyone help us pinpointing whats wrong here, this is a really important stakeholder in our organization requesting this reporting?
    Cheers!

    Hi E.SWARD ,
    My self created a Power pivot excel then i want to use this excel to create BI file . Still i am getting the same error . Pls help me to resolve this issue
    Cannot connect to the server or database.
    I am getting the similar error , if i use Tabular analysis server instance .
    Subhash

  • How to use a excel file to create a service component?

    Dear all,
       I want to use a excel file to create a service to be my data source. I used the wizard to do that but i always got a message. "The data format is not valid, fields in each record must be delimited by tab charactors, and each record seperated by new line charactors". How should I reformat my excel file to fit the requirements? I have already chang the field`s format into 'text' type. Thx ^^

    Hi Louis,
    [Here|http://img125.imageshack.us/my.php?image=exceltestlo7.jpg] is the result of your data.  I downloaded your excel sheet and created a simulated service in 7.1.1 and it works fine.
    Below are the steps:
    1. Go to Tools -> service component wizard
    2. The popup opens : Step1 :  Enter the name of your service component
    3. Go to Excel spreadsheet Copy the data for which the service needs to be created.
    4. Step 2 : Paste the copied Excel data in the popup
    5. Step 3 : Define Input -> just click next
    6. Step 4: Define Conditions -> just click finish.
    Let me know if it helps.
    Good Luck,
    Dharmi

  • How to use Microsoft Excel dll in SQL Server Reporting Services

    Hi,
    Can you please explain me the steps to use excel .dll in ssrs

    Hi PrakashThandra,
    Based on my understanding, you have created a chart in Excel, then you want to use this chart in Reporting Services, right?
    In Reporting Services, it’s not supported to use a chart which created in Excel directly. But we can use Excel as datasource to create a report, please refer to this article:
    Create SSRS report using Excel Data Source Step by Step. In your scenario, since you want to use the Excel chart in Reporting Services, you could create a same report in Reporting Services refer to this article:
    Charts (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • DX80... Using TMS as phone book source

    Hi Guys,
    I know there are nurmerous threads about this on the forums however I am unable to find the answer from all the discussions and documentations..
    We have a DX80 registered on our CUCM 10.5.1..
    As described in the guides, these CUCM registered TP devices use the UDS server to populate the phone book.. So presently, our DX80 is seeing all end users from a LDAP sync..
    It's been mentioned that CUCM registered TP devices can now use TMS as a directory source but Im unable to find the setting within CUCM to tell to it to use TMS as the source.. ?..
    Is it an enterprise parameter setting or can it be configured per device ?.. ie.. can our Cisco phone  use the UDS as phonebook source and our DX80s use TMS as an alternative source..

    Alright guys I have a work around to this  but its not pretty and frankly Cisco needs to solve this, how are they possibly thinking they can deploy a device like hte DX80 without tying it to the TMS phonebook.  Thats a travesty and the fees to move your VC registered endpoints onto CUCM is prohibitive to say the least.  That all said, Cisco get it together and solve this or the DX series will be dead to SO MANY people and companies.  
    Now with that all said, the work around:
    The goal is to get all TMS endpoints into CUCM as a user so that they will show in the directory.  Now you have two options.  1 if your MAIL ID is what you use for your URIs then all you need to do is import the CR users from AD (if CRs have AD accounts).  You will then have a directory as long as all your URIS are right.  Thats fine and relatively scale able.  For those of us that do not have this done like this you will need to Export all of your video devices from TMS into an excel sheet.  You will need to work the sheet a bit so that the columns can line up to DISPLAY NAME (name of endpoint) and MAIL ID (URI).  You can import this into CUCM to create the  CR users and they will then show in the directory.  This is not long term scale-able   and when you want to change a room you now have to edit a manual CUCM user.  This will only work if you run 8.5 or higher.

  • Excel files as source

    Hi !
    I need to load .xlsx files . But i could read only .xls using SSIS 2012. Do we need to Install provider for excel 12.0 to load .xlsx or it comes by default. ?
    Thank you !
    Regards,

    Hmmm,are you sure? I got .xlsx file and specify Excel as a source  and was be able to load  the files... Nothing special installed on the server. What error are you getting?
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Using Ms-Excel sheet as a Database.

    Hi,
    I want to use MS-Excell spread sheet as a data source and insert and retrive records from it.
    I want to use the spread sheet for Inserting rows and deleting rows from Java application. Can I use it from Java.sql package and use the factory methods as DriverManager and get the connetion Interface.
    Can any one please help in this regrard.
    Thanks in advance.
    Vamshi

    --you can try this!
    try {
                  Connection con=null;
                  ResultSet rs=null;
                  Statement stat=null;
                  Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   String myDB = "jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=d:/tangofox/prac/book1.xls;"+
                                   "DriverID=22;READONLY=true";
                   con=DriverManager.getConnection(myDB, "", "");
                   stat=con.createStatement();
                   rs=stat.executeQuery("Select * from `Sheet1$`");//[Sheet1$]
                   while(rs.next())
                      System.out.println (rs.getString(1));
                   stat.executeUpdate("Insert into 'Sheet1$' values ('yes!')");
              rs.close();
              stat.close();
              con.close();
             catch (Exception err) {
             }

  • The goal is to synchronize an excel sheet using Microsoft Excel 2010 with Sharepoint 3.0

    The goal is to synchronize an excel sheet using Microsoft Excel 2010 with Sharepoint 3.0. We have already installed an add-in (Excel 2007 Add-in: Synchronizing Tables with SharePoint Lists) that was supposed
    to help the synchronization of excel to Sharepoint, but it did not work. We would like to synchronize information about a calendar from excel to Sharepoint 3.0, so every time a change is made in excel it automatically updates in Sharepoint.

    ootb, changes in excel don't sync with a SharePoint list, the other way around is possible.
    Kind regards,
    Margriet Bruggeman
    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

  • Using 2 web services data sources in the same report

    I've been trying unsuccesffuly to use 2 web services data sources in a report. The main report accesses the first web service to get job summary information. 3 fields are are passed as parameters to a sub-report and used as parameters for the sub-report selection. Each report works fine independently, but when I link them together the subreport alway fails to retrieve data.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

Maybe you are looking for

  • AirPrint on HP Photosmart Premium All-in-One Printer - C309a series.

    Is there anything that can help my iPad or iPhone find the correct printer through AirPrint for an HP Photosmart Premium C309a series?

  • I am not able to update my purchases. How do I fix this?

    It tells me that my billing account information has a problem from the previous purchase. The last thing I bought was an in-app purchase and I don't want to make a new Apple ID as I am very aware that I would have to buy my purchases all over again.

  • IE 8 as well mozilla  crashing when i try to open an oracle application

    hi everyone, i have application which has been deployed on production..itz working fine is almost all the computers..only 1-2 computers are giving me this problem.. computer descriptionz windows xp using IE 8 or mozilla 3.6.12 jnitiator 1.3.1.22 i ha

  • How to delete profiles?

    i only can create new profiles but how i can delete a profile (nokia x6) ? thank you friendly regards Solved! Go to Solution.

  • Exporting TIFF with Pages

    Hi everyone. I'm a stranger here and need your help. I got a huge problem when I tried to export TIFF images with Pages. I use Pages to create documents or issues and export them into TIFF, then send them to printers. Everything is OK with Lion. But