Skip to main content
1-Visitor
November 27, 2021
Question

using Automation interface to 'Reconcile model'

  • November 27, 2021
  • 2 replies
  • 2275 views

Hello, 

 

I have a issue in using Automation interface to 'Reconcile model' using  vbscript error. 

I am using below coomand but getting error( cannot use parenthesis when calling a sub):

---------------------

Set objManager = CreateObject("Studio.ModelManager")
objManager.ReconcileModel("\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1","C:\MyLogFiles\MyLogFile.txt")

-----------------

When i remove parenthesis,  get a error ( wrong number of arguments or invalid property assignment). 

 

your feedback is appreciated. 

 

Thanks, 

 

2 replies

16-Pearl
November 29, 2021

Hello,

I've moved this to a new thread, it should not have been posted in the previous thread as it's not related.

If you have a Support contract, you can raise with them for assistance with this. 

 

regards, Patrick

24-Ruby III
November 29, 2021
24-Ruby III
November 29, 2021

Here are some helpful articles:

1-Visitor
November 29, 2021

The problem is not when i reconcile through 'Model explorer' but when i do it using Automation interface custom script . using the below VBS script. I am unable to pass two parameters. it says not to use parenthesis if i remove ,it says wrong number of parameters. 

 

Set objManager = CreateObject("Studio.ModelManager")
objManager.ReconcileModel("\\SQL\MyServer@MODELER\MyDatabase\MyModel\0.0.1","C:\MyLogFiles\MyLogFile.txt")

 

urgent!!

 

Thanks,