Corrupted .bps files

BatchPatch Forums Home Forums BatchPatch Support Forum Corrupted .bps files

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8792
    laurie
    Participant

    Hi

    I am testing running BP as a service but each morning I find the service has stopped or is in some zombie state and the .bps files are corrupted.

    I must be doing something wrong so here is my setup, hopefully someone can see my error.

    Job is

    1) Wake on LAN

    2) Wait 10 mins

    3) Wait for host to have zero logged on users

    4) Download and install updates

    5) Wait for host to have zero logged on users

    6) Get pending reboot status and reboot if required

    7) Wait 5 minutes

    8) Wait for host to be detected online

    9) Shutdown normally

    I then schedule this job to run at 1:30 am

    I then run the .bps file as service

    #10049
    laurie
    Participant

    Sorry. Forgot to post and example of a corrupted file

    Importing xml failed. System.Xml.XmlException: Unexpected end of file while parsing Name has occurred. Line 19231, position 15.

    at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)

    at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32 startOffset, Int32& colonPos)

    at System.Xml.XmlTextReaderImpl.ParseElement()

    at System.Xml.XmlTextReaderImpl.ParseElementContent()

    at System.Xml.XmlLoader.LoadNode(Boolean skipOverWhitespace)

    at System.Xml.XmlLoader.ReadCurrentNode(XmlDocument doc, XmlReader reader)

    at System.Xml.XmlDocument.ReadNode(XmlReader reader)

    at System.Data.DataSet.ReadXml(XmlReader reader, Boolean denyResolving)

    at A.c7bcc5d48887530943ee9cb5a8f165204.cd7c4a60c9e2d1f71a4766d6c9ea43048_Encrypted$(c7bcc5d48887530943ee9cb5a8f165204 , String )

    #10050
    doug
    Moderator

    Hi Laurie – I’m sorry to hear that you are having trouble. From the information you provided I would not be able to tell you why the issue is occurring. I would need to review the actual .bps file to even have a chance at that. If you’d like to contact us via email (use the contact form on our website), then we can try to figure out what’s going on. Otherwise my guess is you won’t have any issues if you simply start a brand new grid from scratch. We have never seen this error occur or had any reports of it, so it’s likely something specific to your .bps file. Either it is legitimately corrupted, in which case you would definitely need to start a brand new file from scratch, or do you have any kind of process that might be trying to modify the file directly on disk rather than modifying it through BP? This would be another possible thing that could cause issues if the modifications do something to the file that is breaking the xml format in some way and thereby preventing the xmlreader from being able to consume the file without encountering an unexpected end. Aside from that I couldn’t really imagine that anything else could cause it.

    -Doug

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.