Veda2.0 Released!


Error when creating Set
#1
I am trying to create a new Set "MIN_COA", and get the error "Run time error 380 Invalid property value".

I have found this file: errors_guest.text in C;\Veda\Veda_BE

Error Log File for Guest[GuestOrg]
Starts From 6/10/2013 10:49:53 PM
*************************************************************

6/10/2013 10:49:53 PM
Error in procedure OpenRecordSet_UsingADODB
Source = Microsoft JET Database Engine
Number = -2147217865
Description = The Microsoft Jet database engine cannot find the input table or query 'SetComments'.  Make sure it exists and that its name is spelled correctly.

And have also found the following errors in my error file,  in c:Veda\Veda_BE\Logs,
Version: 4.8.77
6/10/2013 10:00:55 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack
Veda_BE.frmCubes.MouseDown [486]
Table View:- [Electric Capacity]
    Attribute = VAR_Cap
    DataValues = PV
    ProcessSet = PP_COAL
    ProcessSet = PP_GAS
    ProcessSet = PP_HYDRO
    ProcessSet = PP_NUKE
    ProcessSet = PP_OIL
    ProcessSet = PP_XXX
   
Version: 4.8.77
9/10/2013 12:24:54 AM
Error in procedure codeSmart//
Source = Veda_BE
Number = 13
Description = Type mismatch
Error Stack  : Register Later()
Veda_BE.frmCubes.MouseDown [188]
Table View:- [T_8102013114354PM]
    Attribute = VAR_Eout
    Attribute = VAR_FIn
    Attribute = VAR_FOut
    DataValues = PV
    ProcessSet = ELE



Version: 4.8.77
9/10/2013 12:25:28 AM
Error in procedure codeSmart//
Source = Veda_BE
Number = 13
Description = Type mismatch
Error Stack
Veda_BE.frmCubes.MouseDown [188]
Table View:- [T_8102013114354PM]
    Attribute = VAR_Eout
    Attribute = VAR_FIn
    Attribute = VAR_FOut
    DataValues = PV
    ProcessSet = ELE
   

Thank you!


Reply
#2
Thanks for posting the error log.

1. is this everything you see in the log file?
2. are you trying to create this set from the cube view (right click) or from the main menu?
Reply
#3
I am very new at VBE, and don't have it's manual (if one exists. It didn't download with my installation). So I'll try to explain as best as I can from where I'm trying to create it.
I open VBE, go to Set, New Set, in the menu, and the press Create Set.

It may sound strange, but it may help. Yesterday, I created a set in a database, and an error message appeared, and closed VBE as usual in this case. If I try to see which sets exist in that database, the last one I was creating isn't showed. But if I try to recreate it, as soon as I type the name, the comments appear. So it seems the set is saved somewhere even if I can't see it. If I'm not wrong, this error when creating sets in any database started happening after that error.

Also, FYI, I use Gams 22.2 and had to delete the option not 0, in the gdx2veda file.

Below you can see all errors that exist in my log file (older than today). Sorry if it's too long.
Thanks


Version: 4.8.77
2/10/2013 12:13:56 AM
Error in procedure codeSmart//
Source = Veda_BE
Number = 53
Description = File not found
Error Stack  : Register Later() : cmdOK_Click() : PerformTasks() -> Stage 3 : PerformArchive()
Veda_BE.modIARD.PerformArchive [122]

Version: 4.8.77
6/10/2013 9:30:33 PM
Error in procedure codeSmart//
Source =
Number = 0
Description =
Error Stack  : Register Later() : cmdView_Click -> Stage 11 : ViewTables() -> Stage 5 : ProcessQuery() -> Stage 4
Veda_BE.modViewCube.ProcessQuery_1 [532]
Table View:- [T_610201393023PM]
    DataValues = PV
    Scenario = BASE-GGX
   


Version: 4.8.77
6/10/2013 10:00:51 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack  : Register Later()
Veda_BE.frmCubes.MouseDown [482]
Table View:- [Electric Capacity]
    Attribute = VAR_Cap
    DataValues = PV
    ProcessSet = PP_COAL
Version: 4.8.77
6/10/2013 10:00:53 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack
Veda_BE.frmCubes.MouseDown [484]
Table View:- [Electric Capacity]
    Attribute = VAR_Cap
    DataValues = PV
    ProcessSet = PP_COAL
Version: 4.8.77
6/10/2013 10:00:55 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack
Veda_BE.frmCubes.MouseDown [486]
Table View:- [Electric Capacity]
    Attribute = VAR_Cap
    DataValues = PV
    ProcessSet = PP_COAL
Version: 4.8.77
6/10/2013 10:00:58 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack
Veda_BE.frmCubes.MouseDown [488]
Table View:- [Electric Capacity]
    Attribute = VAR_Cap
    DataValues = PV
    ProcessSet = PP_COAL
Version: 4.8.77
6/10/2013 10:06:47 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack  : AlterFnlTbl() : cmdView_Click -> Stage 12
Veda_BE.frmVeda.cmdView_Click [328]
Table View:- [Electric New Builds]
    Attribute = VAR_Ncap
    DataValues = PV
Version: 4.8.77
6/10/2013 10:06:55 PM
Error in procedure codeSmart//
Source = Veda_BE
Number = 91
Description = Object variable or With block variable not set
Error Stack  : AlterFnlTbl() : cmdView_Click -> Stage 12
Veda_BE.frmVeda.cmdView_Click [328]
Table View:- [Electric New Builds]
    Attribute = VAR_Ncap
    DataValues = PV
    Process = EG-CFOST0660
Version: 4.8.77
9/10/2013 12:24:54 AM
Error in procedure codeSmart//
Source = Veda_BE
Number = 13
Description = Type mismatch
Error Stack  : Register Later()
Veda_BE.frmCubes.MouseDown [188]
Table View:- [T_8102013114354PM]
    Attribute = VAR_Eout
    Attribute = VAR_FIn
    Attribute = VAR_FOut
    DataValues = PV
    ProcessSet = ELE
Version: 4.8.77
9/10/2013 12:25:28 AM
Error in procedure codeSmart//
Source = Veda_BE
Number = 13
Description = Type mismatch
Error Stack
Veda_BE.frmCubes.MouseDown [188]
Table View:- [T_8102013114354PM]
    Attribute = VAR_Eout
    Attribute = VAR_FIn
    Attribute = VAR_FOut
    DataValues = PV
    ProcessSet = ELE
   


Reply
#4
In the end, the error (380) was originated by me believing that to create a Set, first, I had to write its name and then select the items contained in it. And it has to be done exactly opposite, first, press New Set, Select items that are going to be contained or not in the Set, and then pressing Create Set and identifying it by its name.
Thank you Amit for your help!!

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error: the filed is too small to accept the amount of data qzaus 2 2,917 20-03-2021, 09:24 AM
Last Post: AKanudia
  Run-time error '339' - 'msint.ocx' Simon Andersen 1 2,478 19-02-2021, 06:28 PM
Last Post: Ravinder
  Error import results to VEDA-BE due to access 2GB limit lisa.kvalbein@ife.no 9 10,192 20-05-2020, 03:09 PM
Last Post: AKanudia
  Automation error-The object invoked has disconnected from its clients. ach 0 2,285 10-12-2019, 01:59 AM
Last Post: ach
  "Missing Tables" error message Giulia Realmonte 0 2,843 13-06-2018, 08:58 PM
Last Post: Giulia Realmonte
  Veda BE "Error 0" tnapp 9 21,337 14-10-2017, 09:18 PM
Last Post: AKanudia
  Creating topology diagram with results values anadeveza 1 6,854 14-06-2017, 05:44 PM
Last Post: AKanudia
  Creating TIMES run results for Import into VEDA-BE Shfa 1 6,542 10-11-2015, 05:29 AM
Last Post: AKanudia
  Error saving database sara 5 10,238 07-03-2014, 12:00 AM
Last Post: sara
  Error when importing to VEDA_BE Pernille.S 1 5,865 11-09-2013, 05:41 AM
Last Post: AKanudia

Forum Jump:


Users browsing this thread: 1 Guest(s)