Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.

'--' is an unexpected token. The expected token is '>'. Line 81, position 5.


When using the Gemini Web Services SDK, I am getting the following exception when calling the SaveCustonFieldData method on the CustomFieldsService, any ideas?

Unhandled exception. (Exception Type: System.Reflection.TargetInvocationException) Exception has been thrown by the target of an invocation. (Exception Type: System.Xml.XmlException) '--' is an unexpected token. The expected token is '>'. Line 81, position 5. System.Xml.XmlTextReaderImpl.Throw(Exception e) System.Xml.XmlTextReaderImpl.DtdParserProxy.System.Xml.IDtdParserAdapter.Throw(Exception e) System.Xml.DtdParser.Throw(Int32 curPos, String res, String[] args) System.Xml.DtdParser.ScanClosingTag() System.Xml.DtdParser.ParseEntityDecl() System.Xml.DtdParser.ParseSubset() System.Xml.DtdParser.Parse(Boolean saveInternalSubset) System.Xml.XmlTextReaderImpl.ParseDoctypeDecl() System.Xml.XmlTextReaderImpl.ParseDocumentContent() System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) System.Xml.XmlDocument.Load(XmlReader reader) System.Xml.XmlDocument.Load(Stream inStream) CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream) CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream) CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) CounterSoft.Gemini.WebServices.BaseService.GetResponse[T](String url, Object o, RequestType r) CounterSoft.Gemini.WebServices.CustomFieldsService.SaveCustomFieldData(CustomFieldDataEN customFieldData)

· 1
Replies (1)
not helpful

Please make sure that you have enabled "All Verbs" for the ASHX file handler in IIS for the Gemini site. See: page 19

Saar Cohen
· 5000
Saar Cohen