Prevent Login Dialog Box Popup In EssVConnect

Using VBA code to automate worksheets. Our site updates and switches servers about every 2 hours. Code works great when 'server' is up but when switched and we don't know which one is active, the EssVConnect pops up the Login Dialog box requiring us to switch server names and press OK. This means it is not automated. We want to prevent the box from appearing and get a bad return code instead so we can cycle through all the servers until we find one that is active. Documentation implies it will do this. We have tried setting all messages off (EssVSetGlobalOption(5, 4)) but that does not seem to work for the dialog box. Any suggestions?

I am trying to remember if there are any issues and I think there is.. If I remember correctly, the EsbInit will not do what you want if called from within Excel VBA when the Essbase add-in is loaded because the C API used within the Excel add-in has already initialized the API with the wrong setting. You could try it..
Further, the result of EsbAutoLogin is to get an context handle (hCtx). The problem is, then, that you can't use that context handle to do Excel add-in operations. The opposite situation, where you can get the hCtx from a worksheet connected to Essbase is not only possible but is the recommended way to combine the VB API with the Excel add-in. Look at the GetHctxFromSheet function to see how to use that capability.
The only solution I can think to do what you want to do is to create an ActiveX EXE in VB 6 and have that ActiveX EXE call the EsbInit, etc and validate the server you need to login at a specific time. As it runs in a separate process and loads the Essbase API dlls at your command (EsbInit), you can control everything there. You can then use the CreateObject command in VBA to instance the object and call methods on it; your method will check the login for a specific server can could return the appropriate error message for you so you could validate which server is currently available and then call that server in your EssVConnect call.
Tim Tow
Oracle ACE
Applied OLAP, Inc

Similar Messages

  • Login dialog box pops up

    I am currently using weblogic serve 5.1 sp9 and have a web app that specifies a
    login page, and an error page if you make a mistake.
    The problem I am having is that if you make an error logging in a popup login
    dialog box appears, and you must click cancle to have the error page display.
    I want to know why this dialog appears, and how to stop it.
    Thanks for any help.
    Chris

    Hallo Ray,
    please try this:
    - Create a new and empty workspace
    - Create a new repository localtion including saved login information
    - perform a fresh checkout of your project

  • Problem description: Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom-.

    Problem description:
    Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom….     Help is much appreciated!
    EtreCheck version: 2.0.11 (98)
    Report generated 3. november 2014 kl. 01.23.41 CET
    Hardware Information: ℹ️
      MacBook Pro (13-inch, Mid 2010) (Verified)
      MacBook Pro - model: MacBookPro7,1
      1 2.4 GHz Intel Core 2 Duo CPU: 2-core
      4 GB RAM Upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1067 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1067 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
      NVIDIA GeForce 320M - VRAM: 256 MB
      Color LCD 1280 x 800
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 2:49:19
    Disk Information: ℹ️
      Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Macintosh HD (disk0s2) /  [Startup]: 499.25 GB (260.35 GB free)
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      MATSHITADVD-R   UJ-898 
    USB Information: ℹ️
      Apple Inc. Built-in iSight
      Apple Internal Memory Card Reader
      Apple Inc. BRCM2046 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Computer, Inc. IR Receiver
      Apple Inc. Apple Internal Keyboard / Trackpad
    Configuration files: ℹ️
      /etc/sysctl.conf - Exists
      /etc/hosts - Count: 15
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /Applications/IPVanish.app
      [not loaded] foo.tap (1.0) Support
      [not loaded] foo.tun (1.0) Support
      /Applications/LaCie Desktop Manager.app
      [not loaded] com.LaCie.ScsiType00 (1.2.13 - SDK 10.5) Support
      [not loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
      [not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.5) Support
      [not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
      /Applications/Private Eye.app
      [loaded] com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) Support
      /Library/Application Support/HASP/kexts
      [not loaded] com.aladdin.kext.aksfridge (1.0.2) Support
      /System/Library/Extensions
      [loaded] com.hzsystems.terminus.driver (4) Support
      [not loaded] com.nvidia.CUDA (1.1.0) Support
      [not loaded] com.roxio.BluRaySupport (1.1.6) Support
      [not loaded] com.sony.filesystem.prodisc_fs (2.3.0) Support
      [not loaded] com.sony.protocol.prodisc (2.3.0) Support
      /Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
      [not loaded] com.roxio.TDIXController (2.0) Support
    Startup Items: ℹ️
      CUDA: Path: /System/Library/StartupItems/CUDA
      ProTec6b: Path: /Library/StartupItems/ProTec6b
      Startup items are obsolete and will not work in future versions of OS X
    Launch Agents: ℹ️
      [not loaded] com.adobe.AAM.Updater-1.0.plist Support
      [running] com.adobe.AdobeCreativeCloud.plist Support
      [loaded] com.adobe.CS5ServiceManager.plist Support
      [running] com.digitalrebellion.EditmoteListener.plist Support
      [loaded] com.google.keystone.agent.plist Support
      [loaded] com.intego.backupassistant.agent.plist Support
      [running] com.mcafee.menulet.plist Support
      [invalid?] com.mcafee.reporter.plist Support
      [loaded] com.nvidia.CUDASoftwareUpdate.plist Support
      [loaded] com.oracle.java.Java-Updater.plist Support
      [running] com.orbicule.WitnessUserAgent.plist Support
      [loaded] com.xrite.device.softwareupdate.plist Support
    Launch Daemons: ℹ️
      [loaded] com.adobe.fpsaud.plist Support
      [invalid?] com.adobe.SwitchBoard.plist Support
      [running] com.aladdin.aksusbd.plist Support
      [failed] com.aladdin.hasplmd.plist Support
      [running] com.edb.launchd.postgresql-8.4.plist Support
      [loaded] com.google.keystone.daemon.plist Support
      [running] com.intego.BackupAssistant.daemon.plist Support
      [loaded] com.ipvanish.helper.openvpn.plist Support
      [loaded] com.ipvanish.helper.pppd.plist Support
      [invalid?] com.mcafee.ssm.ScanFactory.plist Support
      [invalid?] com.mcafee.ssm.ScanManager.plist Support
      [running] com.mcafee.virusscan.fmpd.plist Support
      [loaded] com.mvnordic.mvlicensehelper.offline.plist Support
      [loaded] com.oracle.java.Helper-Tool.plist Support
      [loaded] com.oracle.java.JavaUpdateHelper.plist Support
      [running] com.orbicule.witnessd.plist Support
      [loaded] com.radiosilenceapp.nke.PrivateEye.plist Support
      [running] com.xrite.device.xrdd.plist Support
    User Launch Agents: ℹ️
      [loaded] com.adobe.AAM.Updater-1.0.plist Support
      [loaded] com.adobe.ARM.[...].plist Support
      [invalid?] com.digitalrebellion.SoftwareUpdateAutoCheck.plist Support
      [loaded] com.facebook.videochat.[redacted].plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
      [loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
      [running] com.spotify.webhelper.plist Support
    User Login Items: ℹ️
      Skype Program (/Applications/Skype.app)
      GetBackupAgent Program (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
      PhoneViewHelper Program (/Users/[redacted]/Library/Application Support/PhoneView/PhoneViewHelper.app)
      EarthDesk Core UNKNOWN (missing value)
      Dropbox Program (/Applications/Dropbox.app)
      AdobeResourceSynchronizer ProgramHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
      i1ProfilerTray Program (/Applications/i1Profiler/i1ProfilerTray.app)
    Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.0 Support
      Default Browser: Version: 600 - SDK 10.10
      AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
      FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
      AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
      Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
      Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      iPhotoPhotocast: Version: 7.0
      SiteAdvisor: Version: 2.0 - SDK 10.1 Support
      AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
      GarminGPSControl: Version: 3.0.1.0 Release - SDK 10.4 Support
      JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
      Google Earth Web Plug-in: Version: 6.2 Support
      F5 Inspection Host Plugin: Version: 6031.2010.0122.1 Support
      f5 sam inspection host plugin: Version: 7000.2010.0602.1 Support
    Safari Extensions: ℹ️
      Facebook Cleaner
      Better Facebook
      SiteAdvisor
      Incognito
      Bing Highlights
      YouTube5
      AdBlock
      YoutubeWide
    Audio Plug-ins: ℹ️
      DVCPROHDAudio: Version: 1.3.2
    3rd Party Preference Panes: ℹ️
      CUDA Preferences  Support
      EarthDesk  Support
      Editmote  Support
      Flash Player  Support
      FUSE for OS X (OSXFUSE)  Support
      Growl  Support
      Java  Support
      Witness  Support
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          13% taskgated
          12% WindowServer
          1% WitnessUserAgent
          1% sysmond
          1% Activity Monitor
    Top Processes by Memory: ℹ️
      327 MB com.apple.WebKit.WebContent
      137 MB softwareupdated
      94 MB Safari
      82 MB VShieldScanner
      82 MB Dock
    Virtual Memory Information: ℹ️
      65 MB Free RAM
      1.58 GB Active RAM
      1.54 GB Inactive RAM
      647 MB Wired RAM
      2.95 GB Page-ins
      260 MB Page-outs

    You have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.

  • No login dialog box in Chrome

    When I go to www.icloud.com in Chroem, I cannot get a login dialog box to show.  Is there a problem in Chrome settings?

    Sorry if I was unclear.  I am using Chrome on a windows 7 PC.  The iCloud window has worked before.  I can also log in from Internet Explorer, but the login window seems to disappear from Chrome.

  • Outlook 2010 Annoying login dialog box keeps popping up

    I have a client on Exchange 2010. They're using Outlook 2010. ONE employee keeps getting a popup login screen for some reason. I don't know why but it appears to be tied to the HTTP settings 9n the Microsoft Exchange Proxy Settings section. I did not set
    these on the client side but it keeps populating and the authentication is BASIC. This is a desktop computer (does not travel outside the LAN) so I don't need this setup. But when I uncheck the HTTP proxy settings option it keeps coming back.
    Why is this happening and how can I turn this off for this user?
    Note: it does not affect Outlook's ability to access email. He usually just closes the dialog box but it keeps coming back (and this is the business owner, of course...couldn't happen to a low level worker, you know.)

    Hi,
    I have seen this problem on pretty much every SBS2011 deployment I have undertaken (and has only affected 1 or 2 users at each site which I have always thought strange)
    Try this from an exchange shell
    [PS]> Get-OutlookAnywhere | Set-OutlookAnywhere -IISAuthenticationMethod NTLM -ClientAuthenticationMethod NTLM
    Daniel

  • Screen Lock Login Dialog Box Can not type in

    Hi,
    I set up the computer such that the sleep locks the screen - need to type password to log back in. Right now, when I try to log back in, the dialog box does not let me type in the Name or Password boxes, can not click on ok or cancel... its as if the dialog box is all grayed out. I can not regain access. Its the first time it has happened. How can I get my dialog box to accept input? I'd prefer not to perform a simulated power failure...
    Thanks,
    Dave

    David Leip wrote:
    Hi,
    I set up the computer such that the sleep locks the screen - need to type password to log back in. Right now, when I try to log back in, the dialog box does not let me type in the Name or Password boxes, can not click on ok or cancel... its as if the dialog box is all grayed out. I can not regain access. Its the first time it has happened. How can I get my dialog box to accept input? I'd prefer not to perform a simulated power failure...
    if you have fast user switching turned on then wake from sleep dialog has a "switch users" button which will take you to the login window. you can try that if it's there. but if it's not there then there is nothing else you can do but do a hard reboot.
    Thanks,
    Dave

  • How do I prevent the dialog box from popping up every time I click Clear Private Data?

    In v3.6 (and it looks like in v4.0 too), every time one clicks the Clear Private Data Now (using a toolbar button), a dialog box pops up to confirm that I indeed want to clear data and which data. Why?!!!
    Why can this be set like it was in previous versions where a person sets which data they want cleared and be done with it? It's annoying. As such, I've used a v3.0.## since this annoying pop-up began in v3.5 or v3.6 or whenever it was.
    And please don't ask, if I have it clear on close, why I want clear it during a browsing session. Just know that I do. And the fact that you have for a long time had the feature to clear during a session shows that you or someone thought it good to have this feature--not just when the browser closes.
    I'd like to move to the current version, but this is so annoying. I'd move to Chrome, but for a few reasons, I'd prefer to stay with Firefox. For the love of gawd, can you please fix this?

    *Sanitisminau: https://addons.mozilla.org/firefox/addon/5364/

  • Removing Login Dialog box at start

    Hi
    I have Created a Infobus Frame Using Wizard ...I don't want
    LoginDialog to be displayed, instead my application or applet
    should directly connect to the Database with out asking me for
    username and password while connecting it to the database
    I tried doing this by unchecking the checkbox DISPLAY Login
    Dialog at Runtime at the time of creating infobus frame
    through Wizard , but it gives error when I run the appliction
    Is ther any solution for this
    wating for reply at the earliest ......
    regards
    Bhupesh
    null

    Bhupesh,
    In your named connection, make sure that you checked the
    'include
    password in deployment archive'. If that is unchecked, the
    application will not be able to run because there is no password
    supplied at runtime (and no dialog in which to enter it).
    Select the connection you created the app with and right-click to
    get its properties. Click the Edit button, and in the Connection
    Editor dialog, click the 'Include password in deployment archive'
    checkbox (underneath the username/password fields).
    You will need to rebuild and redeploy to pick up the changes.
    Make sure the connection.properties file is included in your
    deployment archive.
    Laura
    Bhupesh (guest) wrote:
    : Hi
    : I have Created a Infobus Frame Using Wizard ...I don't want
    : LoginDialog to be displayed, instead my application or applet
    : should directly connect to the Database with out asking me for
    : username and password while connecting it to the database
    : I tried doing this by unchecking the checkbox DISPLAY Login
    : Dialog at Runtime at the time of creating infobus frame
    : through Wizard , but it gives error when I run the appliction
    : Is ther any solution for this
    : wating for reply at the earliest ......
    : regards
    : Bhupesh
    null

  • Reader X - Save dialog box popup issue

    Hello,
    I found that in Adobe Reader X whenever you goto save a file using just the "Save" (ctrl+S) option it brings up the Windows file system box prompt, which allows the user to see other windows files, folders, etc.. This is a huge issue for us as we do not want our users to be able to save to different locations or change the current filename on accident.
    How can I prevent this Save dialog from showing?  It is the dialog I would expect to get from choosing a "save as" option, not just your standard "save" option. Also, we are opening PDF files from our own software developed in C#. So if there are any open parameters I can pass to disable this save dialog that would be helpful as well.
    Please advise or provide insight.
    Thanks!
    Seth

    Seth -
    This is the expected behavior for Reader X, it's somewhat unexpected, so let me explain the rationale behind it:
    With Reader X, Adobe introduced the concept of sandbox - this mechanism severly curtails the rights provided to the Reader process to prevent exploits from running. In your case, Reader process cannot write to user's disk without users' explicit approval. The Save as dialog that you see is seeking that approval. Certain folders such as the TEMP folder are white listed, you should see if you can incorporate those into your workflows.
    You can find details here:
    http://blogs.adobe.com/asset/2010/10/inside-adobe-reader-protected-mode-part-1-design.html
    http://blogs.adobe.com/asset/2010/11/inside-adobe-reader-protected-mode-part-3-broker-proc ess-policies-and-inter-process-communication.html
    -abhigyan

  • How to Handle a Login pop up dialog box through VBScript?

    Login Dialog box is getting Popped up from the web page for logging into website. In order to automate this how could i login using VBScript??

    http://serverfault.com/questions/371907/can-you-pass-user-pass-for-http-basic-authentication-in-url-parameters
    ¯\_(ツ)_/¯

  • Save Dialog Box not Opening

     I have  SQL 2012 running on a Windows server 2012.   I just loaded the Visual Studio Business Intelligence Studo 2012 that I downloaded from Microsoft.  My problem is that when I click "Save Copy of package.dtsx
    As..." , instead of getting the "Save Copy of Package dialog box"  , I get the regular generic windows Save Copy of box for saving to a directory file.  
    Is there some sort of configuration I need to do to have  Save Copy of Package dialog box popup?

    Hi jd51057,
    When we click “Save Copy of <package file> As” on the File menu in Project Deployment Model, we can only save the package on the disk.
    Please note that the procedures in the
    article is about Package Deployment Model. So if we want to open the Save Copy of Package dialog box, we should change the Model first, then refer the steps in the article.
    To convert the Model from Project Deployment Model to Package Deployment Model, please right-click the project to select “Convert to Package Deployment Model” option in the Solution Explorer. If a package uses features unique to the project deployment model,
    such as parameters, then the package cannot be converted. So please avoid use features unique to the project deployment model.
    The following screenshot is for your reference:
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • NAC Agent Login Dialog Not Appearing - ISE 1.1.1 issue ?

    Agent Fails to Initiate Posture Assessment
    The NAC agent is properly installed on a Windoes 7 , IE 9 machine, the certificates from ISE ADM PRI are installed in trustable certificate store in the client machine but is a selfsigned ISE certificate.
    The reports / USER / Profiling report says the Provisioning Agent has completed the assessment ok.
    The redirected URL is working fine (SEE Evidence)
    We are always prompted to install the NAC agent again or looking at the additional prompted information wait for the NAC agent to load and complete.
    The operations status remains with postering status pending forever and nothing else happens.
    Symptoms or Issue
    The agent login dialog box does not appear to the user following client provisioning.
    Conditions Cisco Says this issue can generally take place during the posture assessment phase of any user
    authentication session.
    Cisco Advises as Possible Causes There are multiple possible causes for this type of issue. See the following
    Resolution descriptions for details of what was already tested by us and please see the atached files for your switch configuration and evidences. .
    CISCO SUGGESTED POSSIBLE CAUSES AND RESOLUTIONS
    Resolution • Ensure that the agent is running on the client machine. ALL TESTED OK
    • Ensure that the Cisco IOS release on the switch is equal to or more recent than
    Cisco IOS Release 12.2.(53)SE. - OK
    • Ensure that the discovery host address on the Cisco NAC agent or Mac OS X
    agent is pointing to the Cisco ISE FQDN. (Right-click on the NAC agent icon,
    choose Properties, and check the discovery host.) - OK (See evidence)
    • Ensure that the access switch allows Swiss communication between Cisco ISE
    and the end client machine. Limited access ACL applied for the session should
    allow Swiss ports: ALL CONFIGURED as CISCO GUIDELINES OK (SEE EVIDENCE)
    • If the agent login dialog still does not appear, it could be a certificate issue.
    Ensure that the certificate that is used for Swiss communication on the end client
    is in the Cisco ISE certificate trusted list. (ALL CHECKED OK SEE EVIDENCE)
    • Ensure that the default gateway is reachable from the client machine. (TESTED OK)

    Hi.
    Can you paste all the ACLs on your switch especially the webauth redirect ACL which should deny traffic towards the PSN.
    regards
    Zubair

  • Connect button in excel does not respond with server connection dialog box

    Hi all,
    I have installed Essbase 11.1.1 spreadsheet client and when I try to connect to the server from the excel add in using Essbase->Connect option, the "Essbase System Login" dialog box does not pop up. Also no error messages are displayed.
    OS is Windows XP and windows 2000 and excel version is 2000 and 2003
    I tried out with various options in essbase and in excel but nothing worked.
    Can anyone help me in this regard.
    Thanks,
    Raja

    Hi all,
    I have installed Essbase 11.1.1 spreadsheet client and when I try to connect to the server from the excel add in using Essbase->Connect option, the "Essbase System Login" dialog box does not pop up. Also no error messages are displayed.
    OS is Windows XP and windows 2000 and excel version is 2000 and 2003
    I tried out with various options in essbase and in excel but nothing worked.
    Can anyone help me in this regard.
    Thanks,
    Raja

  • Printing directly to printer without Print setup dialog box

    I am using Crystal Reports 2008 with VB.NET 2008. Using the CrystalReportViewer control, how can I print directly to the printer without having the Print setup dialog box popup every time?

    Only way would be to create your own print button and use the report engine APIs. A good sample app is vbnet_win_printtoprinter in this sample download:
    https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
    The developer help is a good place to have a look also;
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    https://boc.sdn.sap.com/developer/library
    Additional resources:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2081b4d9-6864-2b10-f49d-918baefc7a23
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208edbbf-671e-2b10-d7b5-9b57a832e427
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/702ab443-6a64-2b10-3683-88eb1c3744bc
    Ludek

  • Printing checkbox multiple time on dialog box of module pool.

    hey guys,
    i want to put checkboxes on my dialog box (popup) With each entry in my ITAB. So i will be dynamic.
    Example;- i have 5 names of mentor in my ITAB-NAMES. now i want to put their names on popup screen with a CHECKBOX so that i can select multiple and store the selected names of mentor in another table.
    i have created the Popup but not able to create dynamic checkboxes.
    thanks in advance.

    Hi.,
    Check this links: http://wiki.sdn.sap.com/wiki/display/ABAP/OBJECTORIENTEDALV+Guide
    Example of an OO ALV that reflects changes from an editable column...
    which helps for your purpose.,
    also http://wiki.sdn.sap.com/wiki/display/profile/2007/07/23/OOPSALVin+ABAP
    For further info., search in SND or google., you will get so many links.,
    hope this helps u.,
    Thanks & Regards,
    Kiran

Maybe you are looking for