Cannot setup data source that connect to the SQL Azure DB from Power BI
Hi all
I have setup the powerbi site and i manage to install data mgmt gateway on my local machine
then i am able to setup data source on powerbi
however, when i browses the data source table from the powerbi site
i receive the error from get DataSource Schema.
And from the event log
Unable to enumerate tables. Error message: One or more error occurred when accessing the Host Service. Error message: An error occurred while sending the request.
An error occurred while sending the request.
The underlying connection was closed: An unexpected error occurred on a send.
This operation cannot be performed on a completed asynchronous result object..
Hi Hubery
thanks for your advice. But i have installed .Net 4.5.1 and then reboot my machine and restart the gateway
However , I still cannot see table and view schema when i click the following
on the powerbi -> choose the data source -> edit -> data settings
And i receive the alter
Get data source schema - One or more errors occurred in Data Management Gateway. Check Windows Event Log for the gateway errors. Tracing ID: 41582934-e9bf-4ab1-a4c7-53bce895f6f5 - 5:50:11 PM
Similar Messages
-
why i cannot create the sql azure database from my own country 'Nepal' ?. why it is not include in the list of country when we sign up for azure database. :( !!!
canot we try this new feature ,dosnot we need to try this too..why such discermination for our country nepal. :(Hi Anil,
I am Mahesh from Microsoft Innovation Center. From August 2014 we have made Azure Available to Nepal. You can now directly sign in to azure with your Nepal Based Mobile Number as Verification.
Thanks for showing your Interest in our Product.
Mahesh Dahal -
Creating a Coldfusion Data Source that connects to a DB on a different server
Your assistance is appreciated. I am attempting to create a data source on server #1 that is to connect to a database residing on Server #2. Thus far, each attempt made results in an error that the database "is already opened exclusively by another user, or you need permission to view its data." Be advised that I am experienced in working with data sources when the database resides on the same server.
There is no problem creating a datasource on server 1 that references a database on server 2. But you will have to check the permissions on server 2 to make sure server 1 can connect. I suppose the error message is telling you as much.
-
Error Deploying Web application that Connects to MS SQL Server
Hello I have Created a data Source that connects to a SQL Server Database and its conecting but whenever i try running the web server that contains a web page that accesses a Datasource (Microsoft) I get this error
Exception is: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
06/04/26 12:26:37 SEVERE: ApplicationStateRunning.initConnector Stack trace: oracle.oc4j.sql.DataSourceException: Exception creating connection pool. Exception: oracle.oc4j.sql.config.DataSourceConfigException: Unable to create : com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.evermind.server.ApplicationStateRunning.initDataSourceConnectionPool(ApplicationStateRunning.java:2016)
Even though I chose the option to Upload the library with the deployment, Do i have to manually load the SQL Server Librarieswith com.microsoft.sqlserver.jdbc.SQLServerDataSource it does'nt get created.. with com.microsoft.sqlserver.jdbc.SQLServerDriver it does get created
-
Setup Database mail that connect with tcp/ip to the instance
I want to setup database mail that connect to the named instance via a fixed TCP/IP port.
This is a named instance that works with a fixed TCP/IP port
Database mail works fine if shared memory is enabled.
If it is disable I get the following log entry in the application log.
Log Name: Application
Source: DatabaseMail
Date: 18/11/2014 20:56:05
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: Server.dom.be
Description:
1) Exception Information
===================
Exception Type: Microsoft.SqlServer.Management.SqlIMail.Server.Common.BaseException
Message: There was an error on the connection. Reason: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL
Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified), connection parameters: Server Name: server\instance, Database Name: msdb
Data: System.Collections.ListDictionaryInternal
TargetSite: Void OpenConnection(Microsoft.SqlServer.Management.Common.SqlConnectionInfo)
HelpLink: NULL
Source: DatabaseMailEngine
StackTrace Information
===================
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.ConnectionManager.OpenConnection(SqlConnectionInfo connectionInfo)
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.OpenConnection(String dbServerName, String dbName, String userName, String password, String appName, Int32 connectionTimeout)
at Microsoft.SqlServer.Management.SqlIMail.Server.DataAccess.DataAccessAdapter.OpenConnection(String dbServerName, String dbName, String userName, String password, Int32 connectionTimeout)
at Microsoft.SqlServer.Management.SqlIMail.IMailProcess.QueueItemProcesser.ProcessQueueItems(String dbName, String dbServerName, Int32 lifetimeMinimumSec, LogLevel loggingLevel, Byte[] encryptionKey, Int32 connectionTimeout)
Is there a way to change the connection parameters?
PS the Browser Service is not runningHello,
If the instance is a named instance, then SQL Server Browser service should be started to be able to connect to the instance
using TCP/IP.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Question
When I hit the Connect button on my droid phone a message comes up that says" Cannot Setup Sync " instead of giving me the 3 lines of codes I need to enter into my Desktop Computer.. Thanks, JoeThe Cannot Setup Sync message indicates that you don't have internet access. Check that you can get your phone online (3g or wifi) and then try to connect again.
-
Cannot get ODBC Data Source to connect on report server
Hi,
I have an ODBC Connection installed on our PROD server that when you test through I-SQL and the ODBC Administrator it works.
When I add a new data source to the reporting server we interface and press test connection it just hangs for ages then gives a page cannot be displayed.
I have installed all the same on the DEV server and it works fine. I have set all of the configs to exactly the same!
I feel like something to do with reporting services is not correct. Any one have any ideas?
Thanks.Hi KMoff,
Per my understanding that you are using the ODBC datasource type and when you have set the connection string and click the "Test Connection" it hangs and got some error, right?
Please find the details steps below and try to provide more information according to the questions:
Whether the error message you got is "page cannot be displayed", if not, please try to provide more details inforamtion.
Did you got the error message when you click on the "Test Connection" from designer or report manager.
If you got the issue only in the report manager, the issue can be caused by the support of the ODBC driver in the report manager and also the bit.
Standard .NET Framework data providers do not necessarily support all the functionality supplied by Reporting Services data processing extensions. In addition, some OLE DB data providers and ODBC drivers can be used to author and preview reports, but are not
designed to support reports published on a report server. See
Data Sources Supported by Reporting Services (SSRS)
When you deploy a report to a 64-bit report server (x86), the report server must have natively compiled 64-bit data providers installed. Wrapping a 32-bit data provider in 64-bit interfaces is not supported.
Could you provide more details information about the connection string you are currently using.(Excel files or something else)
Similar thread for your reference:
SSRS - Using Excel as a Data Source
Details information about the ODBC datasource:
Create SSRS report using Excel Data Source Step by Step
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Failed to acquire DAS with data sources that match the specified OCE
Please help, Thank you all.
We are migrating Oracle databases from Windows to Linux servers. Currently, I have no problem to use my desktop Hyperion Intelligence Designer 8.5 with new oce file to connect to Linux. However, I published the same oce file to Hyperion Performance Suite 8.5 then I got “Sever Error [2018]: Failed to acquire Data Access Service with data sources that match the specified OCE”.
I launched Service Configurator, in the “Local Service Configurator - DAS1_host”, the “Database JDBC URL is point to Linux server. Also, I added ODBC connection to Oracle database on Linux in the “Properties of Data Access Service: DAS1_host’s Data Source”. Database of JDBC URL in BI1_host, AZ1_host, PUB1_host, SM1_host, LS1_host, UT1_host, BPS1_host, AN1_host are also point to Linux server.
The “Remote Service Configurator” has ES1_host’s” Storage” with JDBC URL point to Linux server. The same for RM1_host’s and NS1_host’s “Storage” with JDBC URL point to Linux server.
Is there some missing configuration on the server? Thank you in advance.You should login to my oracle support to look into this ID.
This is the solution mentioned
Solution
1) In the .profile file, you will find the definition of the LD_LIBRARY_PATH variable. However, the path to 64 bit libraries is probably appended before the path to the 32 bit libraries(%ORACLE_HOME%/lib32). Therefore, please reverse the order in the definition so that the 32 bit libraries get loaded before the 64 bit libraries.
Then, restart all services.
2) Oracle 9.2 was the first Oracle release which defaults to using the 64 bit libraries in the 'lib' directory and the 32-bit libraries that we need are in the 'lib32' directory.
Therefore, please have the%ORACLE_HOME%/lib32 placed in front of the LD_LIBRARY_PATH environment variable definition.Then, restart all services.
3) Please check that users have read and write access to the files located in the %ORACLE_HOME%/lib32 folder.
4) Check the permissions of the libclntsh.a file(located in the %ORACLE_HOME%/lib32 folder) are set to rwxr-xr-x
5) Recreate the OCE connection in DAS and restart DAS in CMC.
6) Restart all the BIPlus Services and process the query. -
hi - i have an ipod and when i connect to my pc and try to update the software, its says that cannot update as im not connected to the internet even though i am. what can i do?
Update Server
Try:
- Powering off and then back on your router.
- iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
- Change the DNS to either Google's or Open DNS servers
Public DNS — Google Developers
OpenDNS IP Addresses
- For one user uninstalling/reinstalling iTunes resolved the problem
- Try on another computer/network
- Wait if it is an Apple problem -
I am trying to set up my daughter's iTouch. I am connected to our Wi-Fi, and have confirmed this in Settings, but when we try and open any webpage we receive the message that page cannot be opened because not connected to the Internet. I have already re-set the iPod, have shut-down and restarted, and told the iPod to "Forget Network". please help - i am going bananas!
Encryption wouldn't matter except for Wifi.
While 10.2 might help, there's not much you can do on the Internet these days with less than 10.4.11
Tiger Requirements...
To use Mac OS X 10.4 Tiger, your Macintosh needs:
* A PowerPC G3, G4, or G5 processor
* Built-in FireWire
* At least 256 MB of RAM (I recommend 1GB minimum)
* DVD drive (DVD-ROM), Combo (CD-RW/DVD-ROM) or SuperDrive (DVD-R) for installation
* At least 3 GB of free disk space; 4 GB if you install the XCode 2 Developer Tools (I recommend 20GB minimum)
http://support.apple.com/kb/HT1514
http://www.ebay.com/sch/i.html?_nkw=mac+os+x+tiger+retail+10.4
See Tom's, (Texas Mac Man), great info on where/how to find/get Tiger...
https://discussions.apple.com/message/15305521#15305521
Or Ali Brown's great info on where/how to find/get Tiger...
http://discussions.apple.com/thread.jspa?messageID=10381710#10381710
As far as Memory, that's sort of easy, find your eMac here...
http://eshop.macsales.com/MyOWC/Models.cfm?Family=emac&sType=Memory
As far as Hard Drive, it's not easy to replace the Internal drive, I'd maybe suggest an external Firewire drive to boot from...
http://eshop.macsales.com/item/Other%20World%20Computing/MAU4S7500G16/ -
OSB: Cannot acquire data source error while using JCA DBAdapter in OSB
Hi All,
I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
Error infor are as follows:
The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
JNDI Name for the Database pool: eis/DB/soademoDatabase
JNDI Name for the Data source: jdbc/soademoDatabase
I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
Login info in RetrievePersonService-or-mappings.xml
<login xsi:type="database-login">
<platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
<user-name></user-name>
<connection-url></connection-url>
</login>
jca file content are as follows:
<adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
<connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
<endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
<interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
<property name="DescriptorName" value="RetrievePersonService.PersonT"/>
<property name="QueryName" value="RetrievePersonServiceSelect"/>
<property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
<property name="ReturnSingleResultSet" value="false"/>
<property name="GetActiveUnitOfWork" value="false"/>
</interaction-spec>
</endpoint-interaction>
</adapter-config>
RetrievePersonService_db.wsdl are as follows:
<?xml version="1.0" encoding="UTF-8"?>
<WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
<WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
<WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
<WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
<WL5G3N0:operation name="RetrievePersonServiceSelect">
<WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
<WL5G3N0:input>
<WL5G3N2:body use="literal"/>
</WL5G3N0:input>
<WL5G3N0:output>
<WL5G3N2:body use="literal"/>
</WL5G3N0:output>
</WL5G3N0:operation>
</WL5G3N0:binding>
<WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
<WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
<WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
</WL5G3N0:port>
</WL5G3N0:service>
</WL5G3N0:definitions>
Any suggestion is appricated .
Thanks in advance!
Edited by: user11262117 on Jan 26, 2011 5:28 PMHi Anuj,
Thanks for your reply!
I found that the data source is registered on server soa_server1 as follows:
Binding Name: jdbc.soademoDatabase
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 80328036
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
Binding Name: jdbc.SOADataSource
Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
Hash Code: 92966755
toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
I don't know how to determine which server the DBAdapter is targetted to.
But I found the following information:
Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
Outbound Connection Pool Server State Current Connections Created Connections
eis/DB/SOADemo AdminServer Running 1 1
eis/DB/SOADemo soa_server1 Running 1 1
eis/DB/soademoDatabase AdminServer Running 1 1
eis/DB/soademoDatabase soa_server1 Running 1 1
The DbAdapter is related to the following files:
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
<?xml version="1.0"?>
<weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
<enable-global-access-to-classes>true</enable-global-access-to-classes>
<outbound-resource-adapter>
<default-connection-properties>
<pool-params>
<initial-capacity>1</initial-capacity>
<max-capacity>1000</max-capacity>
</pool-params>
<properties>
<property>
<name>usesNativeSequencing</name>
<value>true</value>
</property>
<property>
<name>sequencePreallocationSize</name>
<value>50</value>
</property>
<property>
<name>defaultNChar</name>
<value>false</value>
</property>
<property>
<name>usesBatchWriting</name>
<value>true</value>
</property>
<property>
<name>usesSkipLocking</name>
<value>true</value>
</property>
</properties>
</default-connection-properties>
<connection-definition-group>
<connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
<connection-instance>
<jndi-name>eis/DB/SOADemo</jndi-name>
<connection-properties>
<properties>
<property>
<name>xADataSourceName</name>
<value>jdbc/SOADataSource</value>
</property>
<property>
<name>dataSourceName</name>
<value></value>
</property>
<property>
<name>platformClassName</name>
<value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
</property>
</properties>
</connection-properties>
</connection-instance>
</connection-definition-group>
</outbound-resource-adapter>
</weblogic-connector>
Then I decided to use eis/DB/SOADemo for testing.
For JDeveloper project, after I deployed to weblogic server, it works fine.
But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
BEA-380001: Invoke JCA outbound service failed with application error, exception:
com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
; nested exception is:
BINDING.JCA-11622
Could not create/access the TopLink Session.
This session is used to connect to the datastore.
Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
Exception Description: Cannot acquire data source [jdbc/SOADataSource].
Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
It almost drive me crazy!!:-(
What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -
ERROR : Cannot get data set while connecting to BI.
Hi,
I am trying to connect to BI trouggh my application. I am following one of the document which i got from SDN. But now i am getting ERROR : Cannot get data set while connecting to BI. Can any one tell me why i am getting this error.
when i tried to excecute first time it gave the same error for the bellow given Querry. But after that it got excecuted. Then again It gave the same error. But it got excecuted twise like that after that it dint get excecuted once also.
Querry: SELECT
[Measures].MEMBERS ON AXIS(0) ,
NON EMPTY [0VENDOR].MEMBERS ON AXIS(1)
FROM [0PUR_C01/0PUR_C01_DB_Q04];
Regards,
H.V.Swathi
Edited by: H.V Swathi on Jun 1, 2009 1:33 PMHI,
Thanks for ur reply.
NO
i am using this part of code to display the result in IFrame.
IConnectionFactory connectionFactory = null;
IBIConnection connection = null;
IBIDataSet dataset = null;
// get the MDX statement entered by the User
String mdxStatement = wdContext.currentContextElement().getMDXQ();
wdComponentAPI.getMessageManager().reportSuccess("mdxStatement "+mdxStatement.toString());
// Declare a stringbuffer to store the HTML Code
StringBuffer l_strXmlFile = new StringBuffer();
wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile "+l_strXmlFile.toString());
try {
// Connect to BW System
Context initctx = new InitialContext();
// Perform JNDI lookup to obtain connection factory
wdComponentAPI.getMessageManager().reportSuccess("l_strXmlFile eeeeee ");
connectionFactory =
(IConnectionFactory) initctx.lookup(
"deployedAdapters/SDK_XMLA/shareable/SDK_XMLA");
// Establish connection using default connection properties
wdComponentAPI.getMessageManager().reportSuccess("connectionFactory "+connectionFactory);
connection =
(IBIConnection) connectionFactory.getConnectionEx(null);
wdComponentAPI.getMessageManager().reportSuccess("connection "+connection);
IBIOlap olap = ((IBIConnection) connection).getOlap();
wdComponentAPI.getMessageManager().reportSuccess("olap "+olap);
// Execute the MDX statement and retrieve the data set
// using the execute method of the IBIOlap interface.
dataset = olap.execute(mdxStatement);
wdComponentAPI.getMessageManager().reportSuccess("dataset "+dataset);
} catch (Exception e) {
e.printStackTrace();
wdComponentAPI.getMessageManager().reportException(
e.getLocalizedMessage(),
true);
} finally {
try {
connection.close();
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
if (dataset == null) {
wdContext.currentContextElement().setResult_Visibility(
WDVisibility.NONE);
} else {
wdContext.currentContextElement().setResult_Visibility(
WDVisibility.VISIBLE);
// Render the data set.
l_strXmlFile
.append("<html>")
.append("<head></head>")
.append("<body>");
// Display the MDX that has been executed.
l_strXmlFile
.append("<p><b>MDX Statement that was executed:</b><br> ")
.append("<span class=\"code\">")
.append(mdxStatement)
.append("</span> </p>");
try {
BIDataSetTableModel table =
new BIDataSetTableModel(dataset, false);
l_strXmlFile.append("<p>Result set:</p>");
l_strXmlFile.append(
"<table width=700 border=1 cellpadding=0 cellspacing=0>");
int row = table.getRowCount();
int col = table.getColumnCount();
for (int i = 0; i < row; i++) {
l_strXmlFile.append("<tr>");
for (int j = 0; j < col; j++) {
BITableItem item = (BITableItem) table.getValueAt(i, j);
l_strXmlFile.append("<td class=\"headCenter\">"); l_strXmlFile.append(Helpers.escape(item.toString()));
l_strXmlFile.append("</td>");
l_strXmlFile.append("</tr>");
l_strXmlFile.append("</table>");
l_strXmlFile.append("</body></html>"); } catch (BISQLException e2) {
// TODO Auto-generated catch block
e2.printStackTrace();
// read the stringbuffer into bytes
byte[] l_byteData = null;
try {
l_byteData = l_strXmlFile.toString().getBytes("UTF-8");
} catch (UnsupportedEncodingException e) {
wdComponentAPI.getMessageManager().reportException(
e.getLocalizedMessage(),
false);
// Create a web resource and set the value of the
// context variable "IFrameData" to it's URL
IWDCachedWebResource l_File =
WDWebResource.getWebResource(
l_byteData,
WDWebResourceType.HTML);
try {
wdContext.currentContextElement().setIFrameData(
l_File.getURL());
} catch (WDURLException e1) {
wdComponentAPI.getMessageManager().reportException(
e1.getLocalizedMessage(),
false);
Reagards,
H.V.Swathi -
My router can connect to the internet but computers that connect to the router can't.
I have a Wrt54g version 3.0 connected to a Speedstream modem. I also have one wired computer connected to my wrt54g and one wireless laptop. Both my computers can connect to the the router's web interface. When I go to the status tab, the router is able to get a public IP address and under the diagnostics tab I'm able to ping and tracert to www.yahoo.com just fine. But the computers that connect to the wrt54g cannot connect to the public internet. It is really strange. The computers get an IP from DHCP and I'm able to ping the internal gateway but I cannot ping a public IP address from the computers. I've got the latest firmware and have tried to restore to factory default without any sucesss? Any suggestions anyone?
Check the Setup - Advanced Routing page. What you see sounds like you run in "Router Mode" or "NAT disabled". Change to "Gateway Mode" or enable NAT.
-
Want to check which data source is used by the composites
HI All,
I have a requirement here in which i want to see that which data source is used by the composites deployed on SOA.
I dont have the code.
Is there any quick way to do it(from console or backend without downloading the code)
ThanksYou can export the jar file from the EM console.
1) Login to EM console
2) Right click on the composite and select Export and With default options click on Export button
Find the data source name from the exported code.
Mark the posting appropriately as "helpful" or "correct answer", if your issue is solved.
Regards
Albin I
[http://albinsblog.com/] -
Target data source does not support the AGO operation
Hi,
In BI Admin Tool, I join Essbase cube and relational source. Then I apply Ago function to Essbase measures. In BI Answer, I try to run query that includes Essbase Ago measures and relational columns(non measures), error message shows the following detail:
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22001] Target data source does not support the AGO operation. (HY000)
When I remove the relational columns or run Essbase current-date messures, the result is fine.
So, what's exact meaning of this error message? and does the relational columns (non-measure) support Essbase measures' Ago function?to clarify:
fail case:
criteria
YEAR | YTD,gen03 | MONTH_NAME | SALES(YEAR_AGO)
cube dimension: year, ytd,gen03
relational source: month_name
cube measure using AGO(): sales(year_ago)
result: error messageSuccess case:
criteria
YEAR | YTD,gen03 | SALES(YEAR_AGO)
cube dimension: year, ytd,gen03
cube measure using AGO(): sales(year_ago)
result: success~! how can i solve it? thx
Maybe you are looking for
-
Occi demo link error on solaris10/gcc2.95
Hi,every one,I have an error when I compile the occi demo as following command line: -bash-3.00$g++ -g -o demo -L../../ -I../include -locci -lclntsh -lthread occidml.cpp ERROR: Undefined first referenced symbol in file __1cG__CrunKpure_error6F_v_ ../
-
Pass parameter from Bean to AM Impl
All, I am invoking the AM Impl custom method from the backing bean like this BindingContainer bc = BindingContext.getCurrent().getCurrentBindingsEntry(); OperationBinding ob = bc.getOperationBinding(methodName);However my method accep
-
How do you quickly look in Old Mail for a particular sender?
I'm using Firefox, with AOL within it as my email default. If I run AOL by itself outside of Firefox, it works fine and allows easy searching for a known sender in Old Mail using the "Quick Find" feature in AOL's Mail Box How can Firefox be setup to
-
Hi experts How to issue Sales order stock to Vendoer For Subcon. Rajendra
-
Mavericks Mail won't auto check
I have Mail preferences set to check Mail every five minutes which it has done correctly forever. Just yesterday, I noticed it is no longer checking mail automatically. I have to check manually in order to retrieve new emails. (I have set and reset t