===========================
ERROR RAISED ON: 4/21/2011 11:55:18 AM
================================================================================
===========================
================================================================================
===========================
ERROR INFORMATION
---------------------------------------------------------------------------------------------------------Error type: System.Runtime.InteropServices.COMException
Error source: My.Excel9.Interop
Error message: Exception from HRESULT: 0x800AC472
Microsoft help link:
Inner exception: N/A
================================================================================
===========================
EXCEPTION STACKTRACE
---------------------------------------------------------------------------------------------------------at My.Excel9.Interop._Application.set_Interactive(Boolean RHS)
at ProjectForm.Model.Tools.RETScreenWorkbook.openWorkbook(String sFilePath)
at ProjectForm.Program.Main(String[] args)
================================================================================
===========================
================================================================================
===========================
THREAD STACKTRACE
---------------------------------------------------------------------------------------------------------Main at offset 170 in file:line:column <filename unknown>:0:0
================================================================================
===========================
================================================================================
===========================
SYSTEM INFORMATION
---------------------------------------------------------------------------------------------------------Domain name/Machine name: RJBURNSIDE/RJB2305
Username: selias
Office version: Excel 2003
Operating system version: Microsoft Windows NT 5.1.2600 Service Pack 3 : Microso
ft Windows XP Professional
Environment version: 2.0.50727.3607
System has runned: 0 day(s)
System directory: C:\WINDOWS\system32
Processor name: Intel(R) Core(TM) i7 CPU
Q 720 @ 1.60GHz
Working set: 19427328
================================================================================
===========================
================================================================================
===========================
CULTURE INFORMATION
---------------------------------------------------------------------------------------------------------Regional settings: en-US
Culture info: English (United States)
----------------------------------------------------------------------------------------------------------
Calendar format
---------------------------------------------------------------------------------------------------------Calendar type: System.Globalization.GregorianCalendar
Algorithm type: SolarCalendar
Max supported date time: 12/31/9999 11:59:59 PM
Min supported date time: 1/1/0001 12:00:00 AM
Max two digits year: 2029
---------------------------------------------------------------------------------------------------------Date format
---------------------------------------------------------------------------------------------------------Long date format: dddd, MMMM dd, yyyy
Short date format: M/d/yyyy
Long time format: h:mm:ss tt
Short time format: h:mm tt
---------------------------------------------------------------------------------------------------------Number format
---------------------------------------------------------------------------------------------------------Positive sign: + / Negative sign: Normal: 999,999,999.99
Currency: 999,999,999.99 $
Percent: 999,999,999.99 %
================================================================================
===========================
================================================================================
===========================
RETSCREEN INFORMATION
---------------------------------------------------------------------------------------------------------RETScreen directory: C:\Program Files\RETScreen\RETScreen4\
RETScreen programs directory: C:\Program Files\RETScreen\RETScreen4\Program\
RETScreen version: RETScreen4 2010-09-22
LocalMachine manual language:
User current manual language: English
User last RET file used: N/A
Buffered information (IN): UseCSharpToImport:True
Buffered information (OUT):
Installation language: English
User default language:
User HWND combination:
================================================================================
===========================
================================================================================
===========================
SUPPLEMENTARY INFORMATION
---------------------------------------------------------------------------------------------------------Supplementary informations: N/A
================================================================================
===========================
================================================================================
===========================
RUNNING PROCESS AT START
---------------------------------------------------------------------------------------------------------1. nusb3mon (4260) - 4/21/2011 10:56:09 AM
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
================================================================================
===========================
================================================================================
===========================
DETAILED PROCESS OF SELECTING OR OPENING A WORKBOOK
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Opening Workbook
---------------------------------------------------------------------------------------------------------RETScreen4Model version 2003 = "C:\Documents and Settings\SElias\Application Dat
a\RETScreen\RETScreen4\RETScreen4-.xlt"
RETScreen4Model version 2007-2010 = "C:\Documents and Settings\SElias\Applicatio
n Data\RETScreen\RETScreen4\RETScreen4-.xltm"
Excel Version : Excel 2003
RETScreen4Model path = "C:\Documents and Settings\SElias\Application Data\RETSc
reen\RETScreen4\RETScreen4-.xlt"
---------------------------------------------------------------------------------------------------------Select Workbook
1 parameter : The file path : "C:\Documents and Settings\SElias\Application Data
\RETScreen\RETScreen4\RETScreen4-.xlt"
---------------------------------------------------------------------------------------------------------Check point 01 -> Change the culture info to set it to EN-US to avoid any proble
m
Check point 02 -> Condition if the file sent is different from empty
Check point 03 -> Condition if the file does not end with a XLT
Check point 10 -> Condition if the file ends is a XLT or a XLTM or the workbook
isn't opened
Check point 11 -> Condition if opening Excel gives a problem
Check point 12 -> If Excel is opened correctly find the current index of the fil
e
findCorrectWorkbook C:\Documents and Settings\SElias\Application Data\RETScreen\
RETScreen4\RETScreen4-.xlt
findCorrectWorkbook C:\Documents and Settings\SElias\Application Data\RETScreen\
RETScreen4\RETScreen4-.xlt isAlreadyTrying=False
Check point 13 -> If the index of the workbook found is bigger than 0, set the c
urrent workbook to our workbook
1 value assigned : theExcelWorkbook at the position 1
Check point 14 -> Set the value that we have found the workbook
Check point 18 -> Condition if the workbook opened and the application is runnin
g
Check point 19 -> If true, ensure that the application is visible
Check point 20 -> Set back the culture info to the original value
Check point 21 -> End of the function
---------------------------------------------------------------------------------------------------------1 returning value : isWorkbookOpened = True
EOF - Select Workbook
---------------------------------------------------------------------------------------------------------isWorkbookOpened = "True"
xlWorkbook
Deactivating interaction with Excel
================================================================================
===========================