RobotStudio event

RobotStudio .NET exception: End of Central Directory record could not be found

Any help on this will be greatly appreciated. Last night before leaving work I saved my robot studio station like normal. This morning when I started studio and tried to open the station this is the error I have. Any ide 

RobotStudio .NET exception: End of Central Directory record could not be found.
============================================
Base exception: InvalidDataException
End of Central Directory record could not be found.
   at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()
   at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen)
   at RobotStudio.API.Persistence.PimDocument.LoadZip(Stream fileStream, Int64 fileSize, String docType, Boolean readOnly, Nullable`1 requiredGuid)
   at RobotStudio.API.Persistence.PimDocument.InternalLoad(String fileName, String docType, Boolean readOnly, Nullable`1 requiredGuid)
   at RobotStudio.API.Persistence.PimDocument.Load(String fileName, String docType, Boolean readOnly, Boolean allowExisting, Nullable`1 requiredGuid, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
   at ABB.Robotics.RobotStudio.Stations.Station.Load(String fileName, Boolean asReadOnly, ProgressNotification progressDelegate, FileNotFoundNotification fileNotFoundDelegate, Boolean loadGeometry)
   at ABBInternal.FileCommands.FileCommandServices.OpenStation(String fileName, Boolean loadGeometry)
   at ABBInternal.FileCommands.RecentStationsCommandHandler.LoadRecentStationOrSolution(String fileName)
   at RobotStudio.Backstage.BackstageRecent.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
   at ABB.Robotics.RobotStudio.Environment.CommandBarButton.<RaiseExecuteCommand>d__0.MoveNext()

Comments

  • Looks like the file is corrupt unfortunately.
    What happens if you try to open the file in a zip tool (like 7zip)?
    Johannes Weiman
    Software Engineer
    RobotStudio Team, ABB Robotics
  • I haven't tried yet, but I will. Thanks!
  • Its a little late for scadkins, but maybe helps another people.
    I had the same problem today, the archive .rsstn was corrupted, so i open the station  not from it, but from StationBackups folder in Station folder.

  • TMiguel said:
    Its a little late for scadkins, but maybe helps another people.
    I had the same problem today, the archive .rsstn was corrupted, so i open the station  not from it, but from StationBackups folder in Station folder.

    Thank you man! I was super worried on a project I am working on.
  • Hello,

    RS should ask to open backup when main crash.