# Build 887 - ImportFBS.exe Bugs

**URL:** https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726
**Category:** Bugs
**Created:** [September 18, 2012, 1:20am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726 "2012-09-18T01:20:45Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 18, 2012, 1:20am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/1 "2012-09-18T01:20:45Z")

</div>

Unable to get the /log option to actually produce any of these errors, so I had to grab them out of CMD.exe. Looks like the majority of information is around LDAP authentication. Here is the security configured for Continua.

![](upload://sWX1G8p6Ddwi6RbljvDntuQE7FT.jpeg)

# Bug 1 - get command line options in command prompt

Trying to get the command line options (as per many other applications) with the /? command.

&nbsp;C:\Program Files\VSoft Technologies\ContinuaCI\Server\> **importfbs.exe /?** &nbsp;

The following error occurred importing Final Builder Server to Continua: System.&nbsp; Security.SecurityException: Failed to authenticate LDAP user.&nbsp;&nbsp;&nbsp;&nbsp; at Continua.Import.ContinuaConnection.Connect()&nbsp;&nbsp;&nbsp;&nbsp; at ImportFBS.Import.Main(String[] args)&nbsp; The Zone of the assembly that failed was:&nbsp; MyComputer

# Bug 2 - command line options with a really bad port call (http IIS port)

&nbsp;C:\Program Files\VSoft Technologies\ContinuaCI\Server\> **importfbs.exe /logpath=c:\&nbsp; Data\ /hostname=localhost /port=18080** &nbsp;

The following error occurred importing Final Builder Server to Continua: System.&nbsp; ServiceModel.ProtocolException: You have tried to create a channel to a service&nbsp; that does not support .Net Framing. It is possible that you are encountering an&nbsp; HTTP endpoint. ---\> System.IO.InvalidDataException: Expected record type 'Preamb&nbsp; leAck', found '72'.&nbsp;&nbsp;&nbsp;&nbsp; --- End of inner exception stack trace ---&nbsp;&nbsp;&nbsp; Server stack trace:&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.FramingDecoder.ValidatePreambleAck(FramingRec&nbsp; ordType foundType)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ClientDuplexDecoder.Decode(Byte[] bytes, Int3&nbsp; 2 offset, Int32 size)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ConnectionUpgradeHelper.ValidatePreambleRespo&nbsp; nse(Byte[] buffer, Int32 count, ClientFramingDecoder decoder, Uri via)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.SendPreambl&nbsp; e(IConnection connection, ArraySegment`1 preamble, TimeoutHelper& timeoutHelper)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.DuplexConne&nbsp; ctionPoolHelper.AcceptPooledConnection(IConnection connection, TimeoutHelper& ti&nbsp; meoutHelper)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(Time&nbsp; Span timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(Time&nbsp; Span timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp; Exception rethrown at [0]:&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(Tim&nbsp; eSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan&nbsp; timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.TlsnegoTokenProvider.OnOpen(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(Tim&nbsp; eSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open&nbsp; (TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.SymmetricSecurityProtocol.OnOpen(TimeSpan tim&nbsp; eout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(Tim&nbsp; eSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChanne&nbsp; l`1.OnOpen(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperat&nbsp; ion(SecuritySessionOperation operation, EndpointAddress target, Uri via, Securit&nbsp; yToken currentToken, TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetToken&nbsp; Core(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan tim&nbsp; eout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecurit&nbsp; ySessionChannel.OnOpen(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.Channels.CommunicationObject.Open()&nbsp;&nbsp;&nbsp; Exception rethrown at [1]:&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage req&nbsp; Msg, IMessage retMsg)&nbsp;&nbsp;&nbsp;&nbsp; at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgDa&nbsp; ta, Int32 type)&nbsp;&nbsp;&nbsp;&nbsp; at System.ServiceModel.ICommunicationObject.Open()&nbsp;&nbsp;&nbsp;&nbsp; at Continua.Shared.ServiceClient`1.Initialise()&nbsp;&nbsp;&nbsp;&nbsp; at Continua.Shared.ServiceClient`1.get\_Proxy()&nbsp;&nbsp;&nbsp;&nbsp; at Continua.Import.ContinuaConnection.Connect()&nbsp;&nbsp;&nbsp;&nbsp; at ImportFBS.Import.Main(String[] args)&nbsp;&nbsp;&nbsp; C:\Program Files\VSoft Technologies\ContinuaCI\Server\>

# &nbsp;Bug 3 - Command line options - different log path, server name

C:\Program Files\VSoft Technologies\ContinuaCI\Server\>**importfbs.exe /logpath=c:\  
Data\ /hostname=jdsrv07**

The following error occurred importing Final Builder Server to Continua: System.  
Security.SecurityException: Failed to authenticate LDAP user.  
&nbsp;&nbsp; at Continua.Import.ContinuaConnection.Connect()  
&nbsp;&nbsp; at ImportFBS.Import.Main(String[] args)  
The Zone of the assembly that failed was:  
MyComputer&nbsp;

# Bug 4 - Command line options - different log path

I did this test because I was concerned about the volume of files in&nbsp;C:\ProgramData\VSoft\FBServer7 and I'm not sure I could determine what's going on.

C:\Program Files\VSoft Technologies\ContinuaCI\Server\> **importfbs.exe /logpath=c:\Data\**

The following error occurred importing Final Builder Server to Continua: System.  
Security.SecurityException: Failed to authenticate LDAP user.  
&nbsp;&nbsp; at Continua.Import.ContinuaConnection.Connect()  
&nbsp;&nbsp; at ImportFBS.Import.Main(String[] args)  
The Zone of the assembly that failed was:  
MyComputer

# Bug 5 - Command line - no options

C:\Program Files\VSoft Technologies\ContinuaCI\Server\> **importfbs.exe**

The following error occurred importing Final Builder Server to Continua: System.  
Security.SecurityException: Failed to authenticate LDAP user.  
&nbsp;&nbsp; at Continua.Import.ContinuaConnection.Connect()  
&nbsp;&nbsp; at ImportFBS.Import.Main(String[] args)  
The Zone of the assembly that failed was:  
MyComputer

![ContinuaCI_887_ImportFSB_LDAP_settings.jpg](https://www.finalbuilder.com/forums/uploads/default/original/2X/c/cae6d7b6c7be34f1b26dd945509b8ab3c3d31a41.jpeg)

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [September 18, 2012, 6:30am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/2 "2012-09-18T06:30:54Z")

</div>

I am working on these ugly errors at the moment and the fix should be out either this afternoon or tomorrow. I will keep you posted!

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 18, 2012, 7:02am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/3 "2012-09-18T07:02:08Z")

</div>

Dave, np -\> enjoying finding bugs in others software at the moment.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [September 19, 2012, 7:00am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/4 "2012-09-19T07:00:43Z")

</div>

Fixes will be out in the next build! I added a whole bunch of prettier validation and all those errors should now be gone!

---

<div class="post-metadata">

### Author: ![Jenasys](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/jenasys/32/888_2.png) [@Jenasys](https://www.finalbuilder.com/forums/u/Jenasys)
#### Post date: [September 20, 2012, 8:17am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/5 "2012-09-20T08:17:12Z")

</div>

Dave,

Build 892 has this working. Wow, it's very quick.

1. Open cmd.exe
2. **runas /user:** _{continuadomainUser}_ **"cmd.exe"**
3. From the new user authenticated cmd window.
4. **cd&nbsp;C:\Program Files\VSoft Technologies\ContinuaCI\Server**
5. **ImportFBS.exe /?&nbsp;**
6. Command line options displayed. Cool
7. **ImportFBS.exe /logpath=**"_{A path on the server that I knew my continuaDomainUser could write to}_"
8. Worked very quickly.&nbsp;
9. Log file matched CMD echo messages.

Thanks! Just seeing if they work in continua now.

---

<div class="post-metadata">

### Author: ![davem](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/d/67e7ee/32.png) [@davem](https://www.finalbuilder.com/forums/u/davem)
#### Post date: [September 21, 2012, 1:31am UTC](https://www.finalbuilder.com/forums/t/build-887-importfbs-exe-bugs/5726/6 "2012-09-21T01:31:34Z")

</div>

No problem. The import was always designed to get as many settings across as possible but a little work will still need to be done to start running builds. As Vincent mentioned, FBS and Continua are quite different in terms of architecture so you will need to relink your final builder projects back into Continua. The import creates a placeholder for this action. Your feedback has been great and let me know if you have any more issues with the import or Continua!
