Error while disabling passive mode while connecting

Hi,
I am trying to connect to FTP server, however when I DO NOT
check the "Disable passive mode" check box, I am able to connect,
but then I am not able to view the files that are directly in the
directory. for .eg. if within "MyDir" directory there are "MyDir1",
"MyDir2" directories and "MyFile1" and "MyFile2" files, then I will
not see "MyFile1" and "MyFile2". However when I try to connect by
checkinig the option of "Disable passive mode" then I get the error
"Access violation at address 004ED037 in module 'homesite45.exe'.
Read of address 00000014."
I am not able to resolve this issue. Pls give some inputs if
nebody knows abt it.

Hi,
I am trying to connect to FTP server, however when I DO NOT
check the "Disable passive mode" check box, I am able to connect,
but then I am not able to view the files that are directly in the
directory. for .eg. if within "MyDir" directory there are "MyDir1",
"MyDir2" directories and "MyFile1" and "MyFile2" files, then I will
not see "MyFile1" and "MyFile2". However when I try to connect by
checkinig the option of "Disable passive mode" then I get the error
"Access violation at address 004ED037 in module 'homesite45.exe'.
Read of address 00000014."
I am not able to resolve this issue. Pls give some inputs if
nebody knows abt it.

Similar Messages

  • The remote server returned an error: 227 Entering Passive Mode (201,199,193,165,154,52).

    Hi I have a problem 
    The remote server returned an error: 227 Entering Passive Mode (201,199,193,165,154,52).
    I dont knoe how to solve it 

    Hi,
    Please see the following links and try the methods to check if they are helpful:
    http://geekswithblogs.net/hmloo/archive/2012/10/16/the-remote-server-returned-an-error-227-entering-passive-mode.aspx
    http://social.msdn.microsoft.com/Forums/en-US/0128e595-c8e2-4f5e-9426-fd93eb510cab/the-remote-server-returned-an-error-227-entering-passive-mode-67228534212130?forum=netfxnetcom
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Then, it is not a Microsoft Office issue, you'd better post your question to MSDN forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=netfxnetcom
    Regards,
    George Zhao
    TechNet Community Support

  • Disabling Sleep mode while on dock

    Hi there, I got my iphone about 3 weeks ago and I'm loving it.. I've already replaced my clock radio with it thanks to it's awesome multiple alarm times and schedules I can set for different days.
    The query I have is a bit of a weird one. When I place my phone in it's dock next to the bed the charging icon comes up and the clock is displayed above that. All well and good.
    However, as you would expect, the screen goes to sleep after 30sec. What I'm wondering (and I can't seem to see a way) is there a way to disable the screen sleep when the phone is on it's dock and charging. I would love to just use my phone as a clock next to the bed when I'm at home so I can easily glance at it and tell when time it is (say if I wake up in the middle of the night) rather than having to fumble around for it and unlock it.
    Does anyone know a way to do this? Or is this just "not a feature (tm)"

    Go for it, I would probably get it. But Auto-lock would still have to be set for never, or the screen would sleep anyway. You could also just open up the Clock app (with Auto-Lock set to never) for a somewhat larger clock display. Unfortunately, you can't set it for "docked."
    Yes you would have to turn this on/off depending if it was in the dock if you were concerned about not locking it before you set it down or put it away. I always have Auto-lock set to never because I always press the sleep button when I put it away.
    Message was edited by: eaglesflight1258

  • IPS reactions in passive mode

    Hi
    we are planning to deploy cisco IPS 4200 series on our network. We have a redundant network so what I need is an a device that would react to threats(via acl, shun, resets) while in passive mode ( using span or taps). couple of questions
    1- Is this device capable of preventing threats whilein passive mode.
    2- What is the diffrence between cisco IDS and IPS series ?
    Thanks

    Hi!
    The Cisco 4200 IDS series work as IPS also when used with version 5.0. This means that you can use an IDS/IPS device as a tap in a line to "prevent" attacks by not passing attacking packets. Of course this is a mode of operation, and if you just want to use the device as IDS you can. As IDS you will "monitor" VLANs o ports usually, from a span port. The IDS will alarm and send resets (if configured for) to prevent attacks. You can also configure the IDS to put ACL on border routers or PIX to stop the offending traffic (this may require some tedious and carefull config).
    Consider deploying Cisco ASA5500 appliances also. They are IDS/IPS, FW, VPN, and much more.
    http://www.cisco.com/go/asa
    Mario S.
    CCIE #14047

  • Disconnected my iphone after software upgrade but while photos and my movies were still downloading. Now I get an error message that iTunes can't connect to the phone. How do I solve this?

    Disconnected my iphone after software upgrade but while photos and my movies were still downloading. Now I get an error message that iTunes can't connect to the phone. How do I solve this? I am using a PC and have version 4.3.4 on my iphone 4.

    In order to use ''nxm://'' links, Nexus Mod Manager must be installed and associated with the ''nxm'' protocol.
    * http://www.nexusmods.com/skyrim/mods/modmanager/
    In case of problems with this third-party program, please refer to its support forum:
    * http://forums.nexusmods.com/index.php?/forum/1413-nmm-code-development-chat

  • TS3694 My IOS is 4.3.5 and i have jail broken the iPhone and now i want to remove the jail brake and update my IOS to 6.1.2 and i cannot upgrade the software or restore the software, i keep getting the 3194 error and i even tried to while in DFU mode, sam

    i have tried to upgrade the software and i get the 3194 error message, i have tried restoring and i got the same error and i also tried while in DFU mode and still got the same 3194 error message.
    I really want to remove the teathered jail break and upgrade the software so if anyone knows how to get that done please let me know i would really appreciate it.
    Thanks in advance

    http://support.apple.com/kb/ts3694#error3194
    Error 1004, 1013, 1638, 3014, 3194: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Install the latest version of iTunes.
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. FollowiTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to a default hosts file. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • TS3694 Hi my iphone 5 is bricked in recovery mode while updating from ios 7 to 7.0.4 and every time when i try to restore Unknoown error 12 pops up.iphone was not jailbroken. please help

    Hi my iphone 5 is bricked in recovery mode while updating from ios 7 to 7.0.4 and every time when i try to restore 'Unknoown error 12' pops up each time.iphone was not jailbroken. please help

    From the article that your statement was posted from:
    Check for hardware issues
    Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the alert when you update or restore, contact Apple support.
    Common errors: 1, 10-47, 1002, 1011, 1012, 1014, 1000-1020.

  • Seeking to fix this error: "Failed while adding virtual Ethernet switch connections."

    I am getting the error below when trying ot make modifications to my Hyper-V.
    I am trying to add a new Virtual Adaptor.
    Hoping someone may have a suggestion on how to fix this.
    Error:
    New-VMSwitch : Failed while adding virtual Ethernet switch connections.
    Failed to connect Ethernet switch port (switch name = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', port name =
    'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX', adapter GUID = '{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}'): The system cannot
    find the file specified. (0x80070002).
    The operation failed because the file was not found.
    At line:1 char:1
    + New-VMSwitch -Name "LAN1" -NetAdapterName "Ethernet" -AllowManagementOS $True
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [New-VMSwitch], Virtualizati
       onOperationFailedException
        + FullyQualifiedErrorId : ObjectNotFound,Microsoft.HyperV.PowerShell.Commands.NewVMSwitchCommand

    Alex just a quick response to your advice re disabling AV, this did not work for me, after more searching the internet for a solution I found a post from 2013 where one poster offered the advice to go one step further, and it was to remove the AV package
    completely, the package in question was KIS2013. I have KIS2015 and figured I would try it as I was getting a little frustrated with the constant failure to create a virtual switch.
    Anyway, it worked for me, I removed KIS, rebooted, and the VS was created on the first attempt without any issue. So simply pausing/disabling the AV from within the AV program may not be enough, I suspect that some may work and others not, as in the case
    of KIS. I wonder also if you disable the AV services at start-up if this would also work but I did not try it.
    Anyway to other people experiencing this issue, I suggest disabling AV first as per Alex's advice, and if this does not work for you then suggest trying to remove the AV before doing anything more drastic like re-installation of OS as I have seen suggested
    in more than one place.
    Thanks
    Mr Bee
    --EDIT--
    Just wanted to add, it is also worth 'excluding' any Hyper-V folders from the AV engine, I did not try this before removing KIS2015 so it may work without the need to remove your AV product, but on re-install I have now exluded the folders as suggest by
    a few folks in various posts...

  • Error while enabling maintenance mode

    Hi,
    while enabling maintenance mode, the following error arises
    sqlplus -s &un_apps/***** @/d01/oracle/visappl/ad/11.5.0/patch/115/sql/adsetmmd.sql ENABLE
    An error occured while running adsetmmd.sql.
    Continue as if it were successfull [No] :
    charan

    [oracle@oraapps VIS_oraapps]$ sqlplus system/manager @$ORACLE_HOME/rdbms/admin/utlrp.sql
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:15:06 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    PL/SQL procedure successfully completed.
    Table created.
    Table created.
    Table created.
    Index created.
    Table created.
    Table created.
    SELECT o.obj#, o.type#, o.owner# FROM obj$ o
    ERROR at line 2:
    ORA-00942: table or view does not exist
    SELECT o.obj#, o.type#, u.name AS owner FROM utl_recomp_all_inv o, user$ u
    ERROR at line 2:
    ORA-00942: table or view does not exist
    Package created.
    No errors.
    Warning: Package Body created with compilation errors.
    Errors for PACKAGE BODY UTL_RECOMP:
    LINE/COL ERROR
    60/10 PL/SQL: SQL Statement ignored
    61/29 PL/SQL: ORA-00942: table or view does not exist
    64/10 PL/SQL: SQL Statement ignored
    64/17 PL/SQL: ORA-00942: table or view does not exist
    104/7 PL/SQL: SQL Statement ignored
    104/14 PL/SQL: ORA-00942: table or view does not exist
    183/13 PL/SQL: SQL Statement ignored
    184/35 PL/SQL: ORA-00942: table or view does not exist
    188/13 PL/SQL: SQL Statement ignored
    189/35 PL/SQL: ORA-00942: table or view does not exist
    196/13 PL/SQL: SQL Statement ignored
    LINE/COL ERROR
    197/35 PL/SQL: ORA-00942: table or view does not exist
    202/13 PL/SQL: SQL Statement ignored
    203/35 PL/SQL: ORA-00942: table or view does not exist
    267/10 PL/SQL: SQL Statement ignored
    268/42 PL/SQL: ORA-00942: table or view does not exist
    361/10 PL/SQL: SQL Statement ignored
    420/15 PL/SQL: ORA-00942: table or view does not exist
    538/11 PL/SQL: SQL Statement ignored
    539/19 PL/SQL: ORA-00942: table or view does not exist
    BEGIN utl_recomp.recomp_serial(); END;
    ERROR at line 1:
    ORA-04068: existing state of packages has been discarded
    ORA-04063: package body "SYSTEM.UTL_RECOMP" has errors
    ORA-06508: PL/SQL: could not find program unit being called
    ORA-06512: at line 1
    DECLARE
    ERROR at line 1:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBMS_REGISTRY_SYS.VALIDATE_COMPONENTS' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    ORA-06512: at line 8
    =======================================
    [oracle@oraapps VIS_oraapps]$ sqlplus system/manager
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:17:49 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFCORLGS.pls
    DOC> | Copyright (c) 2005 Oracle USA, Inc., Redwood Shores, California, USA |
    DOC> | All rights reserved. |
    DOC> +=======================================================================+
    DOC> | FILENAME
    DOC> | AFCORLGS.pls
    DOC> |
    DOC> | DESCRIPTION
    DOC> | PL/SQL specification for package: FND_CORE_LOG
    DOC> |
    DOC> | Core Logging Diagnostic Tool
    DOC> |
    DOC> |
    DOC> | HISTORY
    DOC> | 03/22/2005 PDELUNA Created
    DOC> |
    DOC> *=======================================================================*/
    Package created.
    Commit complete.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    [oracle@oraapps VIS_oraapps]$ sqlplus system/manager
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:19:49 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFCORLGB.pls
    DOC> | Copyright (c) 2005 Oracle USA, Inc., Redwood Shores, California, USA |
    DOC> | All rights reserved. |
    DOC> +=======================================================================+
    DOC> | FILENAME
    DOC> | AFCORLGB.pls
    DOC> |
    DOC> | DESCRIPTION
    DOC> | PL/SQL body for package: FND_CORE_LOG
    DOC> |
    DOC> | Core Logging Diagnostic Tool
    DOC> |
    DOC> |
    DOC> | HISTORY
    DOC> | 03/22/2005 PDELUNA Created
    DOC> |
    DOC> *=======================================================================*/
    Warning: Package Body created with compilation errors.
    Commit complete.
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    [oracle@oraapps VIS_oraapps]$ sqlplus system/manager
    SQL*Plus: Release 8.0.6.0.0 - Production on Wed Mar 19 08:20:21 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    SQL> @/d01/oracle/visappl/fnd/11.5.0/patch/115/sql/AFPFPROB.pls
    DOC> | Copyright (c) 1993 Oracle Corporation Redwood Shores, California, USA |
    DOC> | All rights reserved. |
    DOC> +===========================================================================+
    DOC> | FILENAME
    DOC> | AFPFPROB.pls
    DOC> |
    DOC> | DESCRIPTION
    DOC> | PL/SQL body for package: FND_PROFILE
    DOC> |
    DOC> | Maintains the server side cache of profile options.
    DOC> |
    DOC> | NOTES
    DOC> | This module is called by AutoInstall (afprof.drv) on install and
    DOC> | upgrade. The WHENEVER SQLERROR and EXIT (at bottom) are required.
    DOC> |
    DOC> | HISTORY
    DOC> | 3/23/93 T Morrow Created
    DOC> | 5/27/93 G Buzsaki Updated to 10.X spec
    DOC> | 8/25/93 G Buzsaki Added GET_ANY procedure
    DOC> | 2/17/94 S Stratton Added security profiles to initialize
    DOC> | 4/30/96 T Morrow Added SAVE and SAVE_USER procedures.
    DOC> | 03/20/99 S Sung Replaced != with <>
    DOC> | 09/18/00 R Tse Added GET_TABLE_VALUE and
    DOC> | GET_ALL_TABLE_VALUES functions.
    DOC> | 01/03/01 J Cordes Rewrote get_specific() to minimize
    DOC> | logical reads. (Bug 1563556)
    DOC> | 05/08/01 G Khoury Rewrote find, put, get, get_all_table_values
    DOC> | to implement hash_table for caching of
    DOC> | fnd_profile_option_values. (Bug 1663264)
    DOC> | 11/13/01 R Tse Implemented multiple caches for storing
    DOC> | profile values at the 4 different levels.
    DOC> *===========================================================================*/
    Warning: Package Body created with compilation errors.
    Commit complete.
    Input truncated to 6 characters
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    [oracle@oraapps VIS_oraapps]$

  • Error: 1013231 Unable to update database while in readonly mode for backup

    Hi all,
    Wen im deleting the members for dimendsion , its giving error (hyperion 11.1 aso)
    Error: 1013231 Unable to update database while in readonly mode for backup , how can i solve this problem ,plz can any one help on this
    Thanks

    Has somebody set the database ready for archiving, maybe some maxl has been run and the db has not been returned from read only mode.
    Try running the following Maxl (change app.db to match your app/db)
    alter database app.db end archive;
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • 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

  • When i got my new iphone 4, its in recovery mode. while restroing with itunes, im getting error at restoring firmware stage? what could be the reason? pls help me for solution.

    when i got my new iphone 4, its in recovery mode. while restroing with itunes, im getting error at restoring firmware stage? what could be the reason? pls help me for solution.

    You got a new iPhone 4, and out of the box the phone is in recovery mode? If that's the case, return it.
    If you don't want to do that. what error code are you getting?

  • Dear Friends, My Iphone 4s is stuck in recovery mode while trying to update to iso 6. I tried restoring it but unable to do so. gives me error 36 and goes back to recovery mode. I tried all the steps but no luck. anyone? Please Help!!!

    Dear Friends, My Iphone 4s is stuck in recovery mode while trying to update to iso 6. I tried restoring it but unable to do so. gives me error 36 and goes back to recovery mode. I tried all the steps but no luck. anyone? Please Help!!

    This writeup comes from the article referenced below it:
    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    http://support.apple.com/kb/TS3694#error1

  • Getting socket error while trying to get oracle connection using JDBC

    hi,
    I am getting following socket read error while trying to get database connection using JDBC. This happening with jdk1.5.0_12 version with Oracle 9i
    following is the stacktrace...
    Thread t@92: (state = IN_NATIVE)
    - java.net.SocketInputStream.socketRead0(java.io.FileDescriptor, byte[], int, int, int) @bci=0 (Compiled frame; information may be imprecise)
    - java.net.SocketInputStream.read(byte[], int, int) @bci=84, line=129 (Compiled frame)
    - oracle.net.ns.Packet.receive() @bci=31 (Compiled frame)
    - oracle.net.ns.DataPacket.receive() @bci=1 (Interpreted frame)
    - oracle.net.ns.NetInputStream.getNextPacket() @bci=48 (Compiled frame)
    - oracle.jdbc.driver.T4CMAREngine.unmarshalSB1() @bci=1, line=1070 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.doOall8(boolean, boolean, boolean, boolean) @bci=617, line=207 (Compiled frame)
    - oracle.jdbc.driver.T4CStatement.executeForDescribe() @bci=39, line=790 (Compiled frame)
    - oracle.jdbc.driver.OracleStatement.executeMaybeDescribe() @bci=106, line=1039 (Interpreted frame)
    - oracle.jdbc.driver.T4CStatement.executeMaybeDescribe() @bci=11, line=830 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout() @bci=128, line=1132 (Interpreted frame)
    - oracle.jdbc.driver.OracleStatement.executeQuery(java.lang.String) @bci=76, line=1272 (Interpreted frame)
    any help would appreciated. thanks in advance

    I do not have exact exception message.
    additionally, i have got following the tomcat log file:
    INFO - Resource pool cleanup thread just woke up.
    Nov 1, 2008 3:41:52 AM org.apache.tomcat.util.threads.ThreadPool logFull
    SEVERE: All threads (100) are currently busy, waiting. Increase maxThreads (100) or check the servlet status
    INFO - Resource pool cleanup thread just woke up.
    thanks in advance

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

    HI,
    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

Maybe you are looking for

  • Scheduled Delivery Bulletin Board

    This post informs customers as to the current status of Scheduled Delivery Print Apps and links to available resources Scheduled Delivery Status- As of last edited date Today On Time All Print Apps are on schedule. Yesterday On Time All Print Apps

  • How to recover Equium A100-147 without Toshiba specific software

    Hi I've just formatted my laptop to get rip of all the dross but want to start with a Windows XP without the Toshiba fancy network stuf (configfree etc). The techies at work are always moaning that they aren't familiar with it and I can never follow

  • IMPORT_PROPER

    Hi, Experts          When am applying the support pack SAPK-60003INAFS, it get stucked in the queue in IMPORT_PROPER phse, can u plz help me, what i have to do ... it's very urgent... The import was stopped, since an error occurred during the phase  

  • Import 16x9 from 4x3 camera MiniDV

    I have footage shot in 16x9 on a Canon camera. I want to import with an older Sony camera that is 4x3. Will this work? Reason: Canon firewire port stopped working and causes any Mac it's connected to to freeze/crash.

  • Change my Name / Email / Billing

    Another employee signed up for Creative Cloud, but since her operating system wasn't up to date, they put it on my laptop which I've been using for over a year . I want to update the credit card billing info AND change from her Name (contact info, em