CounterSoft User Forums

Welcome to CounterSoft User Forums Sign in | Join | Help
Home Forums

Scheduler Service errors on startup

Last post 02-02-2010, 9:28 PM by kleesman. 2 replies.
Sort Posts:
  •  02-02-2010, 2:38 PM

    Scheduler Service errors on startup

    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)

     

  •  02-02-2010, 3:27 PM

    Re: Scheduler Service errors on startup

    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.

  •  02-02-2010, 9:28 PM

    Re: Scheduler Service errors on startup

    I did option 1 which worked. Thanks.
View as RSS news feed in XML