You are on page 1of 6

================================================================================

===========================
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

2. wmiprvse (3544) - 4/21/2011 10:54:35 AM


3. PWMDBSVC (2952) - 4/21/2011 10:53:10 AM
4. lsass (1572) - 4/21/2011 10:52:36 AM
5. svchost (388) - 4/21/2011 10:53:00 AM
6. wmiprvse (4720) - 4/21/2011 11:55:01 AM
7. TmPfw (2472) - 4/21/2011 10:54:34 AM
8. DOZESVC (972) - 4/21/2011 10:53:01 AM
9. firefox (3532) - 4/21/2011 11:10:34 AM
10. services (1560) - 4/21/2011 10:52:36 AM
11. svchost (2740) - 4/21/2011 10:53:09 AM
12. LPMLCHK (4708) - 4/21/2011 10:56:11 AM
13. S24EvMon (372) - 4/21/2011 10:52:37 AM
14. alg (2144) - 4/21/2011 10:54:39 AM
15. TpShocks (4308) - 4/21/2011 10:56:09 AM
16. svchost (760) - 4/21/2011 10:52:37 AM
17. SynTPLpr (4304) - 4/21/2011 10:56:09 AM
18. RETScreen (4552) - 4/21/2011 11:55:00 AM
19. spoolsv (1148) - 4/21/2011 10:52:37 AM
20. LPMGR (4692) - 4/21/2011 10:56:11 AM
21. TPOSDSVC (3400) - 4/21/2011 10:56:08 AM
22. nvPDsvc (2324) - 4/21/2011 10:53:09 AM
23. wmiprvse (1336) - 4/21/2011 10:56:58 AM
24. svchost (1924) - 4/21/2011 10:52:37 AM
25. rundll32 (4676) - 4/21/2011 10:56:11 AM
26. explorer (5856) - 4/21/2011 10:56:00 AM
27. CcmExec (2900) - 4/21/2011 10:53:10 AM
28. TPHKSVC (732) - 4/21/2011 10:53:00 AM
29. winlogon (1516) - 4/21/2011 10:52:35 AM
30. mDNSResponder (924) - 4/21/2011 10:53:01 AM
31. unsecapp (2348) - 4/21/2011 10:54:34 AM
32. wisptis (5056) - 4/21/2011 11:17:21 AM
33. csrss (1460) - 4/21/2011 10:52:28 AM
34. rundll32 (4324) - 4/21/2011 10:56:10 AM
35. svchost (320) - 4/21/2011 10:52:37 AM
36. tpnumlkd (3468) - 4/21/2011 10:55:36 AM
37. RegSrvc (2676) - 4/21/2011 10:53:09 AM
38. TPONSCR (4312) - 4/21/2011 10:56:09 AM
39. BBPrint (5824) - 4/21/2011 10:56:12 AM
40. TMBMSRV (2080) - 4/21/2011 10:56:16 AM
41. AppleMobileDeviceService (896) - 4/21/2011 10:53:01 AM
42. TmProxy (3652) - 4/21/2011 10:55:17 AM
43. CNTAoSMgr (1088) - 4/21/2011 10:54:57 AM
44. RCIMGDIR (4236) - 4/21/2011 10:56:09 AM
45. plugin-container (2064) - 4/21/2011 11:11:17 AM
46. notes2 (5608) - 4/21/2011 11:09:44 AM
47. TmListen (3044) - 4/21/2011 10:53:10 AM
48. wmiprvse (480) - 4/21/2011 10:54:38 AM
49. PresentationFontCache (1068) - 4/21/2011 10:53:01 AM
50. NTRtScan (2248) - 4/21/2011 10:53:09 AM
51. svchost (1852) - 4/21/2011 10:52:36 AM
52. DLG (2748) - 4/21/2011 10:56:17 AM
53. smss (1404) - 4/21/2011 10:52:22 AM
54. ctfmon (5068) - 4/21/2011 10:56:16 AM
55. TpScrex (4400) - 4/21/2011 10:56:10 AM
56. NASvc (2232) - 4/21/2011 10:53:09 AM
57. micmute (260) - 4/21/2011 10:53:01 AM
58. PrivacyIconClient (3392) - 4/21/2011 10:57:11 AM
59. scheduler_proxy (3804) - 4/21/2011 10:56:06 AM
60. SynTPEnh (3408) - 4/21/2011 10:56:07 AM
61. UNS (2812) - 4/21/2011 10:53:09 AM

62. LMS (432) - 4/21/2011 10:53:01 AM


63. CamMute (240) - 4/21/2011 10:53:01 AM
64. rundll32 (4188) - 4/21/2011 10:56:08 AM
65. tpfnf7sp (4776) - 4/21/2011 10:56:11 AM
66. ntmulti (2212) - 4/21/2011 10:53:09 AM
67. nlnotes (5560) - 4/21/2011 11:09:42 AM
68. nvsvc32 (1816) - 4/21/2011 10:52:36 AM
69. PccNTMon (5004) - 4/21/2011 10:56:11 AM
70. tvtsched (2796) - 4/21/2011 10:53:09 AM
71. SUService (2992) - 4/21/2011 10:53:10 AM
72. tpnumlk (1016) - 4/21/2011 10:53:01 AM
73. Revu (4560) - 4/21/2011 11:17:17 AM
74. jqs (1996) - 4/21/2011 10:53:01 AM
75. MDM (2192) - 4/21/2011 10:53:09 AM
76. svchost (612) - 4/21/2011 10:52:37 AM
77. ntaskldr (5536) - 4/21/2011 11:10:28 AM
78. nsd (1004) - 4/21/2011 10:53:01 AM
79. jucheck (4216) - 4/21/2011 11:01:15 AM
80. ibmpmsvc (1784) - 4/21/2011 10:52:36 AM
81. nslsvice (2176) - 4/21/2011 10:53:09 AM
82. CopitrakDesktop10 (2960) - 4/21/2011 10:56:06 AM
83. System (4) - 12/31/1600 7:00:00 PM
84. EvtEng (988) - 4/21/2011 10:53:01 AM
85. tvt_reg_monitor_svc (2760) - 4/21/2011 10:53:09 AM
86. jusched (592) - 4/21/2011 10:56:14 AM
87. Idle Process
================================================================================
===========================
================================================================================
===========================
RUNNING PROCESS AT CRASH
---------------------------------------------------------------------------------------------------------1. nusb3mon (4260) - 4/21/2011 10:56:09 AM
2. wmiprvse (3544) - 4/21/2011 10:54:35 AM
3. PWMDBSVC (2952) - 4/21/2011 10:53:10 AM
4. lsass (1572) - 4/21/2011 10:52:36 AM
5. svchost (388) - 4/21/2011 10:53:00 AM
6. wmiprvse (4720) - 4/21/2011 11:55:01 AM
7. TmPfw (2472) - 4/21/2011 10:54:34 AM
8. DOZESVC (972) - 4/21/2011 10:53:01 AM
9. firefox (3532) - 4/21/2011 11:10:34 AM
10. services (1560) - 4/21/2011 10:52:36 AM
11. svchost (2740) - 4/21/2011 10:53:09 AM
12. LPMLCHK (4708) - 4/21/2011 10:56:11 AM
13. S24EvMon (372) - 4/21/2011 10:52:37 AM
14. alg (2144) - 4/21/2011 10:54:39 AM
15. TpShocks (4308) - 4/21/2011 10:56:09 AM
16. svchost (760) - 4/21/2011 10:52:37 AM
17. SynTPLpr (4304) - 4/21/2011 10:56:09 AM
18. RETScreen (4552) - 4/21/2011 11:55:00 AM
19. spoolsv (1148) - 4/21/2011 10:52:37 AM
20. LPMGR (4692) - 4/21/2011 10:56:11 AM
21. TPOSDSVC (3400) - 4/21/2011 10:56:08 AM
22. nvPDsvc (2324) - 4/21/2011 10:53:09 AM
23. wmiprvse (1336) - 4/21/2011 10:56:58 AM
24. svchost (1924) - 4/21/2011 10:52:37 AM
25. rundll32 (4676) - 4/21/2011 10:56:11 AM
26. explorer (5856) - 4/21/2011 10:56:00 AM
27. CcmExec (2900) - 4/21/2011 10:53:10 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.

TPHKSVC (732) - 4/21/2011 10:53:00 AM


winlogon (1516) - 4/21/2011 10:52:35 AM
mDNSResponder (924) - 4/21/2011 10:53:01 AM
unsecapp (2348) - 4/21/2011 10:54:34 AM
wisptis (5056) - 4/21/2011 11:17:21 AM
csrss (1460) - 4/21/2011 10:52:28 AM
rundll32 (4324) - 4/21/2011 10:56:10 AM
svchost (320) - 4/21/2011 10:52:37 AM
tpnumlkd (3468) - 4/21/2011 10:55:36 AM
RegSrvc (2676) - 4/21/2011 10:53:09 AM
TPONSCR (4312) - 4/21/2011 10:56:09 AM
BBPrint (5824) - 4/21/2011 10:56:12 AM
TMBMSRV (2080) - 4/21/2011 10:56:16 AM
AppleMobileDeviceService (896) - 4/21/2011 10:53:01 AM
TmProxy (3652) - 4/21/2011 10:55:17 AM
CNTAoSMgr (1088) - 4/21/2011 10:54:57 AM
RCIMGDIR (4236) - 4/21/2011 10:56:09 AM
plugin-container (2064) - 4/21/2011 11:11:17 AM
notes2 (5608) - 4/21/2011 11:09:44 AM
TmListen (3044) - 4/21/2011 10:53:10 AM
wmiprvse (480) - 4/21/2011 10:54:38 AM
PresentationFontCache (1068) - 4/21/2011 10:53:01 AM
NTRtScan (2248) - 4/21/2011 10:53:09 AM
svchost (1852) - 4/21/2011 10:52:36 AM
DLG (2748) - 4/21/2011 10:56:17 AM
smss (1404) - 4/21/2011 10:52:22 AM
ctfmon (5068) - 4/21/2011 10:56:16 AM
TpScrex (4400) - 4/21/2011 10:56:10 AM
NASvc (2232) - 4/21/2011 10:53:09 AM
micmute (260) - 4/21/2011 10:53:01 AM
PrivacyIconClient (3392) - 4/21/2011 10:57:11 AM
scheduler_proxy (3804) - 4/21/2011 10:56:06 AM
SynTPEnh (3408) - 4/21/2011 10:56:07 AM
UNS (2812) - 4/21/2011 10:53:09 AM
LMS (432) - 4/21/2011 10:53:01 AM
CamMute (240) - 4/21/2011 10:53:01 AM
rundll32 (4188) - 4/21/2011 10:56:08 AM
tpfnf7sp (4776) - 4/21/2011 10:56:11 AM
ntmulti (2212) - 4/21/2011 10:53:09 AM
nlnotes (5560) - 4/21/2011 11:09:42 AM
nvsvc32 (1816) - 4/21/2011 10:52:36 AM
PccNTMon (5004) - 4/21/2011 10:56:11 AM
tvtsched (2796) - 4/21/2011 10:53:09 AM
SUService (2992) - 4/21/2011 10:53:10 AM
tpnumlk (1016) - 4/21/2011 10:53:01 AM
Revu (4560) - 4/21/2011 11:17:17 AM
EXCEL (2588) - 4/21/2011 11:55:03 AM
jqs (1996) - 4/21/2011 10:53:01 AM
MDM (2192) - 4/21/2011 10:53:09 AM
svchost (612) - 4/21/2011 10:52:37 AM
ntaskldr (5536) - 4/21/2011 11:10:28 AM
nsd (1004) - 4/21/2011 10:53:01 AM
jucheck (4216) - 4/21/2011 11:01:15 AM
ibmpmsvc (1784) - 4/21/2011 10:52:36 AM
nslsvice (2176) - 4/21/2011 10:53:09 AM
CopitrakDesktop10 (2960) - 4/21/2011 10:56:06 AM
System (4) - 12/31/1600 7:00:00 PM
EvtEng (988) - 4/21/2011 10:53:01 AM
tvt_reg_monitor_svc (2760) - 4/21/2011 10:53:09 AM
jusched (592) - 4/21/2011 10:56:14 AM

================================================================================
===========================
================================================================================
===========================
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
================================================================================
===========================

You might also like