Vous êtes sur la page 1sur 6

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

===========================
ERROR RAISED ON: 6/16/2012 6:25:21 PM
================================================================================
===========================
================================================================================
===========================
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: AWAN-PC/AWAN-PC
Username: AWAN
Office version: Excel 2007
Operating system version: Microsoft Windows NT 6.1.7600.0 : Microsoft Windows 7
Ultimate 32-bit
Environment version: 2.0.50727.4927
System has runned: 0 day(s)
System directory: C:\Windows\system32
Processor name: AMD Turion(tm) X2 Dual-Core Mobile RM-70
Working set: 19124224
================================================================================
===========================
================================================================================
===========================
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 2011-09-07
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. msseces (3148) - 6/16/2012 11:38:09 AM

2. StikyNot (3432) - 6/16/2012 11:38:15 AM


3. Idle Process
4. BTTray (3732) - 6/16/2012 11:38:19 AM
5. Idle Process
6. Idle Process
7. Idle Process
8. Idle Process
9. RtHDVCpl (3128) - 6/16/2012 11:38:09 AM
10. Idle Process
11. Idle Process
12. GrooveMonitor (3120) - 6/16/2012 11:38:09 AM
13. Idle Process
14. Idle Process
15. Idle Process
16. Idle Process
17. taskhost (2116) - 6/16/2012 11:37:54 AM
18. Idle Process
19. Idle Process
20. Idle Process
21. RETScreen (3876) - 6/16/2012 6:23:59 PM
22. Idle Process
23. Idle Process
24. Idle Process
25. Idle Process
26. Idle Process
27. E_FATIGEI (3660) - 6/16/2012 11:38:18 AM
28. Idle Process
29. Idle Process
30. Idle Process
31. Idle Process
32. Idle Process
33. GlobeTrotter Connect (3844) - 6/16/2012 11:38:21 AM
34. Idle Process
35. Idle Process
36. sidebar (3440) - 6/16/2012 11:38:15 AM
37. jusched (3240) - 6/16/2012 11:38:12 AM
38. Idle Process
39. RtkBtMnt (4020) - 6/16/2012 11:38:22 AM
40. Idle Process
41. Idle Process
42. Idle Process
43. DTLite (3420) - 6/16/2012 11:38:15 AM
44. Idle Process
45. Idle Process
46. Idle Process
47. Idle Process
48. Idle Process
49. explorer (2220) - 6/16/2012 11:37:54 AM
50. Idle Process
51. Idle Process
52. Idle Process
53. IEMonitor (2984) - 6/16/2012 11:38:26 AM
54. Idle Process
55. Idle Process
56. RETScreen (1200) - 6/16/2012 6:24:21 PM
57. Idle Process
58. Idle Process
59. DCSHelper (2576) - 6/16/2012 11:37:56 AM
60. Idle Process
61. Idle Process

62. dwm (2176) - 6/16/2012 11:37:54 AM


63. IDMan (3356) - 6/16/2012 11:38:14 AM
64. Idle Process
65. Idle Process
66. Idle Process
================================================================================
===========================
================================================================================
===========================
RUNNING PROCESS AT CRASH
---------------------------------------------------------------------------------------------------------1. msseces (3148) - 6/16/2012 11:38:09 AM
2. StikyNot (3432) - 6/16/2012 11:38:15 AM
3. Idle Process
4. BTTray (3732) - 6/16/2012 11:38:19 AM
5. Idle Process
6. Idle Process
7. Idle Process
8. Idle Process
9. RtHDVCpl (3128) - 6/16/2012 11:38:09 AM
10. Idle Process
11. Idle Process
12. GrooveMonitor (3120) - 6/16/2012 11:38:09 AM
13. Idle Process
14. Idle Process
15. Idle Process
16. Idle Process
17. taskhost (2116) - 6/16/2012 11:37:54 AM
18. Idle Process
19. Idle Process
20. Idle Process
21. Idle Process
22. Idle Process
23. Idle Process
24. Idle Process
25. Idle Process
26. Idle Process
27. E_FATIGEI (3660) - 6/16/2012 11:38:18 AM
28. Idle Process
29. Idle Process
30. Idle Process
31. Idle Process
32. Idle Process
33. GlobeTrotter Connect (3844) - 6/16/2012 11:38:21 AM
34. Idle Process
35. Idle Process
36. sidebar (3440) - 6/16/2012 11:38:15 AM
37. jusched (3240) - 6/16/2012 11:38:12 AM
38. Idle Process
39. RtkBtMnt (4020) - 6/16/2012 11:38:22 AM
40. Idle Process
41. Idle Process
42. Idle Process
43. DTLite (3420) - 6/16/2012 11:38:15 AM
44. Idle Process
45. Idle Process
46. Idle Process
47. Idle Process
48. Idle Process

49. Idle Process


50. explorer (2220) - 6/16/2012 11:37:54 AM
51. Idle Process
52. Idle Process
53. Idle Process
54. IEMonitor (2984) - 6/16/2012 11:38:26 AM
55. Idle Process
56. Idle Process
57. RETScreen (1200) - 6/16/2012 6:24:21 PM
58. Idle Process
59. Idle Process
60. DCSHelper (2576) - 6/16/2012 11:37:56 AM
61. Idle Process
62. Idle Process
63. dwm (2176) - 6/16/2012 11:37:54 AM
64. IDMan (3356) - 6/16/2012 11:38:14 AM
65. Idle Process
66. Idle Process
================================================================================
===========================
================================================================================
===========================
DETAILED PROCESS OF SELECTING OR OPENING A WORKBOOK
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Opening Workbook
---------------------------------------------------------------------------------------------------------RETScreen4Model version 2003 = "C:\Users\AWAN\AppData\Roaming\RETScreen\RETScree
n4\RETScreen4-.xlt"
RETScreen4Model version 2007-2010 = "C:\Users\AWAN\AppData\Roaming\RETScreen\RET
Screen4\RETScreen4-.xltm"
Excel Version : Excel 2007
Setting the path for the Excel 2007 Template :APPLICATION_DATA_FOLDER + RETSCREE
N_PATH + APP_DATA_MODEL2007_NAME
---------------------------------------------------------------------------------------------------------Select Workbook
1 parameter : The file path : "C:\Users\AWAN\AppData\Roaming\RETScreen\RETScreen
4\RETScreen4-.xltm"
---------------------------------------------------------------------------------------------------------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:\Users\AWAN\AppData\Roaming\RETScreen\RETScreen4\RETScreen
4-.xltm
findCorrectWorkbook C:\Users\AWAN\AppData\Roaming\RETScreen\RETScreen4\RETScreen
4-.xltm 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
================================================================================
===========================

Vous aimerez peut-être aussi