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.




Scheduler Service errors on startup

emails

I emailed support yesterday about this, but haven't heard anything back. Has anybody has similar trouble?

I’m getting 2 errors below when trying to start the scheduler service after installing it. My config file and error text is below. I’m using windows authentication for the main site, but turned back on basic only for the api and methods folders in IIS 7. My db install is an upgrade gemini installation from version 2.2.

 

Thanks for your help.

 

 

<configuration>

<configSections>

<section name="Gemini" type="CounterSoft.Gemini.Scheduler.ServiceConfigSection, CounterSoft.Gemini.Scheduler" />

</configSections>

<Gemini>

<Clients>

<Client WebServicesURL=http://myurl/gemini AuthenticationUsername="admin" AuthenticationPassword="admin">

</Client>

</Clients>

</Gemini>

</configuration>

 

Source: CounterSoft Gemini Scheduler.

System.Xml - Data at the root level is invalid. Line 1, position 1. -    at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   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)

   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.GetResponse[T](String url, Object o, RequestType r)

   at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()

   at CounterSoft.Gemini.Scheduler.SchedulerService.GetServiceManager(String url, String username, String password)

 

Source: Error starting Gemini Scheduler [3]

 

System.Xml - Data at the root level is invalid. Line 1, position 1. -    at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   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)

   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.GetResponse[T](String url, Object o, RequestType r)

   at CounterSoft.Gemini.WebServices.BaseService.WhoAmI()

   at CounterSoft.Gemini.Scheduler.SchedulerService.OnStart(String[] args)

 

kleesman
· 1
kleesman
Replies (2)
helpful
0
not helpful

The issue is due to the scheduler service not being able to connect to the web app at all because you are using windows authentication.

You have 2 options:

 

1.       Run the service as a domain account that is allowed to connect to Gemini (should be admin) and in the config of the scheduler specify the DOMAIN\User in the username but leave the password blank.

2.       Create a new forms authentication site for the scheduler to use. This site will point to the same database.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

I did option 1 which worked. Thanks.


kleesman
· 1
kleesman