Intermittent Error 41106 Error when trying to open an Excel file.
I am having an intermittent problem while opening an Excel file. The problem only occurs occasionally during execution of my program. My program has a cluster of buttons each button opens a sub VI that is part of a calibration process. The first VI generates an EXCEL filename that is used to save all calibration data. A template is opened, data is placed in this template, and then it is saved under the generated filename. Most of the time this seems to work fine, but every once in a while I receive a -41106 error indicating that Microsoft EXCEL did not open. As far as I can tell when I run each sub VI independently they work fine and no errors are generated. Does anyone know why this might be happening? I would appreciate any help.
Thanks
What version of LabVIEW and the Report Generation Toolkit are you using? I remember adding some code in the 1.1 version of the toolkit to attempt to avoid some Microsoft Excel latencies with opening/closing the application repeatedly, but it was by no means fool proof, since Excel sometimes takes its sweet time leaving memory when the application exits. Without knowing any more specifics, my best suggestion is for you to add a small delay between successive operations regarding opening/closing Excel and see if that helps. Also, if you could post a simple VI that demonstrates the behavior, that would be extra helpful.
Oh yeah, and another suggestion would be to open one report reference at the beginning of your program, and use this reference through the whole thing...I understand that this might not be possible, though, if you're opening different worksheets throughout the course of your application running.
Good luck,
-D
P.S. - For those of you reading this wondering why I would automatically assume MegaMan is using the Report Generation Toolkit, he cites error -41106, which is an error specific to this toolkit.
Darren Nattinger, CLA
LabVIEW Artisan and Nugget Penman
Similar Messages
-
i get error:The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.) when trying to open a .pkg file downloaded from microsoft store. they said it needs to be .dmg file but how?
Student_245,
are you certain that you’ve completely downloaded the .pkg file — that the download didn’t end prematurely? -
Ever get error code "-2146827284" when trying to open an Excel workbook using ActiveX
The error message claims that the file cannot be found, but the file is clearly there. Ever seen this?
Strangely, this happens on one machine, but not on another. I'm suspecting some kind of ActiveX incompatibility and would love suggestions on how to track this bugger down (I submitted to support also).
Thanks
Brad
The attached vi exhibits this behavior (on one machine anyway)...
Attachments:
footest.vi 30 KBBrad,
My suggestion is that if you know exactly where does your Excel ActiveX Library resides, please look for it and re-register it in windows, using the regsvr32 command. If not, please check wether the Excel version of the machine that is having problems is the same version as the machine where it is actually working. Last resource you may want to try to reinstall Excel after trying some of the Excel examples that came with LabVIEW. If you feel that you need more direct assistance please contact us directly, you may wish to call us or email us and you can find the information for doing so at www.ni.com/ask in the internet.
Good luck!
Nestor Sanchez
Applications Engineer
National Instruments
Nestor
National Instruments -
I get the following error when trying to open a pdf file... '*pdf.part could not be saved, because the source file could not be read". I am able to open pdf files in IE and other programs.
I am encountering the same problem -- though with .qfx files from my bank. This worked fine in Firefox 31 ESR, but since upgrading to Firefox 33.0, I get the "<name>.qfx.part could not be saved, because the source file could not be read" when I attempt to download. (I should add that downloading PDF statements from the same site works fine, and that the qfx downloads work fine in IE and Chrome.)
I tried safe mode, it is still broken. Tried v34 beta, no luck. I reverted to version 31, it works again.
I guess I will stick with the older version until a solution is found...or just use an alternate browser to download my financial data. -
Error code = 0x40010015 when trying to open PDF in PS CS3
Greetings:
I'm having a problem opening a PDF file in Photoshop.
This is the error message:
Error Opening the Portable Document File
(PDF) Document. Error Code =
0x40010015
Searching the Adobe Forums, Knowledge Base, and even Google has turned up no results. Any idea what the problem may be?
My process has been taking a PDF file created from QuarkXpress (6.5) and opening it in Acrobat Pro (8.1.2) and doing a save as and replacing the current pdf. Then I open this new PDF file in Photoshop CS3 (10.0.1) and apply actions. No problems. Then I encountered this one file that won't open in Photoshop, but will open in Acrobat, Preview, Illustrator. I get the following error message.
I'm using a G5 PowerPC Mac (4 x 2.5 GHz Processor) with 6.5 GB DDR2 SDRAM for memory. Mac OS X version 10.4.11 (haven't switched to Leopard yet) Adobe Creative Suite 3 Design Premium software package.
Thanks,
Randy Hinderks
Art Director / Video Editor
On-Purpos, Inc.I receive an error code = 0x40010015 when trying to open a PDF in Photoshop CS3 for windows.
I do not have Illustrator to open and re-save as the forum discussion indicated.
Is there another way to open a PDF with this error code? I work with Quark, Photoshop and Publisher
MartyMag22 -
My PC crashed. I rebuilt it from scratch and tried to install my unopened copy of Elements 10. I get error message 400 when trying to open the program. Windows 8.1 64bit
if that's a network connection error, Sign in, activation, or connection errors | CC, CS6, CS5.5
-
I get error 23132 when trying to open a M4v file
I use to be able to play m4v files on both iTunes and Quick Time 7. Suddenly, after upgrading iTunes, I get error 23132 when trying to open a M4v file. How do I fix it to view the files on QuickTime?
There is software you installed to work with your company's cloud service, update it or talk to the developer.
If it's Apple's software, then run through this list of fixes.
..Step by Step to fix your Mac -
Does anyone know what Error: 5 mean when trying to open up InDesign CS4
Does anyone know what Error: 5 mean when trying to open up InDesign CS4?
Opening the program, or opening a file?
-
Keep getting error code 2048 when trying to open wmv files, says realplayer cannot open with the installed version of Quicktime, any suggestions?
wmv is a Windows Media format. I don't know why Realplayer is coming into it since that deals primarily with Real format files and maybe a few generic formats.
You need
Free Flip4mac QuickTime player components - http://www.microsoft.com/windows/windowsmedia/player/wmcomponents.mspx
After installation a new Flip4Mac pane will appear in System Preferences. Make sure you set the boxes to ensure that it will play WMV files in Quicktime.
or play the files with VLC
VLC media player - http://www.videolan.org/vlc/ - general media player that plays just about anything.
While you're at it you might install:
Perian codecs for Quicktime - http://www.perian.org - plugins to add functionality to Quicktime for playing additional audio and video formats
Quicktime audio problems, Perian, VLC - http://discussions.apple.com/message.jspa?messageID=9013669 - read note about uninstalling prior DIVX support before installing Perian.
Perian doen't do WMV but it's handy to get many things to play in Quicktime.
Note, if these are protected WMV, nothing on a Mac will play those (unless you also have Windows installed). -
Getting error code 109 when trying to open pdf from an email i received
Hi , Im getting error cod 109 when I try to open a pdf from a contact. all other pdf open fine
I receive an error code = 0x40010015 when trying to open a PDF in Photoshop CS3 for windows.
I do not have Illustrator to open and re-save as the forum discussion indicated.
Is there another way to open a PDF with this error code? I work with Quark, Photoshop and Publisher
MartyMag22 -
What does Error: 5 mean when trying to open Indesign CS4?
What does Error: 5 mean when trying to open Indesign CS4?
It means that you need to reinstall the program....
Mylenium -
I´m trying to open an excel file in numbers not being successful. The error msg is unexpectedly error using plugin SFCompatibility can you help me? Already changed the extension of the excel document to xlsx an now gives an unknown import error.
In Excel have you tried saving directly to xls (not xlsx) and opening the xls in Numbers?
If you have a complicated workbook in Excel that uses lots of Excel's advanced features, Numbers may not be able to handle the import. It does pretty well on basic things, though.
If you're just trying to get data into Numbers, then often copy-paste from Excel is easier than trying to open xls files.
SG -
Hi. I was trying to open some pdf files and got a message my adobe reader was deinstalled. I installed a new version of Adobe Reader for Mac and when trying to open a PDF file I am getting a message in a foreign language. Any suggestions?
Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there.
-
Photoshop CS3 locks up when trying to open an EPS file
Hello everyone. I have a problem with CS3 locking up when trying to open an EPS file. The files were created in Quark 4.0. Not sure if it has anything to do with my new computer, which has Microsoft XP 64 bit. There's another computer in my office which has CS4 that can open these files. Please help..!! Thank you.
Try installing a PostScript printer on your XP64 system. For some reason this often seems to fix issues with EPS handling...
Mylenium -
"Error -2147352573 occured at Member not found" when trying to open an excel template
I'm trying to open an excel document as a template using the report generation tools but coming up with this error. I've traced the error to NI_ReportGenerationToolkit.lvlib:Excel_Open_Workbook.vi but have to idea why it's happening. The document seems to be fine as I can open and edit it in Excel. Has anyone else seen this? I'm using Labview 8.6 and Excel 2000. I've attached an image of the error and it's source. Thanks.
Attachments:
Excel open error.doc 558 KBHi Mike,
Thanks for pointing out the compatibility issue. I got the error with version 1.1.3 and therefore upgraded to 1.1.4 - after taking a glance at the readme document. I guess that I was mistaking the supported OS version ("Windows Vista/XP/2000") with the supported version of MS Office ("2007/2003/XP").
I originally received the error when running an executable on a Office 2000 machine. The executable was built on a Office 2003 machine since I have previously been able to build on Office 2003 and run on 2000. I'm not sure what was different with this executable. Anyway, after installing the LV development system on the Office 2000 machine, the issue turned out to be that some ActiveX methods had been disconnected. All I had to do was re-point the Invoke Nodes to the appropriate ActiveX methods.
Please note that my application in this case is very simple and therefore only exposes a small part of the Office 2000 ActiveX API. I'm sure that I would run into a non-compatibility wall if I were to implement more Office 2000 functions with RGT 1.1.4.
Message Edited by Philip Courtois on 06-18-2009 01:26 PM
- Philip Courtois, Thinkbot Solutions
Maybe you are looking for
-
Error when trying to create Excise Invoice
Hi All, We have an issue when generating an Excise invoice for domestic transaction, it was fine some time back, parallely other modules are doing customization and the error developed recently. When we user J1IIN to create the Excise invoice we get
-
My customer has enter their 1099 opening balances, but they don't appear on the BP balance. There is a check box for 'submitted' on the far right of the opening balances matrix that is grayed out and can't be 'checked'.. Does this need to be checke
-
Can I make a slide show?
Can I make a slide show? Thanks again!
-
How to define area of front panel scroll bars so that you can't scroll to empty areas?
The front panel of my executable VI has scroll bars. Is is possible to set the scroll bars so that one cannot scroll to areas where there isn't anything present? Can I define the usable area of the front panel to labview? Thanks... -Umar.
-
Does Time machine clone your system or back up your data files?
I use superduper to clone my mac and its great. I got time capsule this morning and just want to know is it just your user files time machine backs up or does it clone your system?