Connect to excel datasource
HI
I have a requirement to connect to excel as a datasource in oBIEE, Excel files placed in Network drive.
How can we connect to excel file on a network drive? Or what is the better place or where the excel file should be placed in order to get the access from OBIEE RPD.
Please help me out on this.
Regards,
chandu
Yes you can do this:-
Create a DNS by using MICROSFT EXCEL Driver(available as microsoft excel driver(.xls)
initially u r having sheets in Ur excel file. When you create a connection pool , each sheet can act as table in your physical layer.
Then find out the fact and dimensional tables.
Make Logical diagram..
Similar Messages
-
Excel Connection Manager suddenly can no longer connect to Excel from SSIS package
<p>During the last 3 months, I used 32 bit SSIS 2008 (v 10.50.2500.0) on an WinXp machine (v 5.1.2600 SP3 Build 2600) to create a package that writes multiple query results (reports) to an excel spreadsheet. Each report is written to a different
tabbed sheet in the same spreadsheet. </p><p>The package was working just fine until May 9 2013, when suddenly every single Data Flow task with an Excel Destination displayed error icons and raised the following
error message when opening the Advanced Editor:</p><p>SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005 Description: "Unspecified error". <br />Error at <DataFlow task name>: SSIS
error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager <Excel connection Manager> failed with error code 0xC0202009. There may be error messages posted before this with more
information on why the Acquire Connection method call failed. Exception from HRESULT: 0Xc020801c (Microsoft.SQlServer.DTSPipelineWrap)</p><p>Originally the error message reported that the Error Code was "0x8000FFFF", but I can't seem
to reproduce that error code since. Now I am only getting the above error message.</p><p>From the time I created the original package (when it worked fine) until now, I have been using the same computer, writing to a (32 bit) 2010 Excel file in
a local folder. The filename and location have not changed. The ConnectionString has not changed. The Connnection String I am using is Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Conversion\Conversion Results_dt01.xlsx;Extended Properties="EXCEL
12.0 XML;HDR=YES;". </p><p>Now an attempt to create and test a NEW Connection Manager yields me this error. "Test connection failed because of an error in initializing provider. Unspecified error.", whereas before I had
no problems creating a new connection manager.</p><p>I checked a second SSIS package, which I also built during the past 3 months, which loads multiple sheets from multiple Excel files to a SQL Server 2008 database holding table. It uses the same
ACE OLE DB 12.0 connection to load the Excel speadsheets and this package continues to work fine on the same workstation.</p><p>In desparation, wondering if the Microsoft ACE OLE DB 12.0 driver had become corrupt (even though the second package
was raising no errors), I did download and install the Microsoft ACE OLE DB 12.0 driver. That did not solve my problems with the first package.</p><p>I need to get this package running again ASAP as it is targeted for UAT testing in a
matter of days. Any help with this issue would be greatly appreciated!</p>I submitted this issue above and now I am having the same problem again. I am using the same local computer, the same operating system (WinXp v 5.1.2600 SP3 Build 2600) as originally described. I am working with the same SSIS package that
writes multiple query results (reports) to an excel spreadsheet. This package has been successfully executed multiple times, but now I am suddenly getting the same error as follows:
Error at 1ConversionContacts [Connection manager "Excel Connection Manager"]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".
Error at DFlow Write soft deleted duplicate claims to Excel sheet [Excel Destination - write duplicate claim nbrs that have been removed to Excel [61]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method
call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.
The package will not run because of these multiple errors (multiple because it occurs on every single excel destination in the package).
I have Run64BitRuntime set to false on the project. I have triple checked that the excel file name (which I created and can access) exists with the correct name in the correct path, which is local on my machine. The file is the same file in the same
location as when the package worked. I am running the SSIS service under my own network login, as I was when the package worked. I have been consistently getting this same error whenever I change my network password without updating the password
in the SSIS service, but I have triple verified that the service is using my latest password. If I try to open and edit the Excel Destination in any DataFlow task I get the same error. I can successfully create a new Excel Connection Manager pointing
to the same excel file. However if I try to assign the newly created Excel Connection Manager in the data flow, I cannot activate the drop down to choose the Excel sheet without getting an 'Unspecified error' message. I then swapped out
the file with its template version, and ensured the name was updated as correct. I still get the same errors.
Oh, and the SSIS package is extracting data from a SQL Server 2008 database with an ADO.net Connection Manager using Windows authentication. I have no problems with the SQL Server connection, it has always worked and still does. It is only
the connection to excel output file which is locally stored on my machine.
Has anyone got any suggestions for me? -
we are getting error while refreshing connection on excel sheet which containing data from data source in form of power pivot.
error is "An error occurred during an attempt to establish a connection to the external data source. The following connections failed to refresh:"
I am confused about Configuring the Analysis Service in SharePoint Mode.
What account should be used for Configuring the Analysis Service in SharePoint Mode?
what are the steps and what permissions are required and where to add it?
can you please explain in detail so i can make sure about my account permission properly in my environment?
Do we need to install Analysis service on sharepoint server box or not? if yes, then what are steps to follow it?
it is mentioned here to have two services are running under manages services under sharepoint central,
https://msdn.microsoft.com/en-us/library/jj682085.aspx#bkmk_verify_powerpivot
but we don't have SQL Server Analysis Services
running under Manage
services on server.
what need to be done here to fix this issue ?
Thanks,
Deepak PatelHi Deepak,
We are currently looking into this issue and will give you an update as soon as possible.
Thank you for your understanding and support.
Meanwhile, could you please check if there is any related ULS log for help troubleshoot the issue when error occurs.
http://social.technet.microsoft.com/wiki/contents/articles/3870.troubleshoot-powerpivot-data-refresh.aspx
http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/04/02/powerpivot-for-sharepoint-manual-data-refresh-failing.aspx
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Why does it take over 2 minutes to get a database connection from the DataSource?
Hello,
It is taking over 2 minutes for my application to get a connection from a registered DataSource in iAS 6.0 sp4 on Solaris. The proper results are returned it just takes 2 minutes to establish the connection. The DataSource is an Oracle 9i database. I have the 9i drivers in the classpath. I also have a registered datasource that is an Oracle 8 database and have no problems establishing a connection quickly to that database. As an aside I have setup this application on JBOSS and both datasource's return a connection very quickly. If anyone has any ideas about what might be going on please respond. This issue is holding up a production release.
Here is the code:
try {
log.debug("getting a new initial context");
ctx = new InitialContext();
ds = (DataSource) ctx.lookup(bundle.getString("IW_DATASOURCE"));
log.debug("after looking up datasource from initial context");
} catch (NamingException e) {
log.error(e);
throw new FinstarException
(bundle.getString("E-0001"));
try {
log.debug("about to get connection");
conn = ds.getConnection();
log.debug("after getting connection");
Produces this in the logs:
2002-05-29 08:55:12,859 DEBUG org.mitre.mii.project.finstar.FinancialSummary - about to get connection
2002-05-29 08:57:24,963 DEBUG org.mitre.mii.project.finstar.FinancialSummary - after getting connection
Here is the datasource registration file:
<ias-resource>
<resource>
<jndi-name>jdbc/pdc/IWDataSource</jndi-name>
<jdbc>
<database-url>jdbc:oracle:thin:@xxx.xxx.org:1521:acisdb</database-url>
<datasource>jdbc/pdc/IWDataSource</datasource>
<username>XXXXX</username>
<password>XXXXX</password>
<driver-type>OracleThinDriver</driver-type>
</jdbc>
</resource>
</ias-resource>Have you tried to eliminate everything extraneous. In other words, do you experience the same delays with a simple Java program (no lookups, JNDI) that loads the drivermanager and creates a connection.
Do you have access to a traciong JVM or some program that captures run-time execution timing information? Even without the source, this will tell you the specific class::methos where time is spent so you can better determine where the delay is ocurring. -
I am getting following error while refreshing connection on excel sheet in power pivot gallery,
my scenario,
using BISM file connection to create and refresh power pivot excel sheet in power pivot gallery
throws error and we have sql server 2014 CU6 updated installed plus sharepoint 2013. i checked following msolap110.dll is available in our environment but assembly
Microsoft.AnalysisServices.ChannelTransport is not available.
i found error in event viewer,
"Activation context generation failed for "C:\Program Files\Microsoft Analysis
Services\AS OLEDB\110\msolap110.dll". Dependent Assembly
Microsoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
what should i do to fix it?
Thanks for help.
Deepak PatelRebecca,
yes, this is issue i am getting.
Activation
context generation failed for "C:\Program
Files\Microsoft Analysis Services\AS OLEDB\110\msolap110.dll".
Dependent AssemblyMicrosoft.AnalysisServices.ChannelTransport,processorArchitecture="MSIL",publicKeyToken="89845dcd8080cc91",version="11.0.0.0" could
not be found. Please use sxstrace.exe for detailed diagnosis.
let me know if you can find fix for it.
THanks, -
AcquireConnection method call to the connection manager Excel connection Manager failed
I used VS Studio 2008 (BIDS version 10.50.2500.0) on an WinXp machine (v 5.1.2600 SP3 Build 2600) to create a package that writes multiple query results to different tabbed sheets of a single excel spreadsheet. The package was working just fine and has run
successfully multiple times, but all of a sudden when opening the project, every single Data Flow task with an Excel Connection Manager displayed error icons. Each raises the following error message when attempting to open the Advanced Editor:
SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005 Description: "Unspecified error". Error at DataFlow task name: SSIS error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method
call to the connection manager Excel connection Manager failed with error code 0xC0202009. There may be error messages posted before this with more information on why the Acquire Connection method call failed. Exception from HRESULT: 0Xc020801c (Microsoft.SQlServer.DTSPipelineWrap)
From the time I created the original package (when it worked fine) until now:
1) I have been using the same computer, the same login account and the same permissions.
2) I have been writing to the same (32 bit) 2010 Excel file (which I created) in a folder on my local machine.
3) The filename and location have not changed; a template file is used each time to move and overwrite the previous file. Both are in the same locations.
4) I can independently open the target Excel file and the template Excel files with no errors.
6) The ConnectionString has not changed. The Connnection String I am using is
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Conversion\Conversion\Results_dt01.xlsx;Extended Properties="EXCEL 12.0 XML;HDR=YES;".
7) Run64BitRuntime is set to False.
8) Delay Validation is set to true
9) This is not running under a SQL job
10) There are no child packages being run
I CAN create a NEW Excel Connection Manager, assigning it the exact same target Excel spreadsheet, successfully, but when I attempt to assign it to the Data Flow destination this error occurs:
"Test connection failed because of an error in initializing provider. Unspecified error."
Thinking that the driver might be corrupt, I opened a second SSIS package, which also uses the Excel Connection Manager (same driver) and this package continues to work fine on the same workstation with no errors.
I have searched online for causes of this error for many hours and found nothing that helps me to solve this issue.
Does anyone have any suggestions for me?Yes, I have verified that the Excel file is not in use or opened by anyone, including me. It has been two months since I opened this particular package, although I have been working with other packages in this project. I just discovered that another
package in the same project has the same problem - all Data Flows that output to an Excel Destination now have the same error icons. This second packages outputs to an entirely different Excel file than in the first package. A summay:
Package #1 has error on every Excel Destination and uses templateA to overwrite fileA and then writes to fileA
Package #2 has error on every Excel Desintation and uses templateB to overwrite fileB and then writes to fileB
Package #3 has no error on any Excel Destination and is linked to multiple files (none are A or B)
Package #1 and #2 are in the same project, but Package #3 is in a separate project .
I will try replacing the Excel files with new ones for Package 1 and 2. -
Error
[Load data from excel file [1]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There
may be error message
I am using BIDS Microsoft Visual Studio 2008 and running the package to load the data from excel .
My machine has 32 bit excel hence have set property to RUN64BITRUNTIME AS FALSE.
But the error still occurs .
I checked on Google and many have used Delay validation property at Data flow task level to true but even using it at both excel connection manager and DFT level it doesnt work
MudassarThats my connection string
Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\SrcData\Feeds\Utilization.xlsx;Extended Properties="Excel 12.0;HDR=NO";
Excel 2010 installed and its 32 bit edition
Are you referring to install this component -AccessDatabaseEngine_x64.exe?
http://www.microsoft.com/en-us/download/details.aspx?id=13255
Mudassar
You can try an OLEDB provider in that case
see
http://dataintegrity.wordpress.com/2009/10/16/xlsx/
you might need to download and install ms access redistributable
http://www.microsoft.com/en-in/download/details.aspx?id=13255
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to use loop in VBAK table using BDC RFC connection through excel vba ?
Hello,
I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
Any help appreciated.Hello,
I am trying to extract data from VBAK table using rfc connection with Excel VBA. where i can able to pull data first time, when i tried to use the same set of code using loops, it throws an error like BAD INDEX.
Any help appreciated. -
Users cannot connect BPC Excel, Admin Console except bpc_sysadmin
Hi experts!
We use MultiServer BPC 7.5 MS sp06 Installation
Servers
1. bpcweb - WEB (IIS) on Windows 2008 R2 x 64 (in AD)
2. bpcapp - BPC App Server on Windows 2008 R2 x 64 (in AD)
3. bpcdb - DB/OLAP MS SQL Server 2008 R2 on Windows 2008 R2 x 64 (in AD)
Installation on AD users and OK, Diagnostic on Server Manager - OK
We use AD authentification and Local too.
I have added 2 users to Admin TEAM with full rights on AppShell and on our AppSet: one user from AD another from Local AppServer
Users can connect into BPC Web, can select AppSets and Applications.
But when I try connect to BPC Excel or Admin Console - after I enter user login, password and domain - appear message
"Couldn't authetificate user id or password. Back and check, that entered valid credentials" (translation from Russian).
And when I try connect by bpc_sysadmin everything OK.
Thank you for help
Best regards
IaroslavHi!
All versions of OS, SQL, IIS, BPC and other are the same versions on all Environments, same AD.
Our Environmets:
DEV - Single Server - all connections - OK
TEST - MultiServer (1: BPC App/WEb; 2: DB/OLAP) - all connections - OK
PROD - MultiServer (1: BPC App;2: Web; 2: DB/OLAP) - connect to Excel and Admin Console - Error
Best regards
Iaroslav -
Unable to connect database by DataSource in tomcat5.5 plz help to me
hi,
i want to connect Database through DataSource in Tomcat5.5 with mysql
i wrote one servlet , made change in server.xml, web.xml.
when i access it show exception
java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.org.apache.tomcat.dbcp.collections)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1512)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)The servlet
* DataSourceAccess.java
* Created on August 22, 2005, 3:14 PM
package officecom;
import java.io.*;
import java.net.*;
import java.sql.*;
import javax.naming.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.sql.*;
* @author Paramasivam
* @version
public class DataSourceAccess extends HttpServlet {
/** Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
* @param request servlet request
* @param response servlet response
protected void processRequest(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
response.setContentType("text/html;charset=UTF-8");
PrintWriter out = response.getWriter();
/* TODO output your page here
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet DataSourceAccess</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Servlet DataSourceAccess at " + request.getContextPath () + "</h1>");
out.println("</body>");
out.println("</html>");
out.println(" got connection ? "+getDataConnnecion());
out.close();
public boolean getDataConnnecion(){
try{
System.out.println(" INFO : getConnection called ");
Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds = (DataSource)envContext.lookup("mysql");
Connection con = ds.getConnection();
if( con != null ){
return true;
}else
return false;
}catch(Exception e){
e.printStackTrace();
return false;
// <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
/** Handles the HTTP <code>GET</code> method.
* @param request servlet request
* @param response servlet response
protected void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
/** Handles the HTTP <code>POST</code> method.
* @param request servlet request
* @param response servlet response
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
processRequest(request, response);
/** Returns a short description of the servlet.
public String getServletInfo() {
return "Short description";
// </editor-fold>
}Changes in server.xml
<GlobalNamingResources>
<Resource
name="mysql"
auth="Container"
type="javax.sql.DataSource"
password=""
driverClassName="com.mysql.jdbc.Driver"
maxIdle="2"
maxWait="5000"
username="root"
url="jdbc:mysql://localhost:3306/sushi?autoReconnect=true"
maxActive="4"/>
</GlobalNamingResources>changes in web.xml
<resource-ref>
<description>Tomcat DBCP</description>
<res-ref-name>mysql</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>You might have more answers if you post this same question in the Sun Java Studio Enterprise forum...
http://swforum.sun.com/jive/category.jspa?categoryID=90 -
Java connectivity with EXCEL/WORD
I am developing a Java application where the data is in SQL Server/Visual FoxPro. Some calculations are performed on this data using Java (JSP).
I have to take the report in a pre-formatted EXCEL/WORD template as this EXCEL document has to be sent to the Client.
Can somebody please tell me how I can connect to EXCEL/WORD through this Java application ?You need to cahange the content-type of the jsp response by response.setContentType("application/msexcel")
then your client can save the data you are passing into excell on thier machine
Regards
Rahul Vyas -
Connecting to multiple datasources
i would like to connect to multiple datasources (i.e. db2 and peoplesoft both in two sitting in different subsystems in the MVS platform) in my java application. is it possible to do this in the websphere application server running under mainframe environment? any ideas or way around it?
thanks.Why don't you just describe the problems that arose when you tried it?
-
Universe with an excel datasource
Hello,
I am trying to build a universe based on an excel datasource.
I need to create an object "Age braket" with this kind of synthax :
case when Age < 20 then "0-20" else "+20" end
But I don't find what to use instead of "case when" to be compatible with an excel datasource.
Can you help me please ?
Thanks a lot for all your help.
I hope someone would have the response.
Regards
EmiHi,
Try this syntax:
IIF (Age < 20, '0-20', '+20')
Regards,
Didier -
Excel Datasource for Crystal Reports - BO Enterprise on Linux
Hi,
i've developed a report, which uses data from sap query and from an excel file (.xls). I copied the excel file to the BO-server (the user bo has rights on this path) and publish the report. But when i start the report, comes the error "could not read database information".
Our BOE is XI 3.1 SP 3 and we use Crystal Reports 2008. BOE runs on a SLES. Is it possible to uses Excel-Datasources in this case? If it is possible, what have i to do?
thanks & regards
DanielHi Daniel,
It is not supported in Linux. You can check the Supported Platforms documents for this platform. It is only available for Windows platform.
Regards,
Julian -
There are still no BW systems connected to the Datasource
Hi All,
We are currently implementing BW retail project and trying to retrieve POS data using IDOCs through PIPE but we are facing a problem when we try to process idoc from POS workbench (/POSDW/MON0).We are sending idocs(WBUPON- POS interface: Upload sales docs (receipts) non-aggregated) using transaction we19 and then when we go to the POS workbench and try to process related idocs choosing supply bw immediately ...etc option after this we are getting the following error with a message class RSQU and message no 10.
<b>There are still no BW systems connected to the Datasource</b> I am working on BW side with datasources such as 2LIS_43_poscas and 2LIS_44_posrec.
Our system is SAP BI 7.0 with support package level 12.Can you please suggest something on this problem
Is there anyone who has experienced this kind of problem.Could you please give a look and share your solutions with me OR can somenone show how to transfer pos data into BW system.
Waiting for rewarding points for good answers.
Thanks in Advance,
Regards,
#Bill J.Satish ,
Thank you very much for the answer but my r3 system is ecc 5.0 so this note is suitable for it ? What else can you suggest related to this problem ?
Thanks & Regards,
#Bill J.
Maybe you are looking for
-
How Do I Find Total Use / Capacity Of My Internal HD In Mavericks?
I just upgraded to mavericks and am working through the normal hiccups. How do I find out the complete disk usage / space available for my 1 TB Internal HD? In previous OS there was something like "My Mac" on the top left of the finder window. I cou
-
ITunes will no longer sync photos to the iPhone
I keep getting the following message when syncing my phone: iTunes will no longer sync photos to the iPhone. I just recently updated my iPhone 5s to the latest iOS version and iTunes is the latest version as well. Has anyone else had the same proble
-
Hi ALl We have a custom requirement from our client to have a duplicate check in ML81N tcode at the entry or before saving the document. The duplicate check to be set on the fields Reference no (XBLNR) & external sheet number (LBLNE) such that for th
-
How to put Download button on Webdynpro ALV
Hi, I used SELECT_OPTIONS WDR_SELECT_OPTIONS as webdynrpo components in my ALV report.I also need download option on the output.I am using just one main view to display the results. Also ,Output is always defaulting to 5 rows only.. Where can I
-
Background won't appear in Live View?
Ok, so my problem is, the selected background won't appear in Live View, as the title says. I figured this is because I just bought an external hard drive today, and moved all my files, thus changing the root folder. So I edited the root folder under