# Starteam 2006 - automation issue

**URL:** <https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890>\
**Category:** Bugs\
**Created:** [September 6, 2007, 11:45am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890 "2007-09-06T11:45:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabienriaille](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@fabienriaille](https://www.finalbuilder.com/forums/u/fabienriaille)\
**Post date:** [September 6, 2007, 11:45am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/1 "2007-09-06T11:45:41Z")

</div>

Hello,  
I've just &nbsp;installed&nbsp;Starteam 2006&nbsp;cross platform&nbsp;client&nbsp; and our finalbuilder project (5.5.0.244) does not work anymore.  
To&nbsp;isolate the problem, i created a single "Run Script" action like :  
Dim lSTFinder, lSTView  
Set lStFinder = CreateObject("StarTeam.StStarTeamFinderStatics")  
Set lStView = lStFinder.openView("user:pwd@server:49201/...") \<- Error here  
set lStView = nothing  
Set lStFinder = nothing

Running the action raise the error: VBScript error line 3 : Automation is not managed by this class (my english translation)

- If i try to instanciate old SDK class (StarTeam.StStarTeamFinderStatics.11) it works for this method, but it failed later with the same msg, when using lStView,  
- Running the script in a vbs, outside FinalBuilder, is OK,

any idea ?

regards,

Fabien

---

<div class="post-metadata">

**Author:** ![fabienriaille](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@fabienriaille](https://www.finalbuilder.com/forums/u/fabienriaille)\
**Post date:** [September 11, 2007, 6:27am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/2 "2007-09-11T06:27:21Z")

</div>

A few more infos:   
  
 - i did not found anything about this bug in google,   
 - Our FB project running on a server where ST client has not been upgraded is still working, even if it is connecting to the Starteam 2006 Server,   
 - We have the same issue on another client laptop where ST client have been upgraded,   
  
 This issue is really blocking for us, since i do not see any workaround.   
  
 it would be helpful if we can know if someone can reproduce the problem or if someone managed to use successfully ST2006 SDK from FB scripts.   
  
 Regards,   
 Fabien

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [September 12, 2007, 2:16am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/3 "2007-09-12T02:16:58Z")

</div>

Sorry for the delay in getting back to you Fabien, we’ve been a bit snowed under this week.   
  
 The ST2006 SDK is downloading right now, I’ll let you know if we can reproduce the issue.   
  
 I take it that the problem is only when using custom scripts like the one shown above, the actual StarTeam actions themselves are working properly?   
  
 Regards,   
  
 Angus

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [September 12, 2007, 3:12am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/4 "2007-09-12T03:12:22Z")

</div>

Hi Fabien,   
  
The script you gave is working for me here. The error appears to indicate that (possibly) a COM object was not registered properly. Have you tried installing on a machine which does not have an older version of the ST client and SDK already installed, or uninstalling and then reinstalling all StarTeam programs and the SDK?   
  
I can't explain why the code works properly from the .VBS file but not from FinalBuilder, in theory both of them should be using the exact same methods to execute the lines of script and to instantiate the object.   
  
A workaround may be to call the .VBS file from FinalBuilder, using the Execute Program and cscript.exe, or to make a .NET custom action package which utilises the .NET API.  
  
Regards,   
  
Angus

---

<div class="post-metadata">

**Author:** ![fabienriaille](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@fabienriaille](https://www.finalbuilder.com/forums/u/fabienriaille)\
**Post date:** [September 12, 2007, 11:32am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/5 "2007-09-12T11:32:18Z")

</div>

hello,   
 Thanks for testing. Indeed, uninstalling SDK 6.0 correct the problem that i described first.   
 In fact, the error occurs as soon as there are 2 SDK installed on the client, i saw the issue with :   
 - SDK 6.0 and SDK 9.3   
 - SDK 9.1 and SDK 9.3   
  
 This is quite strange because everything seems ok outside FB.   
 Nevertheless, uninstalling an old SDK raised another issue about SCC provider, but it does not concern this forum :).   
  
 Fabien

---

<div class="post-metadata">

**Author:** ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)\
**Post date:** [September 13, 2007, 3:04am UTC](https://www.finalbuilder.com/forums/t/starteam-2006-automation-issue/2890/6 "2007-09-13T03:04:13Z")

</div>

Hi Fabien,   
  
Glad it's all working for you now.  
  
- Angus
