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.




Error "Root element is missing" when connecting to Gemini

api

Hi, Can somebody help me with resolving following problem. I have problem connecting from C# program via Web services to Gemini. I'm getting error "Root element is missing" when calling method GetMyWork() Connection is established via ssl, certifactes are added to trusted root centers. Did I make something wrong ?

Error stack trace is following : at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlTextReaderImpl.Read() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.Load(Stream inStream) at CounterSoft.Gemini.Commons.Rest.Serializer.ConvertToObject[T](Stream stream) at CounterSoft.Gemini.WebServices.BaseService.GetObjectFromResponse[T](Stream stream, Int64 length) at CounterSoft.Gemini.WebServices.BaseService.ThrowResponseException(WebResponse response) at CounterSoft.Gemini.WebServices.BaseService.ProcessResponse[T](String url, Object obj, RequestType requestType) at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()

Thank you in advance

User69824
· 1
User69824
Replies (8)
helpful
0
not helpful

Are you using windows authentication?


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Yes


User69824
· 1
User69824
helpful
0
not helpful

Make sure that anonymous access is turned of in IIS for the Gemini site.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

It is. On other wokrstations there is no such problem. Can it be user dependent ?


User69824
· 1
User69824
helpful
0
not helpful

Please try and use Fiddler (http://www.fiddler2.com/fiddler2/) to check the response from the server.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I have found origin of the problem, but still explanation on why it is like that and what is needed to overcome the problem is needed. It started working when I have specified not only login, but also password, which as I assumed (and it is working for others with the same IIS installation) is not needed since it is used windows authentication. So my question is - why it is like that for me and not for others. If it is not a bug of Gemini - what should be done to make Gemini use the same authentication for me ?


User69824
· 1
User69824
helpful
0
not helpful

Can you post your code? Did you set the service manager to use windows authentication?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Thanks. Issue is resolved by itself today after restarting of workstation. Probably we had problems with domain controller


User69824
· 1
User69824