Beruflich Dokumente
Kultur Dokumente
===========================
ERROR RAISED ON: 12/12/2012 10:22:27
================================================================================
===========================
================================================================================
===========================
ERROR INFORMATION
---------------------------------------------------------------------------------------------------------Error type: System.Runtime.InteropServices.COMException
Error source: My.Excel9.Interop
Error message: Old format or invalid type library. (Exception from HRESULT: 0x80
028018 (TYPE_E_INVDATAREAD))
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: FUJITSU-PC/FUJITSU-PC
Username: FUJITSU
Office version: N/A
Operating system version: Microsoft Windows NT 6.1.7601 Service Pack 1 : Microso
ft Windows 7 Ultimate 64-bit
Environment version: 2.0.50727.5466
System has runned: 0 day(s)
System directory: C:\Windows\system32
Processor name: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz
Working set: 21118976
================================================================================
===========================
================================================================================
===========================
CULTURE INFORMATION
---------------------------------------------------------------------------------------------------------Regional settings: id-ID
Culture info: Indonesian (Indonesia)
--------------------------------------------------------------------------------
--------------------------Calendar format
---------------------------------------------------------------------------------------------------------Calendar type: System.Globalization.GregorianCalendar
Algorithm type: SolarCalendar
Max supported date time: 31/12/9999 23:59:59
Min supported date time: 01/01/0001 0:00:00
Max two digits year: 2029
---------------------------------------------------------------------------------------------------------Date format
---------------------------------------------------------------------------------------------------------Long date format: dd MMMM yyyy
Short date format: dd/MM/yyyy
Long time format: H:mm:ss
Short time format: H:mm
---------------------------------------------------------------------------------------------------------Number format
---------------------------------------------------------------------------------------------------------Positive sign: + / Negative sign: Normal: 999.999.999,99
Currency: 999.999.999, Rp
Percent: 999.999.999,99 %
================================================================================
===========================
================================================================================
===========================
RETSCREEN INFORMATION
---------------------------------------------------------------------------------------------------------RETScreen directory: C:\Program Files (x86)\RETScreen\RETScreen4\
RETScreen programs directory: C:\Program Files (x86)\RETScreen\RETScreen4\Progra
m\
RETScreen version: RETScreen4 2011-09-07
LocalMachine manual language:
User current manual language:
User last RET file used: N/A
Buffered information (IN):
Buffered information (OUT):
Installation language: English
User default language:
User HWND combination:
================================================================================
===========================
================================================================================
===========================
SUPPLEMENTARY INFORMATION
---------------------------------------------------------------------------------------------------------Supplementary informations: N/A
================================================================================
===========================
================================================================================
===========================
RUNNING PROCESS AT START
--------------------------------------------------------------------------------
================================================================================
===========================
DETAILED PROCESS OF SELECTING OR OPENING A WORKBOOK
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Opening Workbook
---------------------------------------------------------------------------------------------------------RETScreen4Model version 2003 = "C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETSc
reen4\RETScreen4-.xlt"
RETScreen4Model version 2007-2010 = "C:\Users\FUJITSU\AppData\Roaming\RETScreen\
RETScreen4\RETScreen4-.xltm"
Excel Version : Excel 2010
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\FUJITSU\AppData\Roaming\RETScreen\RETScr
een4\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\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.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 2
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
Enabling events in Excel
Check point 13-1 -> Set at position 1 the worksheet named Parameter
Check point 13-2 -> Set at position 2 the worksheet named Start
Check point 13-3 -> Set at position 3 the worksheet named Load & Network
Check point 13-4 -> Set at position 4 the worksheet named Energy Model
Check point 13-5 -> Set at position 5 the worksheet named Energy Model
Check point 13-6 -> Set at position 6 the worksheet named Cost Analysis
Check point 13-7 -> Set at position 7 the worksheet named Emission Analysis
Check point 13-8 -> Set at position 8 the worksheet named Financial Analysis
Check point 13-9 -> Set at position 9 the worksheet named Risk Analysis
Check point 13-10 -> Set at position 10 the worksheet named Tools
Check point 13-11 -> Set at position 11 the worksheet named Window
Check point 13-12 -> Set at position 12 the worksheet named EET2
Check point 13-13 -> Set at position 13 the worksheet named EET
Check point 13-14 -> Set at position 14 the worksheet named Charts
Check point 13-15 -> Set at position 15 the worksheet named Language
Find the workbook corresponding
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm isAlreadyTrying=False
UserModelLanguage = "English"
InstallationLanguageChosen = "English"
UserLanguageChosen = ""
Writing the language chosen during the installation in the registry
Translating the workbook in the language chosen
Excel 2007 workbook saved template in the user folder
---------------------------------------------------------------------------------------------------------Opening Workbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScreen
4-.xltm
---------------------------------------------------------------------------------------------------------RETScreen4Model version 2003 = "C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETSc
reen4\RETScreen4-.xlt"
RETScreen4Model version 2007-2010 = "C:\Users\FUJITSU\AppData\Roaming\RETScreen\
RETScreen4\RETScreen4-.xltm"
Excel Version : Excel 2010
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\FUJITSU\AppData\Roaming\RETScreen\RETScr
een4\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\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.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 2
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
Enabling events in Excel
Check point 13-1 -> Set at position 1 the worksheet named Parameter
Check point 13-2 -> Set at position 2 the worksheet named Start
Check point 13-3 -> Set at position 3 the worksheet named Load & Network
Check point 13-4 -> Set at position 4 the worksheet named Energy Model
Check point 13-5 -> Set at position 5 the worksheet named Energy Model
Check point 13-6 -> Set at position 6 the worksheet named Cost Analysis
Check point 13-7 -> Set at position 7 the worksheet named Emission Analysis
Check point 13-8 -> Set at position 8 the worksheet named Financial Analysis
Check point 13-9 -> Set at position 9 the worksheet named Risk Analysis
Check point 13-10 -> Set at position 10 the worksheet named Tools
Check point 13-11 -> Set at position 11 the worksheet named Window
Check point 13-12 -> Set at position 12 the worksheet named EET2
Check point 13-13 -> Set at position 13 the worksheet named EET
Check point 13-14 -> Set at position 14 the worksheet named Charts
Check point 13-15 -> Set at position 15 the worksheet named Language
Find the workbook corresponding
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm
findCorrectWorkbook C:\Users\FUJITSU\AppData\Roaming\RETScreen\RETScreen4\RETScr
een4-.xltm isAlreadyTrying=False
UserModelLanguage = "English"
InstallationLanguageChosen = "English"
UserLanguageChosen = "English"
Reactivate the interaction between the user and Excel
Check point 23 - Set back the culture info to the one the user selected
Check point 24 -> End of the function
---------------------------------------------------------------------------------------------------------1 returning value : isWorkbookOpened = True
EOF - Open Workbook
---------------------------------------------------------------------------------------------------------Reactivate the interaction between the user and Excel
================================================================================
===========================