Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Unable to create a backup. Unhandled Exception error.  (Read 4118 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
Unable to create a backup. Unhandled Exception error.
« on: April 06, 2014, 04:31:39 pm »
Unable to create a backup. The following error appears in log:

Code: [Select]
Unhandled Exception: System.IO.IOException: The pipe has been ended.

 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
   at System.Xml.XmlUtf8RawTextWriter.FlushBuffer()
   at System.Xml.XmlUtf8RawTextWriter.RawText(Char* pSrcBegin, Char* pSrcEnd)
   at System.Xml.XmlUtf8RawTextWriter.RawText(String s)
   at System.Xml.XmlUtf8RawTextWriter.WriteStartElement(String prefix, String localName, String ns)
   at System.Xml.XmlUtf8RawTextWriterIndent.WriteStartElement(String prefix, String localName, String ns)
   at System.Xml.XmlWellFormedWriter.WriteStartElement(String prefix, String localName, String ns)
   at System.Xml.XmlWriter.WriteStartElement(String localName)
   at psadumpschema.MigrationDump.writeObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeSimpleObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeSimpleObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeSimpleObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeSimpleObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeObject(XmlWriter xmlwriter, Object Object, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.writeToStream(Stream stream, Object objectToWrite, Int64& cidSize, String startcidPath)
   at psadumpschema.MigrationDump.SerializeToStream(Stream stream, Int64& cidSize, String startcidPath)
   at psadumpagent.BackupDumpSerializer.serializeDumpToStreamProc(Object obj)
   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

The reason for the error is  files in Plesk folder were corrupted.
Resolution

    Download original msi package:

 
Code: [Select]
  http://autoinstall-win.pp.parallels.com/PANEL-WIN_10.4.4/dist-msi-Microsoft-2003-i386/plesk.msi
    Extract it to temporary folder:

   
Code: [Select]
msiexec /a plesk.msi /qb TARGETDIR=c:\testfolder\
    Replace %plesk_dir%\admin\plib folder with files from package.

Code: [Select]
    xcopy "C:\testfolder\Program Files\Parallels\Plesk\admin\plib\*" "C:\Program Files (x86)\Parallels\Plesk\admin\plib\" /W /E /Y
    Reinstall all microupdates

 
Code: [Select]
   "%plesk_dir%"\admin\bin\ai.exe --debug --console --select-product-id panel --select-release-current --reinstall-patch --install-component base