Export to Excel stopped working

I have two screens that display the same datagrid on one the fields are all lables and the second one has some fields set to be editable.
The second screens export to excel button stopped working in the debugger and I get the following error.
An error occurred while running the screen. You can close the screen or ignore the error and continue using the screen.
Error details: Value cannot be null.
Parameter name: key
I do not get this error on the other screen but always get it on this screen.

I am able to export the same properties form the same entities using a different screen though? Neither screen has an addition queries the other screen does not have the only difference is that other screen uses labels. I did add an allergies table but it
quires the monograms table to get medication names for its table not the other way around. The Monograms table is a simple editable grid related ONE grid to Many Allergies. It has a related property I tried to assign a default to. using the following code
oh I see I had to make the entries in my code required even though I am only exporting them. Weird they were old properties I had long ago made and then used code to get around them having to be required.
It works now cheers
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.LightSwitch;
namespace LightSwitchApplication
public partial class Allergy
partial void AllergySummary_Compute(ref string result)
// handle Nulls
//make some string vars with defaults
string genName = "";
string classSum = "";
string generic = "";
string classification = "";
//set string vars only if Monogram not null
if(Monogram != null)
//use null coalesce operator '??' to convert null properties to string
genName = Monogram.GenericName ?? "None Listed";
classSum = Monogram.ClassificationSummary ?? "No Classification";
generic = " / Generic Drug: ";
classification = " / ";
if (classSum == "")
classification = "";
result = "(Type: " + TypeOfAllergy + generic + genName + classification + classSum + ")";

Similar Messages

  • Export to Excel not Working

    Hi
    I'm using JDeveloper 11g TP4 and in Firefox 3.X export to excel not working
    Regards,
    JavaDeVeLoper

    Java developer,
    Firefox 3.x is not one of the documented supported browsers for 11g TP4 (FF 2.0.x and IE 7 are).
    I'm assuming by "export to excel," you are talking about an adf faces table?
    John

  • Ms excel Stopped working in Analyzer

    Hi,
    I am trying to Excute the Query in Analyzer,  I am getting problem MS Excel Stopped working and excel is restarting.
    I have done Macro settings in excel, Even i am getting the problem.
    and also When i am trying to execute in Query Designer output is coming perfectly and then go back and do some changes like restriction on characters and giving conditions etc ...Then the output is coming as *.
    Ms Excel is 2007 version, BI is 7.0 Version and Windows - VISTA.
    If anyone knows this , please post the solution.
    Thank you in Advance,
    Sahithi
    Edited by: Sahiti Reddy on Nov 6, 2009 8:31 PM

    Sometimes, the MS 2007 and VISTA would not work for Analyser.
    Please try installing the latest BEx support patches and also Dotnetfx exe files in your local desktop and check again.
    Hope this would help you.

  • Vista STILL getting "Export Controller has stopped working" problem

    Everyone knows about the "Export Controller has stopped working" problem. The error message displays, then half a minute later, you get a "Quicktime has stopped working" error message. I have Googled it numerous times and I have never found anything more than what I did the first time. As far as I'm aware there are still no fixes for this problem. I believe there has been about three Quicktime updates since the first release of Quicktime 7, when this problem arose, and none have made any difference. Reinstalling and uninstalling + redownloading doesn't work, and I am not prepared to downgrade to an older version of iTunes, or buy a Mac. If anyone has any possible fix for this, please post here. I wish Apple would do something about this.

    A permissions glitch I think, Marz, masquerading as the Export Controller thing we saw a reasonable amount of a few versions ago. (I just checked the wife's 64-bit Vista lappie, and the QuickTime Player Start menu shortcut should have a run as administrator in the right-click menus ... whether that's part of your permissions trouble or a seperate business isn't clear, I'm afraid.)
    The bulk of those "Export Controller" errors got fixed by an update to Apple Application Support, but I was involved in an epically long-running thread back then where we found that for a rare subset of them: (a) Run as administrator would launch the QuickTime Player without the message, and (b) in other admin user accounts on the same PC, the QuickTime Player could be launched normally without the message.
    Since then I've seen a few other similar user-account-specific issues (with different error messages) where the same run-as-administrator trick gets you past the troubles. The precise error message seems to depend on which file/folder/key your user account loses a permission on.
    Finding the dodgy permission can be a pain ... I don't have a reliable technique for that. But one workaround you might want to try is using the QuickTimePlayer.exe compatibility tab to set the Player to always run as administrator. (Unfortunately, it's usually a bit more reliable a workaround on 7 than it is on Vista.)
    Quit the QuickTime Player if you have it open. Track down the QuickTimePlayer.exe file again, right-click and select "Properties". In the Compatibility tab, select "Run as administrator" and click OK.
    Try launching the Player again ... does it launch without the Export Controller error? Or do you instead get one of the error messages described in the following document?
    [Error -2096 message when opening QuickTime for Windows in Compatibility Mode|http://support.apple.com/kb/TS1875]

  • Excel stops working when I attach a file in Outlook

    I have the Office 2013 suite installed with all the programs except for Excel. Excel is installed on its 2007 version because I use an accountant tool that requires Excel 2007. I have been working like this in 3 different computers but for a few time I have
    one problem in one of them. Whenever I have an Excel document opened and try to attach another in Outlook, Excel stops working. ¡Do you know the cause or the solution for this issue?

    Hi,
    Please start Excel in Safe Mode, then perform the same steps to check the result.
    If there is no problem when Excel is in Safe Mode, disable the suspicious add-ins in Excel to check the result.
    If the issue persists, please collect the event logs from Event Viewer:
    Press Win + R, type "eventvwr" in the blank box, press Enter.
    Browse to Windows Logs -> Application, find the related error and send us the logs. To protect your private information, please send the logs to our email address:
    [email protected]
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs. Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Quicktime 7.6.6  VISTA Export Controller  Has stopped Working

    Hi,
    with Quicktime 7.6.6 on my Vista PC, when I start it I get a Message "Export Controller has stopped working"
    When starting it within a browser (eg: Apple Website to watch a keynote) I get a message "Quicktime player has stopped working"
    I have uninstalled and reinstalled several times. Any tips please ?
    Thanks,
    Matt

    Hi,
    Ive got the same problem with Quicktime 7.5.5 on my PC but im not using itunes. It only happens when I open the first instance of Quicktime then it pauses for a while before launching. Every other instance opens normally, but if I close them all and open a new instance, it happens again.
    Maybe no biggy cause it eventually opens anyway it doesnt bother me so much but it still pretty frustrating.
    Heres the error report...
    Problem signature:
    Problem Event Name: APPCRASH
    Application Name: ExportController.exe
    Application Version: 7.55.90.70
    Application Timestamp: 48ba1d2a
    Fault Module Name: ExportController.exe
    Fault Module Version: 7.55.90.70
    Fault Module Timestamp: 48ba1d2a
    Exception Code: c0000005
    Exception Offset: 00009123
    OS Version: 6.0.6000.2.0.0.768.3
    Locale ID: 1033
    Additional Information 1: 704f
    Additional Information 2: 63b321d9b2b03ac34af3f48860056428
    Additional Information 3: d806
    Additional Information 4: 1aa0361859b05bec1338d9a34b7b7702
    Read our privacy statement:
    http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409
    Message was edited by: anfo000

  • Export Controller has stopped working

    Help,
    Whenever I try to export a video, Quicktime crashes and gives me the following error, "Export Controller has stopped working". I'm running a dual core app with Vista premium. I have uninstalled and reinstalled Quicktime. My system has also crashed a couple of times since this error has occurred.
    Thanks,
    Frank
    Dual Core   Windows Vista  

    A permissions glitch I think, Marz, masquerading as the Export Controller thing we saw a reasonable amount of a few versions ago. (I just checked the wife's 64-bit Vista lappie, and the QuickTime Player Start menu shortcut should have a run as administrator in the right-click menus ... whether that's part of your permissions trouble or a seperate business isn't clear, I'm afraid.)
    The bulk of those "Export Controller" errors got fixed by an update to Apple Application Support, but I was involved in an epically long-running thread back then where we found that for a rare subset of them: (a) Run as administrator would launch the QuickTime Player without the message, and (b) in other admin user accounts on the same PC, the QuickTime Player could be launched normally without the message.
    Since then I've seen a few other similar user-account-specific issues (with different error messages) where the same run-as-administrator trick gets you past the troubles. The precise error message seems to depend on which file/folder/key your user account loses a permission on.
    Finding the dodgy permission can be a pain ... I don't have a reliable technique for that. But one workaround you might want to try is using the QuickTimePlayer.exe compatibility tab to set the Player to always run as administrator. (Unfortunately, it's usually a bit more reliable a workaround on 7 than it is on Vista.)
    Quit the QuickTime Player if you have it open. Track down the QuickTimePlayer.exe file again, right-click and select "Properties". In the Compatibility tab, select "Run as administrator" and click OK.
    Try launching the Player again ... does it launch without the Export Controller error? Or do you instead get one of the error messages described in the following document?
    [Error -2096 message when opening QuickTime for Windows in Compatibility Mode|http://support.apple.com/kb/TS1875]

  • Excel Stops working everytime I try to start Power Maps

    I am a long time Map Point user (since 2002 or 2004), and am trying to convert over to Power Maps. I use Map Point to visualize sales data and sales routes for my reps.  By importing and exporting data by geography.
    I have not yet had any luck with starting Power Maps. I have Office 365 through my company and I have downloaded the preview without success.  I am using windows technical preview.  I have confirmed that I have DirectX 11 and am trying to run
    though Excel 2013.
    When I try to launch Power Map from the tool bar, I get a message that Microsoft Excel has stopped working and my only option is to close the program.  This happens with any and all spreadsheets.
    Can someone please help me understand and fix what's wrong.  I have tried to uninstall and reinstall Microsoft office and that did not help.
    Thank you,
    Jason

    Hi Jko3969, when you said: "I have Office 365 through my company and I have downloaded the preview
    without success. " what do you mean? That you downloaded the Power Map preview from microsoft downloads? If so that's not the correct version, the version available to download is the old power map preview before microsoft released the final version. 
    If you have an Office 365 subscription and you installed the Office available from this subscription rather than the "desktop/standalone" version, then you
    should already have the newest version available for you, unfortunately it comes disabled by default, . You can enabled it going to File > Options > Add-Ins. In the bottom of the page where it says Manage select COM Add-Ins, hit Go and then select
    Power Map for Excel.. this will enable.
    You can also try after this to go to File > Account and check for Updates to make sure you have the
    latest version of power map installed. 
    Can you give a try and let us know if you still see this error after that? 
    Felipe Ferreira - @SQLBoy SQL Server MVP | Database Consultant at Pythian | Friends of RedGate
    http://www.pythian.com/blog/

  • Export to Excel not working after upgrade to IE10

    I upgraded to Internet Explorer 10.  In PWA Export to Excel does not export the data.  It starts up Excel but the sheet is blank.  Worked fine with IE9.  How to fix?

    Hi All,
    Use the below workaround so that clicking the export button will work similarly to how it does with previous IE versions and such. 
    1. Open the Windows registry editor (regedit32.exe) and take a backup of the registry
    2. Go the location HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\excel.exe
    3. Here, you’ll see a string value named “useURL”
    4. Rename this value to something else.  For example “useURLx”
    Post this change, you should be able to use the Export to Excel functionality. When you click the button, you’ll get a message from IE asking if you want to Open, Save or Save As the XLS file and you can choose Open.  You’ll then see the “normal” prompt
    within Excel about whether or not you want to open the file even though the contents don’t match the file extension.
    Cheers! Happy troubleshooting !!! Dinesh S. Rai - MSFT Enterprise Project Management
    Please click Mark As Answer; if a post solves your problem or Vote As Helpful if a post has been useful to you. This can be beneficial to other community members reading the thread.

  • Discoverer: Export to Excel not working properly on XP sp2

    Hi,
    In Discoverer, after exporting to Excel the spreadsheet should be displayed automatically. It works fine on Windows 2000, XP sp1, but not on XP sp2.
    Any suggestions on how to fix that problem?
    Thanks,

    Sonal,
    Did you try using the context menu to export the results?
    I faced the same problem. I could not export using the export functionality but worked when i used the context menu.
    Left click on any result area --> Enhanced Menu --> Export to.
    hope this helps
    Mustafa

  • Excel stopped working

    In my labview program, I open, edit, and close multiple excel sheet one at a time.  It used to work, but I am getting a -41106 error.  It said that the possible reason is "Report Generation Toolkit: Microsoft Word or Excel did not open.  Make sure Microsoft Word or Excel is installed".  I am not what happened.  MS office is definitely installed in my laptop.  The error happens in the node when I tried to open the excel workbook.
    Kudos and Accepted as Solution are welcome!

    I faced this issue several times when Excel instance doesn't close even after closing it with RGT Close VIs.
    When I face this issue, I check if Excel.exe is open in Windows Task Manager and manually close it.
    There is also a taskkill command to force kill the Excel.exe using sysexec.
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"

  • TDMS Add-in for Excel stopped working

    Hi-
    I have the TDMS Add-In installed for Excel and it was working fine, until I installed LV 8.6 (not sure if that's what did it, but that's the only change made to the machine..) Once LV 8.6 was installed the TDMS Add-In started showing up in the "National Instruments Software" section of Add/Remove Programs whereas it was "Excel TDM Add-in" prior.
    The behaviour is that the Toolbar buttons show, but when you press them nothing happens.
    I've tried un-installing TDMS Add-In from Windows CP, that removed the toolbar from Excel, but re-installing the TDMS Add-In doesn't fix it (buttons still do nothing).

    Hi,
    I was looking through the posts, and thought this was rather interesting - I have seen/delt with customers using this in LabVIEW 8.6. They've never reported any issues.
    I would agree with michelle, with the questions.
    I am aware that labVIEW 8.6 and the Report Generation Toolkit needed to be upgraded to 1.1.3 and only works for new versions of Office (which caught customers out), could it be, that your using an older version of Excel...
    However, when Im back in the office tomorrow - I will try out the toolkit with LabVIEW 8.6 - as I am yet to try it out.
    Please respond with more information.
    Kind Regards,  
    Kind Regards
    James Hillman
    Applications Engineer 2008 to 2009 National Instruments UK & Ireland
    Loughborough University UK - 2006 to 2011
    Remember Kudos those who help!

  • LR3.3 Export to Facebook stopped working

    I frequently load albums to Facebook using the plug-in.  Tonight I got the following message:
    http://static.photoshop.com/products/lightroom/facebook_unavailable.html
    The Publish to Facebook service is no longer available.
    What's up with that?  Does anyone know a work-around besides exporting to disk and uploading?

    Where did you see this message? It looks like it was captured from a web browser.  If so, it looks like FB has dissallowed remote publish, possibly from only your host, possibly temporarily.
    Try re-authenticating. You might have to do the change default browser trick to force apps like Lr to use a different browser where you don't have an automatic login. Not sure why, but the auth method that does this sometimes gets confused. You can also remove Lr as an app from your privacy and security settings and force a top-to-bottom reauth of the remote app.

  • Export Release Build stopped working on Flash builder 4.0.1

    Does anybody else have a problem  with "Export Release Build..." with the new Flash builder version ?
    I'm  selecting the option through the menu, and nothing happens.

    Same here the error log of eclipse:
    !ENTRY org.eclipse.ui 4 0 2010-07-05 11:25:51.796
    !MESSAGE Unhandled event loop exception
    !STACK 0
    java.lang.NoClassDefFoundError: com/adobe/flexbuilder/exportimport/releaseversion/ui/ExportSigningPage$1
        at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportSigningPage.createControl(Expo rtSigningPage.java:117)
        at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
        at com.adobe.flexbuilder.exportimport.releaseversion.ui.ExportReleaseVersionWizard.createPag eControls(ExportReleaseVersionWizard.java:310)
        at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:675)
        at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:549)
        at org.eclipse.jface.window.Window.create(Window.java:431)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
        at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction$1.run(Export ReleaseVersionAction.java:93)
        at com.adobe.flexbuilder.exportimport.releaseversion.ExportReleaseVersionAction.run(ExportRe leaseVersionAction.java:103)
        at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

  • Export Controller stopped working

    I am so lost here, can not open Quicktime I get this error, and I have tried to uninstall and reinstall in every mode I can and its still comes up, Please someone help me...
    Product
    Export Controller
    Problem
    Stopped working
    Date
    1/27/2011 3:40 PM
    Status
    Report Sent
    Problem signature
    Problem Event Name: APPCRASH
    Application Name: ExportController.exe
    Application Version: 7.69.80.9
    Application Timestamp: 4cf4445a
    Fault Module Name: CoreFoundation.dll
    Fault Module Version: 6.0.6002.18005
    Fault Module Timestamp: 49e03821
    Exception Code: c0000135
    Exception Offset: 00009eed
    OS Version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional Information 1: 9d13
    Additional Information 2: 1abee00edb3fc1158f9ad6f44f0f6be8
    Additional Information 3: 9d13
    Additional Information 4: 1abee00edb3fc1158f9ad6f44f0f6be8

    I wonder if it's one of the weird permissions/UAC related versions of these?
    Can you try something for me please?
    In Computer, open Local Disk C:\ or whichever drive you have your program files installed on.
    *If you have a 32-bit Vista,* open the "Program Files" folder.
    *If you have a 64-bit Vista,* open the "Program Files (x86)" folder.
    Open the "QuickTime" folder.
    Right-click the QuickTimePlayer.exe file and select "Run as Administrator".
    Does it launch this time, or do you still get the error message?

Maybe you are looking for

  • Lock Queue for a particular Partner No.

    Hi All, We want to lock the RFC queue for a particaular partner No. is this possible in SAP? Background : We are having a maintainace activity on one of our middle ware, hence there would be changes done to a particular and critical interface. The mi

  • Wrong Opening balance in PLA register

    Hai All, I am gettig wrong opening balance in PLA for Sec Higher Edu. cess at the time J2I6. I maintained correct opening balance in J_2IACCBAL. Also in G/L accnt i made the same. I am geeting corrct values for PLABED & PLAECS. Here its taking value

  • CST Recievabls

    Hi All, When we give 100% as Non Deductible % in CST tax type attribute set up, the CST tax amount will go to Raw material account while doing AP invoice. But in trial balance, there is a head called 143029 - CST Receivable (Input Tax) with debit and

  • VM Persistence

    I created a couple of OL6-U3 PVM's on a SuSE-Xen host (using virt-install) and manually migrated the VM's to my OVS-Xen host. The migration was successful. However, the VM's aren't persistent. i.e., the VM's won't survive a reboot: [root@xen3 ~]# xm

  • DNS_ERROR_NUMERIC_NAME

    Hi guys. i'm trying to join a W8.1 based machine to domain with all numeric computername however I'm getting an error.DNS Name is entirely numeric. Read RFC 1123 and it says that a complete numeric is now accepted. Is it something that won't work wit