App throws error when loading in browser for the first time

I have designed an app for outlook which I am testing in the web version of office. When I first click on the app it says there is a problem loading the app and I have to press reload. The app is a asp.net app but the most of the code is an angular SPA. Is there a way of stopping this error.
Chris

Hi,
The platform requires that Office.js is invoked within 5 seconds of us navigating to the page of where your app is. Can you make sure that you are adding the Office.js script at the very top of the page?

Similar Messages

  • Event gets lost when iView is uncompressed for the first time

    Hi All,
    we are developing an application that manages attachments (meaning: files stored in KM) and per request by the client consists of several iViews. One of them contains a search interface, another one lists the hits that have been found. So the iViews have to communicate.
    We achieved the funcionality by using portal eventing and the HTTP session. The search iView compiles the search string and writes it to the session.
    request.getComponentSession().getHttpSession().setAttribute(searchString, .....);
    We then use javascript to fire an event on which the searchResult iView reacts and fetches the searchString from the session. The actual search is then performed within the searchResult-iView.
    The only problem is that the client requested that the searchResult iView should initially be collapsed. So we set its "initial display" property to "collapsed" and implemented some javascript functionality in the search iView that expands the searchResult iView when a search is performed:
    function openIview( iviewID ) {               
      var temp = parent.pageSupport._getIvuPageId(iviewID);
      var ivuBankObj = parent.pageSupport._getIViewBank(temp);
      if (ivuBankObj.getToogle() == 0) {
        var trayid = ivuBankObj.getTrayId();
        var event = document.createEventObject();
        event.type = "click";
        if(parent.htmlb_TrcToggle(trayid,'0',event)) parent.pageSupport.ivuToogle(iviewID);
    We then fire an event:
    EPCM.raiseEvent('...', 'SearchEvent', param, '');
    All works fine, except for the very first time the searchRersult iView is expanded after the application (meaning the page containing the iViews) has been opened. The searchResult iView is properly expanded, but the event seems to get lost so that no search is being performed (no error, but no reaction by the iView).
    We observed that it seems as if the contents of the iView are only fetched by the browser when it's expanded for the first time. (The progress bar of the browser shows loading activity when expanding the iView for the first time). Supposedly the event gets lost because the serachResult iView doesn't fetch it since it's just being loaded.
    After this initial erroneous behavior, the iView can be in compressed or expanded state before a search is being performed and everything works fine.
    Interestingly enough the problem can be resolved by setting a timeout of several seconds after expanding the iView and before firing the search event. But we find this to be a very questionable (and inconvenient) method of solving this problem and would rather like to solve it properly.
    Does anyone have any ideas how we could achieve this? Is there a way to determine whether an iView has been loaded by the browser (because obviously displaying and loading an iView seem to be two different things)?
    Thanks in advance,
    Jens

    We introduced a boolean "isInitial" flag to the bean which we use to determine whether the iView is expanded for the first time or not. If so, there is a timeout of 2 seconds before the event is fired.
    Not really satisfactory, but working.
    Jens

  • Error message on iphone 3GS when initiating back-up for the first time "icloud backup failed - how to fix

    When initiating back-up of my 3GS to icloud for the first time, I repeatedly receive an error message reading:
    "iCloud backup failed
    There was a problem enabling iCloud backup"
    I cannot find a solution to this problem amd no amount of checking and rechecking account settings etc. has made any difference. Does anyone have experience of how to overcome this issue. The iCloud back-up initiated on my iPad without any problem so I do not think the problem is account related.
    Thanks.

    Same problem here...
    I just upgraded my 3GS to iOS5 and signed into iCloud using my Apple ID...
    Every time I click "Back Up Now" in the iCloud preferences on the iPhone, I get "There was a problem completing the backup.  Please try again later."
    On my wife's iPhone 4, I just performed a back up and there were no errors.  I tried this also on my wife's iPad 2 and it worked perfectly.
    I have tried the following:
    1. In iTunes, when my phone is connected, I selected "Back up to iCloud" on the summary tab
    2. Reset my phone using the steps in the above post
    3. Deleted the iCloud account on my iPhone and logged in again
    4. Tried to backup from 3 different wireless networks
    None of the steps above fixed the issue which has been going on all day for me...
    Any other help would be great - thanks!

  • Only a "zombie" process appears when Firefox is launched for the first time.

    When I launch Firefox, only Firefox process appears in the Task Manager. Firefox window does not appear at all. When I launch Firefox for the second time, Firefox window appears normally and there are two Firefox processes in the Task Manager.
    While writing this story, I have two Firefox processes in the Task Manager:
    firefox.exe *32 Jussi 01 102 540K Firefox <= the second process
    firefox.exe *32 Jussi 01 1432K Firefox <= the first process
    Why doesn't Firefox start at the first attempt?
    The procedure repeats every time I try to launch Firefox.

    A possible cause is security software (firewall,anti-virus) that blocks or restricts Firefox or the plugin-container process without informing you, possibly after detecting changes (update) to the Firefox program.
    Remove all rules for Firefox and the plugin-container from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox and the plugin-container process and the updater process.
    See:
    *https://support.mozilla.org/kb/Server+not+found
    *https://support.mozilla.org/kb/Firewalls

  • Misspelled email address when login to iPhone for the first time

    Hello everyone,
    I have quite a big issue with my iPhone (I have iPhone 5c).
    When I was creating my apple id for iPhone for the first time (after I purchased it)  I added an unexisting email address by accident (I never had or used that email as a domain I misspelled does not even exist...).
    Now I cannot access my phone at all (I needed to change a SIM card) and when I turned my phone back on, it showed that my phone was assigned for a particular apple id that is impossible to use - as an email (which is also an apple id in that case) and its domain,do not exist ...(it was even impossible to verify password after I accessed iPhone for the first time).
    I did not realized I cannot switch it to the other id to unlock my phone...as to change main apple id I would have to do it through the old one and this is - as I stated above - not possible at all ...
    using iCloud is also impossible for an above reason (cannot log in as I couldn't verify my password for main apple id).
    I have an additional apple id I use for an AppStore (that's how I managed to log in here)
    Does anyone have any idea/advise what are my options now?
    I am unable to use my phone at all because of that
    Thanks in advance!

    If you turned on Find My iPhone turn it off, then Settings > General > Reset > Erase All Contents & Settings.

  • When I open FF4 for the first time after starting the computer it is very slow to load. From then on it loads normaly.

    I have an HP Pavilion DV9000.

    I had this problem too. Not just with FF 4 but also previous versions. For that and other reasons I decided to by an SSD and install windows and all the programs on there. That worked fine except for firefox. Boot time is much faster (2o secs) and programs (from the startup folder) are loaded almost immediately after the desktop comes up. However firefox still took 90 seconds to load. After some trial and error I disables in the registry prefetcher and superprefetch (I am running windows 7, no SP1). Then I restarted my computer twice. The first time firefox did not load any faster but at any subsequent startup firefox starts in a few seconds. In fact some times it is so fast it comes up before the wireless network connection is established. HTH
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/MemoryManagement/PrefetchParamaters/EnablePrefetcher --> 0
    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/SessionManager/MemoryManagement/PrefetchParamaters/EnableSuperFetch --> 0

  • What change to the firewall Java is trying to make when it is launched for the first time?

    We are upgrading our jpi from 7u60 to 7u67.  We are running EBS 12.1.  We are having issues trying to deploy this to the organization with zero prompts and messages.  We are getting a firewall prompt from the plugin the first time we launch EBS.  What change to the firewall is java trying to make when we launch the plugin from EBS the first time?  I have attached screen shots of the messages we are seeing.  The first screen shot is on Windows 7x86 and the second is on Windows 7x64.  The x86 is prompting for jp2launcher.exe
    while the x64 is prompting to allow java.exe.  This is the same software package for both instances and we are using the IE 32-bit browser.

    You haven't downgraded the iOS or lost any features, what you've done is restored your phone from an old iOS backup.

  • Bug when trying to commit for the first time

    I have a bug that I tried to solve but can't find any solution till now.
    I have a table that contains many rows and from this table I can press edit or add to open a new page that I can edit or add a new record for this view
    the page that contains the table has execute with parameter as I open this table from another page
    the problem is that the first time I go to this page ('that contains the table')
    and I try to edit or add a new record and press save the form save correctly but clear itselt and fields appear as read only fields "the for doesn't save its state"
    but if I press roll back for example and go to form the contains the table and come back to add or edit a record the page works correctly with no problem.
    how can I fix this.

    No there is nothing in this page
    but the page I call this page from (parent Page) have execute with param on the page binding.
    I added commit to the parent page and added call to this commit on Prepare Modle .
    and this fixed my issue but I don't know till now why this issue appeared to me .
    any one knows why this happened.

  • My parents ended up with my contacts on their Iphone when updating their Iphone for the first time, help?!

    Ok, my family uses one Apple Account and we share music and stuff but when me and my sibling got Iphones like my parents, it got confusing. I was the first to sync my Iphone 4s into the computer and the Apple ID is put under my name. All of my Apps, contacts etc are on the account. But my parents decided to update their phone. Theirs is an Iphone 4s, like mine but they haven't updated it to IOS 7 since they got it so they plugged their phone into the computer syncing my information while deleting THEIR information. I think the computer thought it was MY phone and kicked out my parents information in the process. I don't know what to do, they have my contacts, pictures, apps, games, email accounts and TEXT MESSAGES. We have different phone numbers but how is that possible? I don't get it. Anyway, it would be nice to solve this problem because my sibling wants to update his own phone. If you guys have the answer, just post it up on here That would help alot!! Thank you!
    <Email Edited by Host>

    Go to Settings>General>Passcode Lock>tap Turn Passcode Lock Off, enter your "pin".
    Edit:  Are you saying you are getting a prompt for your email pin, or are you talking about the passcode lock that appears when you turn the phone on?

  • When I launch Finder for the first time the same folders are always open

    Hi. When I first boot up and launch Finder the same folders are always open on my boot drive. I close them all and continue to work on the computer, opening and closing folders as needed for that day's projects until I quit for the day. But the next time I start up (normally the next day) the same exact folders are open on my boot drive when I first open Finder or if I just double-click the drive. I've tried switching accounts and then back again and trashing Finder preferences, making sure every single folder is closed before I shut down, but the folders continue to show up as open the next time I boot up my Mac Pro. Any ideas anyone?
    Mac Pro 2.8 GHz Quad-Core Intel Xeon / OS X 10.6.8

    Thanks for your suggestion. In the meantime I contacted support at www.bombich.com (creator of Carbon Copy Cloner) and told them what I was thinking about doing and they suggested deleting the hidden .DS_Store files in the folders remaining open. This is the explanation they gave me:
    This file, created by the Finder, keeps track of folder view options, icon positions, and other visual information about folders. A separate .DS_Store file is created in each directory about that directory.
    So I went online and found the Terminal commands for showing (and hiding) hidden files and trashed, one by one, all the .DS_Store files in the folders that were remaining open and that did the trick. I've tested Finder several times on relaunch and reboot and it's working perfectly again. Folders remain closed as I've left them before shutting down. Big relief. And I've learned something about .DS_Store files.
    Thanks to you and Eric Root for your replies and suggestions. They are appreciated.

  • Crash when opening Mobile account for the first time

    I have some issue with my client mobile account I have set up on theMacMini server and on the MacBook Pro client. Actually I was never able to open completely the mobile account on the client (i.e. it crashes after synchronization between client & server and prior opening the account: it freezes on the "sky&stars" screen).
    First of all, I created the (empty) mobile account on the server and then on the client (also empty).
    Next, I copied my local account on the client to the mobile account on the client.
    Following step was the synchronization between both mobile accounts - and here I'm.
    Some details:
    local account: Paul-admin - home directory: Paul
    mobile account on the client: PaulM - home directory: palm
    mobile account on the server: PaulM - home directory: palm
    To make a copy of the local account to the mobile one (both on the client machine) via Terminal:
    cp -r /users/Paul/ /Users/palm/
    To correct the permissions:
    chown -R PaulM /Users/palm
    Have I missed anything or did I something wrong ?

    Some discovered complementary information:
    This "freeze" happens only when the client MBP is connected to the server via my LAN. If I disconnect the client, I can open the mobile account without any issue. Also, this mobile account is under parental control, even if I didn't specify this parameter in any server menu and when I change it on the client, it comes back after the synchronisation. Any idea ?

  • Sometimes when I start to load an image for the first time, it just stops and even if I refresh the page it won't load all the way. Why?

    There seems to be no real reason why this happens. I've even tried clearing history and cookies and it doesn't change anything.
    Most oddly, on some websites where I have accounts, on some accounts the images load and other times they don't.

    Thanks I suspected it might be something along those lines, I've not read much about ImageObservers so I will do now :)
    Although I just made a brief test and opted for option 2 and now I'm getting an out of memory :S
    "Exception in thread "Image Fetcher 0" java.lang.OutOfMemoryError: Java heap space"
    Edit: So I'm now using more memory with these images than the heap can take. By using the:
    new ImageIcon(imageToAdd); //loads the imageAm I now doubling the memory required for one image as this ImageIcon is created as well as the Image?
    Is there a way of increasing the amount of memory Java is allocated easily without having to put in command line parameters every time? This will be running from a Jar file, can I do something with that?
    Edited by: iexus on Apr 5, 2010 10:53 AM
    Edit numero 2:
    Had a brief google around see it's not easy but will have a look at cutting my images down in size before allocating more memory to java :P
    Edited by: iexus on Apr 5, 2010 11:03 AM

  • I just downloaded Lion and when it opened mail for the first time, I received an error that there was something corrupted in mail.  I was directed by Apple to close Mail and re-open it.  I did, but now Mail will not open at all.  What do I need to do to c

    I am having issues with Mail after downloading and installing Lion.  Snow Leopard prior.  There was a message that there was some sort of corruption in Mail and that I should close Mail and re-open Mail.  I did, but Mail will not open at all.

    Try the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • I downloaded adobe pro xi, I installed it.  When starting it up for the first time, it asked for a language.  I hit English, but then proceeded to load up everything thereafter in French.  How do I fix this.  I already went back and modified under change

    Never mind - got it figured out at this forum:  change language adobe acrobat pro XI (Installation & updates)

    Hi dougy scrooge,
    It's great to hear that your problem got resolved.
    You can reach out to us if you have any other query in the future.
    We would be happy to help you.
    Regards,
    Anubha

  • Bing "Map It" not showing up in any window accept when imputing a contact for the first time

    Bing's "Map It" function that is supposed to be present in office 2013 through emails is not... ive tried many different tests trying to input the addresses in different formats and there is no ability to get a map to the location. Maybe i am
    just missing something? Also i was wondering if there is a way to get the "map it" function to work through the calender? It would be ideal if i could pull maps up when looking at an event that i have scheduled (all my events include the address
    of each job as they are scheduled jobs for my employees).

    bing maps link only displays in Outlook 2013 (or OWA) if an address is detected in the message. This only works if you have an Exchange 2013 email account.
    Map it button is in contacts and works with all accounts.
    If you want to have a map link in the calendar, you need to use VBA. I have a sample macro at
    http://www.slipstick.com/developer/use-vba-to-map-a-contacts-address/ that maps contacts using different services. It could easily be changed to map appointments (which i think
    i will do next).
    Diane Poremsky [MVP - Outlook]
    Outlook & Exchange Solutions Center
    Outlook Tips
    Subscribe to Exchange Messaging Outlook weekly newsletter

Maybe you are looking for

  • How do I get mt web site to appear when opening iWeb to edit?

    I can still access my web site (iWeb 3.0.4) on line but it does not open on my computer when I click on iWeb.  I just get a window to publish to MobileMe with the icon for a new site in the upper left. How do I find and open my original site?  I have

  • I can't align cell dividers in a table!

    Hi everybody! I am working with Pages 4.02. I created a table, I added columns to it (split into columns) but it seems I can't find a way to align the vertical dividers of individual cells to other dividers in the next row above (or below). When I se

  • Java Script in Templates issue

    I have created a help system for our new financial reporting system and a developer has created a template which includes Java scripted 'Rate this page' radio buttons and a comments field in the header. I have imported the template into my project an

  • How to decrypt filname of report in frsinput or frsoutput?

    He experts, is it possible to decrypt the filename of a report which is saved in the subdirectory /frsinput or /frsoutput? I like to write a script which lists all files, the size and the source system. So, maybe the source system is part of the file

  • IPhoto exports some Originals but hangs, saying "Unable to create /Users/

    I have a folder of 43 photos, some jpgs but a lot of the Originals are RAW and a couple of large tiffs, too. I'm trying to send them to a graphic designer for use in a book, so I want the highest quality. I would like to export them as Originals, so