Call Savance Workplace Call Us: (248) 478-2555

Support Suite

User Login



 

Main

Knowledgebase: EIOBoard Server
Server Error in '/WebService' Application.
Posted by Robert Joseph on 12 November 2018 03:31 PM

Background:

The 'web.config' file holds different assemblies required for other applications to interact with the EIOBoard Server. Otherwise, the website will remain unaffected. 
Our various applications contact the EIOBoard Server through various services. This error can occur on a Kiosk, Mobile, Outlook Add-in, or Desktop application.

 

The Error Message reads:

Source: System.Web.Services
TargetSite: System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, System.Net.WebResponse, System.IO.Stream, Boolean)
HResult: -2146233079
StackTrace: at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at DAEIOBoard.EBWebService.Service.SQLLoadData(Byte[] bytSQLString)
at DAEIOBoard.DASavanceWS.OldLoadSQLFromWeb(String strSQL)
at EIOBoardKioskPC.DataAccess.LoadSQLFromWeb(String strSQL)

Resolution:
If the error message points you to line numbers ranging from 131 through 159, you are missing a necessary assembly. Open the web.config file and search for "DirectoryServices".
A well-formed line requires this entry:
  <add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />