Excel import fails when Excel file selected
SQLDeveloper version 1.2.0
I right-click on the table, select Import, select the Excel workbook, then I get this:
org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance, the following exception occured: null
at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:237)
at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:191)
at oracle.dbtools.raptor.dialogs.importdata.ExcelImportUtil.insertExcelToTable(ExcelImportUtil.java:39)
at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcelToTable(ExcelImportEditor.java:79)
at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcel(ExcelImportEditor.java:50)
at oracle.dbtools.raptor.dialogs.actions.ExcelImport.launch(ExcelImport.java:11)
at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:127)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Any ideas?
Thanks,
Harry
You're not on 1.2.1? That's the latest production release. When you import from xls, into a table, you need to be sure to match your columns on the second tab.
So on tab1, you need to shuttle the columns you will import into. Then the second tab, you need to match the Data Types. You can check that the Import will work by reviewing the DML in the last tab.
Regards
Sue
Similar Messages
-
Excel Import Fails in SQL Server Agent Job but not when executed in BIDS
We have a SQL Server agent job that has ran successfully for the past 6 months. It started failing about a week ago. I don't believe anyone installed anything on the server. The proxy account used to run the job is an admin on the server.
I've tried everything I can think of or that I found on searches. I even changed the connection manager from an Excel source to using an Microsoft office 12.0 Access Database Engine OLEDB connection and it still runs in BIDs and not as an agent job.
I also setup my LANID as a proxy account to see if the job would run (checking security) -- and it fails with the same error. I also made sure the path is
\\server\share rather than a drive letter. Any ideas?
The package is executed in 32 bit mode. The package still runs fine in BIDS (where BIDs is opened on the server) but fails in the SQL Agent job with:
Executed as user: xxxxxx\xxxxxx. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 9:00:00 AM Error: 2014-12-01 09:00:02.46
Code: 0xC0202009 Source: xxxxxx Connection manager "Excel Connection Manager" Description: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE
DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "External table is not in the expected format.". End Error Error: 2014-12-01 09:00:02.65
Code: 0xC020801C Source: Load File to Staging Excel Source [43] Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager
"Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2014-12-01 09:00:02.77
Code: 0xC0047017 Source: Load File to Staging SSIS.Pipeline Description: Excel Source failed validation and returned error code 0xC020801C. End Error Error: 2014-12-01 09:00:02.90
Code: 0xC004700C Source: Load File to Staging SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2014-12-01 09:00:03.02 Code: 0xC0024107
Source: Load File to Staging Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 9:00:00 AM Finished: 9:00:03 AM
Elapsed: 2.761 seconds. The package execution failed. The step failed.I logged on to the server with the account that the SQL Agent runs under and ran the following from a command
line to execute the package:
"D:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\DTEXEC.exe" /FILE
"\"K:\SSIS\xxxxxx\xxxxx.dtsx\"" /CHECKPOINTING OFF
/REPORTING EWCDI /X86
I wanted to see if it was a security issue with the agent account account - but
this ran fine.
I then updated the SQL Agent job to use an operating system command instead
of a SSIS package on the job step. This fails...
The issue is definately with the SQL Server Agent -
Close excel programmatically after user cancels file selection
Greetings all. I apologize but I incorrectly posted this question on the wrong board originally so am posting it again here. I have a VI that I wrote with some help from this site that reads in as many user selected Flat Data Files as desired into Excel. The VI opens Excel, places each Flat Data File on one row and ends, allowing the user to manipulate the Excel data as desired. I have tested it without problems with up to 100 files at a time. The VI minimizes Excel at startup so that it will not block the Select File(s) dialogue. MY problem is this: If the user cancels the file selection, it returns an error and leaves Excel open. I understand how to handle the error, but have been unable to make Excel close automatically if the action is canceled. I have tried to invoke the Close without saving node with no luck... probably because I don't understand how to apply it. Ideally, I want to take the error number to a case statement, and if it is anything other than zero (0), meaning no error, I want Excel to close down. This will eventually be an executable so I need to make this right. Can anybody help? I have attached a zip file with the VI's and some sample Flat Data Files.
Thanks
Attachments:
RTS Flat File Data.zip 103 KBIf you want anything to run after an error you must clear the error status boolean from the error cluster. To do this use the bundle by name and set the status value to FALSE, take this output cluster into the function you wish to run.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com -
"Import Failed" when trying to run a import (Integration) script from FDM
Backgroud about the Issue : My source system for data is Oracle Orion and the Destination is HFM.Trying to import data fom orion to HFM through FDM via ODBC connectivity.
Modified the "Integration Script Example" in fdm_admin guide and with this i am able to import data from the Orion to the FDM staging table "tDataSegX" however i am not abel to see any data in the FDM (Import Module) and thats when i get this error "Import Failed".
Posisble casue according to my knowledge : My Import script only includes code to 1.Connect to ODBC data source 2. copies all the values from the Source table to the staging table.
I am not sure if i am missing some attributes in the script ??!!
can some one help me in checking if my imoport scritp is correct ??!!!
Here is my script
Function Import_int(strLoc, lngCatKey, dblPerKey, strWorkTableName)
Dim objSS 'ADODB.Connection
Dim strOra 'Ora string
Dim rs ' As New ADODB.Recordset
Dim rsAppend 'tTB table append rs object
Set cnSS = CreateObject("ADODB.Connection")
Set rs = CreateObject("ADODB.Recordset")
Set rsAppend = DW.DataAccess.farsTableAppend("TDATASEG7")
Dim strconn
strconn="Provider=msdaora;Data Source=<<Data Source Name>>;User Id=<<Username>>;Password=<<Password>>;"
cnSS.open strConn
strOra = "Select * "
strOra = strOra & "FROM <<Oracle View>>"
'Get data
rs.Open strOra, cnSS
If rs.bof And rs.eof Then
RES.PlngActionType = 2
RES.PstrActionValue = "No Records to load!"
Exit Function
End If
'Loop through records and append to tTB table in location's DB
If Not rs.bof And Not rs.eof Then
Do While Not rs.eof
rsAppend.AddNew
rsAppend.Fields("PartitionKey") = RES.PlngLocKey
rsAppend.Fields("CatKey") = RES.PlngCatKey
rsAppend.Fields("PeriodKey") = RES.PdtePerKey
rsAppend.Fields("DataView") = "YTD"
rsAppend.Fields("CalcAcctType") = 9
'write conditions to eliminate null
rsAppend.Fields("Amount") = rs.fields("YTD").Value
rsAppend.Fields("Desc1") = test 'rs.fields("txtAcctDes").Value
rsAppend.Fields("Account") = rs.fields("MAIN_AC_CODE").Value
rsAppend.Fields("Entity") = rs.fields("COMPANY_CODE").Value
rs.movenext
Loop
End If
'Records loaded
RES.PlngActionType = 6
RES.PstrActionValue = "ODBC Import successful!"
'Assign Return value
SQLIntegration = True
rs.close
End FunctionHI,
I first changed the table name to "strWorkTableName" and tried executing only the script from the Workbench client and got error as bellow
Financial Data Management Workbench
-2147467259 - Data access error.
At Line: 20
OK
For some reason i am not ok with running the code in the workbench client (even for checking the syntax) because for the reason that i am not sure if all the parameter required by the funciton will be passed by donig just "Run script."So even with this error in the Work bench client i proceded to the Workflow module in the web interface and run the import and here is what i have now.
Error: An error occurred importing the file.
Detail: Invalid procedure call or argument
here is the error message from the "View Erro Log"
ERROR:
Code............................................. 5
Description...................................... Invalid procedure call or argument
Procedure........................................ clsImpProcessMgr.fExecuteImpScript
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 15676
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ORION
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-03-21 14:43:42] **
ERROR:
Code............................................. 5
Description...................................... Invalid procedure call or argument
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 15676
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... ORION
Location ID...................................... 750
Location Seg..................................... 4
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
ERROR:
Code............................................. 70
Description...................................... Permission denied
Procedure........................................ clsArchiveMgr.fArchiveSupercededDelete
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 7180
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SAMPLE
Location ID...................................... 748
Location Seg..................................... 2
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
ERROR:
Code............................................. 70
Description...................................... Permission denied
Procedure........................................ clsArchiveMgr.fArchiveSupercededFlag
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 7180
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SAMPLE
Location ID...................................... 748
Location Seg..................................... 2
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
ERROR:
Code............................................. 70
Description...................................... Permission denied
Procedure........................................ clsImpProcessMgr.fClearData
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 7180
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SAMPLE
Location ID...................................... 748
Location Seg..................................... 2
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-03-21 14:44:05] **
ERROR:
Code............................................. 70
Description...................................... Permission denied
Procedure........................................ clsImpProcessMgr.fLoadAndProcessFile
Component........................................ upsWObjectsDM
Version.......................................... 1112
Thread........................................... 7180
IDENTIFICATION:
User............................................. admin
Computer Name.................................... <<ComputerName>>
App Name......................................... <<ApplicationName>>
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HYPTDB
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... SAMPLE
Location ID...................................... 748
Location Seg..................................... 2
Category......................................... WLCAT
Category ID...................................... 12
Period........................................... Feb - 2011
Period ID........................................ 2/28/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False -
How do I solve "import failed" when trying to import folders to the organizer?
When I try to import folders to the organizer I get an "import failed" message. Then it says that files or folders selected did not contain any supported file types or they are already in the catalog. I don't think it can be the latter because I just installed it today and haven't been able to import any files or folders. Can anyone give me troubleshooting ideas; I can't find any in the help menus. Thanks a bunch!!
The JPG data might be corrupted just enough for PSE to choke on the image, although other programs can open the image OK. Try opening one of the images in XnView, for instance, and saving that image; which will re-write the JPG data correctly. Then see if Organizer can import it.
Ken -
Import Failed (Placing InDesign Files in InDesign CS6)
I'm trying to place about 100 different ads in InDesign format into my InDesign CS6 document. The last couple years I've done this with CS4 without any issues. However, this year I'm using CS6. Now I'm running into the "Import Failed" error message after placing about 4-5 different files. The only way to fix it is to quit out of InDesign and relaunching it. When it relaunches, it actually automatically opens the document I had open before even though I had closed and saved it before quitting. So, to me, this seems like a glitch that's causing InDesign to think it crashed after quitting too. Has anyone else run into this? It is driving me absolutely insane.
InDesign 8.0.1
Mac OS X 10.7.5I figured it out. I just happened to think, "Hey, maybe it's Suitcase Fusion." Sure enough, as soon as I disable the plugin, everything is working fine. Go figure. I'll post something with them.
-
Import failed when Import a SBO Database in SAP Hana
Hi all,
When I try to import a SBO database Rev 69 to SAP Hana with Rev 74, I receive this error:
SAP DBTech JDBC: [2048]: column store error: table import failed: [30151] Object not found in the import directory;object=SBOCOMMON:ETL_Sen
I guess that the error not have relationship with different Revs. I imported another DB with this Rev and this work.
The import was done in 2 ways:
Script:
IMPORT DATABASE."*" FROM '<directory>' WITH REPLACE
Click right in Database, Import, select directory, select tables, import...
Does anyone know what can be or the solution??
Thanks
Best regards
Marcos TairaHello Marcos.
You could check this note.
1981315 - HANA import fails with error "not found in the import directory"
Regards.
Mario. -
Error in when No file selected For Upload Form
Is there a way to create an upload form that when no file is
selected to be uploaded will not return an error message even if
the submit button is clicked?
Thanks,
Craigh2ojefe wrote:
> Sorry for the confusion. I guess the best way for me to
describe it, is this.
> The customer using the website decides on certain
critieria whom he would like
> to send a picture
Send a picture where, by email, to the server?
> by first conducting a query of about 20 names (each with
a
> unique ID) in a database. The names of the people
meeting the sql select
> statement are then populated in a table, where one row
is the name, the second
> row is the gender, and the third row is his/her own
unique upload form that
> will go into her/his own directory.
If you upload the images to the same directory you can insert
the name
of the image into the database and use the same path for all
images.
Sorry, I'm really not understanding you here at all, I'm just
not
getting it, which may well be my fault.
>
> I would like each upload form to be a named derived from
the unique ID of the
> 20 names,
You could set the name to the value of the ID column in your
database.
>including the unique upload directory. Does that make any
more sense?
> Let me know because I am soooooo close and you have been
a big help so far.
Still not sure why you need a unique upload directory, whats
that for?
Cheers jojo
Adobe Community Expert for Dreamweaver 8
http://www.webade.co.uk
http://www.ukcsstraining.co.uk/
Extending Knowledge, Daily.
http://www.communityMX.com/
Free 10 day trial
http://www.communitymx.com/joincmx.cfm -
Import Fails When Using Transport Manager ID
Hi Experts,
When carrying out an import request in NWDI in Change Management Service under
'Consolidation' with an ID (ztesttpt) which has been assigned only 'NWDI.Operator' Role
we are getting the below errors and import fails.
'TCSDeployException_Communication: Server cdbaxd08 did not accept
login request as apiadmin on port 50018'
'Caller ztesttpt not authorized, only role administrators is allowed to access JMX'
Note that as per the SAP NWDI document 'How To setup NWDI Permissions and Roles', we
have assigned the following actions to the 'NWDI.Operator' Role.
CBS.Administrator
CMS.CriticalFunctions
CMS.Display
CMS.Transport
However, when using the ID 'nwdi_cmsadm' (which has FULL authorizations) to do the import
there is no issue.
Is there any additional actions/roles that need to be assigned to the ztesttpt ID?
Any advice or comments would be greatly appreciated.Abhishek,
check this link
http://help.sap.com/saphelp_nw70/helpdata/en/46/5b8c954bb04cae84a21793ad9b4c92/frameset.htm
Thanks
Bala Duvvuri -
PRSM - Import Failed when Importing ASA/CX Config
I am sure there is something I am missing here, but I have the system installed, and configured. I am able to access it via the URL, login, make adjustments, etc. However, when I log into PRSM, and attempt to import the ASA/CX, it verifies credentials, I accept the certificates and after spinning for a bit on "Importing configuration from your ASA CX device" it throws an error saying "Import Failed" "The read operation timed out"
Obviously, there's a communication error somewhere, but I can't find where it might be. The PRSM server is on a different subnet, but they are both on the Internal LAN.
Any input would be greatly appreciated.
Thanks,
MarkHi Marvin,
I upgraded the CX and PRSM to the latest 9.2 release as well as the firewalls to 9.1(4) since I noticed that the latest 9.2 release fixed a bug relating to HA firewalls. Now, when attempting to add the device, I get an error stating that it cannot communicate with the ASA CX SSP. When I login to the console of the PRSM virtual alliance or the CX, I am able to ping both ways without issue.
Any ideas? I'm at a loss. There also doesn't seem to be much out there regarding this message.
Thanks,
Mark -
Find "Other" search fails when "User" folder selected - bug?
I have several partitions on my disk.
On my boot partition, I have 2 .aiff files in a sub-directory of my Documents folder. Using the Finder's "Find" command (not spotlight),
select search for File Type "other" and "AIFF Audio" from dropdown
select the "Users" folder as the only folder to search - "Find" shows no files
select only "Home" to search - finds them.
select both "Home" and "Users" to search it doesn't find them.
select the partition (Called "OSX") it finds them.
select partition "OSX", folder "Users" and "Home" - it finds them
also - I can get Finder to reset with double-click:
With a search that finds them, select the file so its path appears in the panel at the bottom of the window.
Modify the Find to search only "Users". The window clears and no files show, however the path of the previously selected file remains.
Double click on the path name, the Finder resets ( - in other words, quits, closing all open FInder windows, then restarts without reopening any of those Finder windows)
Is this a bug or what?
MacMini - 1.42 Mac OS X (10.4.7)I was having a very similar problem on my computer. I found that this discussion thread solved my problems.
http://discussions.apple.com/thread.jspa?messageID=2635460�
In short, try re-indexing your drive or home folder. You can do his by opening Preferences->Spotlight, select the Privacy tab. Add your hard drive or your home folder to the list by drag and drop or hit the plus symbol at the bottom. Wait a second and remove the drive or folder. It will take several hours for the drive or folder to re-index but the find/search command will start working correctly right away.
Hope this helps.
powerbook G4 Mac OS X (10.4.7) -
Opening Excel Workbook Fails when run from Scheduled Task on Windows Server 2008 Rw
Hi,
I have a little vbs script that instantiates the Excel.Application object and then opens a work book to perform some tasks on it. The script runs fine when run from the command line. When I attempt to run it as a scheduled task (it is supposed to update
data that is pulled from a SQL Server at regular intervals), it fails with the following error:
Microsoft Office Excel cannot access the file 'c:\test\SampleWorkbook.xlsm'. There are several possible reasons: .....
The file does exist. The path reported in the error is correct. The account under which the task is running is the same account I use to run it from the command line. User Account Control is not enabled, and the task is set up to run with highest privileges.
When I run the same script through the Task Scheduler from a Windows Server 2003 machine, it works without issue.
I was just wondering if somebody on this forum has run into a similar issue in connection with Windows Server 2008 R2 and figured out what the magic trick is to make it work. I'm sure it is rights related, but I haven't quite figured out what which rights
are missing.
Thanks in advance for any advice you may have.This is truly killing me ... trying to get it working on Windows Server 2012 without success.
I desperately need to automate running Excel macros in a "headless" environment, that is non-interactive, non-GUI, etc.
I can get it to work using Excel.Application COM, either via VBScript or Powershell, successfully on many other Windows systems in our environment - Windows Server 2008 R2, Windows 7 (32-bit), etc., -BUT-
The two servers we built out for running our automation process are Windows Server 2012 (SE) - and it just refuses to run on the 2012 servers - it gives the messages below from VBScript and PowerShell, respectively-
I have tried uninstalling and re-installing several different versions of Microsoft Excel (2007 Standard, 2010 Standard, 2010 Professional Plus, 32-bit vs. 64-bit, etc.), but it makes no difference.
Would be extremely grateful if any one out there has had any success in running Excel automation on Server 2012 in a non-interactive environment that they could share.
( I have tried adding the "%windir%\syswow64\config\systemprofile\desktop"
folder, which did fix the issue for me when testing on Windows Server 2008 R2, but sadly did not resolve it on Windows Server 2012 )
[VBScript error msg]
Z:\TestExcelMacro.vbs(35, 1) Microsoft Office Excel: Microsoft Office Excel cannot
access the file 'Z:\TestExcelMacro.xlsm'. There are several possible reasons:
• The file name or path does not exist.
• The file is being used by another program.
• The workbook you are trying to save has the same name as a currently open work
[Powershell error msg]
Exception calling "Add" with "0" argument(s): "Microsoft Office Excel cannot open or save any more documents because th
ere is not enough available memory or disk space.
To make more memory available, close workbooks or programs you no longer need.
To free disk space, delete files you no longer need from the disk you are saving to."
+ CategoryInfo : NotSpecified: (:) [], MethodInvocationException
+ FullyQualifiedErrorId : ComMethodTargetInvocation
You cannot call a method on a null-valued expression.
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull -
Journal import fails when called from PLSQL
Hi,
When journal import is called from plsql code it is failing with error in 'gllacc() Function returning without value and no data found'.
Same transaction is run succesfully from front end.
I checked both gl_interface and gl_interface_control table but couldnt find the issue.
Any info on this would be very helpful.
Thanks
SandhyaFOR l_rec IN (SELECT ledger_id,group_id from apps.gl_interface
WHERE status='NEW'
AND user_je_source_name='GIS_DATA_CONVERSION'
GROUP BY ledger_id,group_id
ORDER BY group_id
LOOP
apps.gl_journal_import_pkg.populate_interface_control (user_je_source_name => 'GIS_DATA_CONVERSION',
GROUP_ID => l_rec.group_id,
set_of_books_id => l_rec.ledger_id,
interface_run_id =>vl_interface_id,
table_name => 'GL_INTERFACE',
processed_data_action=>'D'
COMMIT;
vl_request_id := apps.fnd_request.submit_request (application => 'SQLGL', -- application short name
program => 'GLLEZLSRS', -- program short name
description => NULL, -- program name
start_time => NULL, -- start date
sub_request => FALSE, -- sub-request
argument1 => 2065, --Data access set id
argument2 => 'GIS_DATA_CONVERSION', --Source
argument3 => l_rec.ledger_id, -- set of books id
argument4 => l_rec.group_id,
argument5 => 'N', -- error to suspense flag
argument6 => NULL, -- create summary flag
argument7 => 'N' -- import desc flex flag
COMMIT;
IF ( vl_request_id = 0 ) THEN
xxgis.gis_conv_util_pkg.debug_print_p(1,'FND_LOG','E001: Journal Import Submission Failed. ' || SQLERRM);
retcode := 2;
EXIT;
ELSE
xxgis.gis_conv_util_pkg.debug_print_p(1,'FND_LOG','P001: Submitted Journal Import Program for group id: ' || l_rec.group_id ||
'and ledger :'||l_rec.ledger_id|| ', Request ID: ' || vl_request_id);
END IF;
END LOOP; -
BPC 7.5 NW -- Data Manager Import Fails When Loading 40,000 Records?
Hi Experts,
Can't believe I'm posting this because the Data Manager component has always been one of the best parts of BPC. But, since we got SP04 applied last week, every IMPORT process that I've run that has more than 40,000 records fails out.
The result logs show that the CONVERT task completes just fine, but it doesn't really show the LOAD task. ...Not exactly sure what's going on here. So far I've also taken the following two steps to try for resolution:
(1.) Re-added the IMPORT package in Organize Package List from the Library to have a "fresh" version. Didn't help.
(2.) In the "Modify Package" screens, there is a PACKAGESIZE parameter that is 40,0000 by default... I've been able to locate that in BI using transaction RSA1 and have changed it to 10,000,000. Saved it. Tried it. Didn't help either
Has anyone seen this kind of behavior before?
Thanks,
GarrettUpdate -- This problem may now be resolved.
I have been able to conduct test IMPORTs of 48,000, then 96,000 and then 1.7 million records. All were fine.
It turns out that that difference is that the text files were sorted by amount in the ones that failed. They were sorted by GLAccount in column A for the ones that succeeded.
Edit: Yep, all files loaded normally when re-sorted by GLACCOUNT, etc. on the left-hand side. Apparently, when you're doing a lot of records that might confuse the system or something
Edited by: Garrett Tedeman on Nov 18, 2010 11:41 AM -
Data filter in Excel 2013 disappears when Excel is reopened
I recently upgraded from Office 2010 to Office 2013. Unlike the previous versions of Excel, the data filter in Excel 2013 disappears. Save the Excel with filters applied, close and reopen
the file, filter is not retained. Even the filter mark is not to be seen. Not sure if its a bug,
but there are other tiny such bugs were encountered in 2013 Excel.Hi,
Based on my test, Data filter does not lost when we re-open the file in Excel 2013. Thus, I think it is not a bug. Thus, please provide us more information to assist you better.
Did this issue occur with the previous file that created with Office 2010?
Have you tried to re-create a new file to test?
If this issue occur only with the previous file that created with Office 2010, this issue might be caused by the file compatibility, pleases use compatibility checker to update the files:
https://support.office.com/en-ca/article/Check-file-compatibility-with-earlier-versions-d9856881-5875-4c58-915f-06859b2943a7
If this issue occur with all files even with a new file, please try to repair Office 2013.
Hope it's helpful.
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]"
Maybe you are looking for
-
Indexing a specific file in a zip
Hi, everybody. I store zip files in my BLOB. All of them are composed of a PDF, an HTML and a text file. I'd need Oracle text to index only the HTML, which is always zipped with the filename "doc.htm", discarding the files of the other two types in t
-
Can I adjust color channels individually?
In photoshop, if I have a photograph and want to select the color green, I get out my magic wand and select the color green. I can control the amount of selection by adjusting the wand settings. Can i do anything like that in FCPro? If I have video f
-
Why won't paragraph styles change?
I opened a document from a few months ago and updated paragraph styles to a different font. However when I click on text and assign a style it has no effect. If I go to "basic paragraph" and click on that while holding down the option and shift keys,
-
[SOLVED]Xorg failure after installing QEmu
After finally getting qemu installed, I decided to reboot, and was greeted with this (previously experienced) error message. gdm-binary[612]: WARNING: GdmDisplay: display lasted 0.061197 seconds gdm-binary[612]: WARNING: GdmDisplay: display lasted 0.
-
Clicking buttons on the sliding panels widget causes the page to jump to the top.