Pages

Showing posts with label Excel interface exception error. Show all posts
Showing posts with label Excel interface exception error. Show all posts

nVision 3-tier Known Errors Guide PeopleTools 8.52

Here's a summary of all the nVision 3-Tier (app server connection from client install) that I have been able to identify a root cause for so far PeopleTools 8.52. There are a couple of errors that I have not yet been able to nail down, listed at the end. If anyone has been able to "crack the code" for those, please share in the comments.


Summary of Errors and Root Cause


OLE error


  • Laptop/computer has no network connection
  • Other causes possible but yet to be determined

Excel Interface Exception 1593 / 2160 / OLE in sequence


  • Running an nVision report and a Query at the same time

Excel Interface Exception 2160 standalone


  • For one reason or another, Excel cannot save the nVision instance

Excel Interface Exception 1828


  • Occurs when closing an Excel workbook from a Taskbar preview thumbnail and the following conditions apply: the workbook being closed is not Excel’s active workbook, and the workbook being closed has unsaved changes

Excel Interface Exception 2518


  • Another user has the report instance open from the same location you are running the report to

Call was rejected by callee


  • While an nVision report is running, the user is active in another Excel workbook. This makes Excel unavailable to nVision when the results are ready and nVision “calls” Excel.

Internal Application Error


  • Running query and multiple nVision reports concurrently. NVision must be restarted.

Excel Interface Exception 2061


  • Yet to be determined

Excel Interface Exception 4475


  • Yet to be determined

 

 

Error Message Screenshots, Root Cause, and Mitigation

Stand-Alone OLE error



Root Cause:

  • This error will occur if your computer has lost all connections to the network, for example, your LAN cable is unplugged and wireless card is disabled.

 

Mitigation:

  • Check at the back of your computer or laptop that the LAN cable light is lit and blinking
  • Check that the wireless light on your computer is blue (not red)
  • Check that you have a network connection by going to the Network and Sharing Center in the Control Panel

Excel Interface Exception 1593 / 2160 / OLE in sequence








Root Cause:

  • Both an nVision report and a Query are running concurrently – the nVision report is initiated before the query has returned its results to Excel.

Mitigation:

  • Do not run queries and nVision reports concurrently
  • Always wait for your nVision report to finish before running a query, and vice-versa
  • Consider running nVision and/or Query online by signing in to FMS which will allow you to run reports and queries concurrently

 

Excel Interface Exception 2160 standalone


 
 


 
Multiple Possible Root Causes – all related to issues with saving the nVision instance:
·         The report has a macro attached to it, but the layout has never been saved as a macro file – Excel will not save macro files with the xlsx extension.
·         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 workbook
·         The user (or server) does not have security access to the output destination
·         The output destination is out of space
Mitigation:
·         When the nVision developer adds a macro to a layout, they should save the layout as an xlsm file, close the file, and then change the file extension back to .xnv through Windows Explorer
·         Make sure no one else is running the same report to the same location
·         Make sure you (or the server if running online) have access to the output destination
·         Make sure the output destination is not out of space
 

Excel Interface Exception 1828




Root Cause:

  • Occurs when closing an Excel workbook from a Taskbar preview thumbnail and the following conditions apply: the workbook being closed is not Excel’s active workbook, and the workbook being closed has unsaved changes

Mitigation:

  • Close workbooks using one of the traditional methods:
    • File > Close from the workbook
    • Clicking the X at the top right of the workbook
    • Typing Ctrl + W
  • Note: if you receive this error message, click OK and then when prompted to save the workbook, click Cancel. Then make the workbook the active workbook, and close it using any of the traditional methods.


 

Excel Interface Exception 2518


 

Root Cause:

Occurs when the nVision instance cannot be saved.

Possible causes:

  • Most commonly occurs when someone else ran the same report to the same location and has the file open
  • You do not have rights to save files in the destination folder
  • The destination folder has run out of allocated space

Mitigation:

  • Remove the output path from the nVision report request. NVision will save the instance to your default location on your C drive: C:\nvision\instance (Do not save the changes to the report request)


 

Call was rejected by callee


Root cause:

  • Occurs when user is active in another Excel workbook while an nVision report is being run and when the report finishes the other workbook is in “edit mode”; i.e. user is typing in a cell in the other workbook.
  • Note: User will need to end and restart nVision

Mitigation:

  • Always allow nVision to run to completion before using Excel again – do not multitask in Excel when an nVision report is running

 

Internal Application Error


Root Cause:

  • Running query and multiple nVision reports concurrently
  • Note: Database connection is lost when this error is received and nVision must be restarted

Mitigation:

  • Always wait for an nVision report or query to complete before
  • Don’t run nVision reports and queries at the same time


 

Excel Interface Exception 2061



Root Cause:

  • Yet to be determined

 

Excel Interface Exception 4475




Root Cause:

  • Yet to be determined

 

Interface Exception Error gridapp.ccp:1828

Problem Statement

Excel interface exception error gridapp.ccp:1828 SCODE = 0X80010001 is issued when a user attempts to close an nVision instance, drilldown, or other Excel workbook


Root Cause

Excel Interface Exception Errors are unfortunately a part of life with nVision. The messages given with them are often cryptic and no help at all in identifying the cause. 

After extensive testing I have identified that this error occurs under the following circumstances (I have reported this issue to Oracle Support SR #3-5976739951):


  • The user has a large number of Excel files open (typically around 30+ files)
  • The user attempts to close an Excel file from the file stack in the Excel Taskbar group, and importantly, the file they attempt to close has unsaved changes. The error occurs whether the user uses the X available in Excel 2010, or by right-clicking and selecting close in either Excel 2010 or Excel 2007. The error is issued with the Save dialog.


Note: The issue occurs frequently for our user community because many layouts select actuals and translate ledger data side by side and then sum them to the right. The ledger data columns are hidden using Excel grouping. To perform drilldowns on the ledger data, the users have to expand the grouping which places the instance into a "changed state" that Excel will issue a save dialog for when the user comes to close it.
 
We are running on Tools 8.52.06. I have replicated this error on both Windows 7 with Excel 2010, and Windows XP with Excel 2007. I have also been able to replicate the error in Tools 8.52.06 DMO. I have an SR open with Oracle on this issue which appears to be some kind of bug. 


Different error messages are issued once the user interacts with the Save dialog box. 


If the user clicks Yes to save the file, they are presented with a suggested file name of :.xlsx. This is an illegal name for Windows. Saving the file with an appropriate name results in errors that refer to Excel 4.0 Functions and Excel 4.0 Macros.


Excel 4.0 Function / Excel 4.0 Macro cannot be saved in a macro-free workbook


At this point the user finds themselves in a loop with a macro error being issued no matter what action they take. The best way to escape is to use Task Manager to close nVision and Excel.


Clicking No to the save dialog issues an error "Cannot run the macro 'NvdOnWindow'". The user is once again locked in a loop.




Workaround

We are currently testing the following workaround
  • Do not close files from the Excel group stack in the Taskbar. Rather, select the file you wish to close from the stack, and with that file active, close it from the workbook itself.

nVision Start-Up and Shut-Down Best Practices

Start Up

Best Practice

Close any current sessions of Excel before launching the nVision signon dialog

Many users of nVision are frequent users of Excel for their job responsibilities and will start nVision when Excel has already been started for other job functions. At startup, nVision initiates its own instance of Excel that is separate from the session that is already running, as can be illustrated in the screen shot from Task Manager:

Consequences of multiple Excel Instances

·         After completing the signon dialog for nVision, nVision fails to start up
·         As the user jumps unknowingly from one Excel instance to the other, conflicts can arise that result in  cryptic “Excel Interface Exception errors”

Resolution   

  • Close any and all instances of Excel and nVision
  • Start Task Manager, sort “Image Name” on the Processes tab, and end any and all instances of EXCEL.EXE and psnvs.exe
  • Restart nVision

Shut Down

Best Practice

Close nVision from the nVision program, not from Excel

Consequences of incorrect shutdown

Incorrect shutdown of nVision can result in hung sessions of Excel and/or nVision in Task Manager which are not obvious to the user since no program icon is displayed in the user’s Task Bar. This can result in nVision not starting up the next time the user attempts to start nVision as described above.

Resolution

·       Close nVision by clicking on the nVision icon in the Task Bar and either navigating to File > Exit or by clicking the X as illustrated below