# Attempting to execute a Finalbuilder Server WebService throws an exception

**URL:** https://www.finalbuilder.com/forums/t/attempting-to-execute-a-finalbuilder-server-webservice-throws-an-exception/2081
**Category:** Discussion
**Created:** [February 13, 2013, 5:10am UTC](https://www.finalbuilder.com/forums/t/attempting-to-execute-a-finalbuilder-server-webservice-throws-an-exception/2081 "2013-02-13T05:10:00Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![karmasponge](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/4491bb/32.png) [@karmasponge](https://www.finalbuilder.com/forums/u/karmasponge)
#### Post date: [February 13, 2013, 5:10am UTC](https://www.finalbuilder.com/forums/t/attempting-to-execute-a-finalbuilder-server-webservice-throws-an-exception/2081/1 "2013-02-13T05:10:00Z")

</div>

Hello,

I'm running FinalBuilder Server v7.0.0.292 and can no longer access the web-services as they now throw an exception every time we access them.

They were previously working until I had to restart the machine because Finalbuilder Server refused to start any builds (and I could not bring the build service back up after stopping it).

Finalbuilder Server seems to be running fine but when I access the web services I get the following error message:

System.Runtime.Serialization.SerializationException: Type 'System.ServiceModel.ExceptionDetail' in Assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable.  
  
Server stack trace:&nbsp;  
&nbsp; &nbsp;at System.Runtime.Serialization.FormatterServices.InternalGetSerializableMembers(RuntimeType type)  
&nbsp; &nbsp;at System.Runtime.Serialization.FormatterServices.GetSerializableMembers(Type type, StreamingContext context)  
&nbsp; &nbsp;at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitMemberInfo()  
&nbsp; &nbsp;at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)  
&nbsp; &nbsp;at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)  
&nbsp; &nbsp;at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, \_\_BinaryWriter serWriter, Boolean fCheck)  
&nbsp; &nbsp;at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)  
&nbsp; &nbsp;at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.SerializeResponse(IServerResponseChannelSinkStack sinkStack, IMessage msg, ITransportHeaders& headers, Stream& stream)  
&nbsp; &nbsp;at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)  
  
Exception rethrown at [0]:&nbsp;  
&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)  
&nbsp; &nbsp;at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)  
&nbsp; &nbsp;at VSoftTechnologies.FinalBuilderServer.Remoting.IFBServerManager.GetProjectCollection(String authenticationToken, IProjectFilter Filter)  
&nbsp; &nbsp;at VSoftTechnologies.FinalBuilderServer.Web.Services.FinalBuilderServer.GetProjectNames(String authenticationToken)

We are using the web-services to populate our custom dashboard (using the 'GetProjects' webservice method).

Thanks.

Simon. K

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [February 13, 2013, 8:15am UTC](https://www.finalbuilder.com/forums/t/attempting-to-execute-a-finalbuilder-server-webservice-throws-an-exception/2081/2 "2013-02-13T08:15:15Z")

</div>

Hi Simon   
  
 Have a look in the windows eventlog, there must be something else happening, I don;t think this is the real exception. Has anything changed on your machine?

---

<div class="post-metadata">

### Author: ![karmasponge](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/4491bb/32.png) [@karmasponge](https://www.finalbuilder.com/forums/u/karmasponge)
#### Post date: [February 13, 2013, 9:10am UTC](https://www.finalbuilder.com/forums/t/attempting-to-execute-a-finalbuilder-server-webservice-throws-an-exception/2081/3 "2013-02-13T09:10:31Z")

</div>

Hi Vincent,

The exceptions definitely real and I can reproduce it through a browser talking directly to the webservices (through Services/Finalbuilderserver.asmx).

Upon further testing I found that if I leave the authentication token blank then it works. This is the&nbsp;opposite&nbsp;of what I had found before resetting the machine (and our dashboard had been working for over a week passing a non-null authentication token). So, yeah, wierd! (and kind of annoying).

Thanks,

Simon. K
