RS 5.60 - FAILED TO SAVE VIEWER
RobotStudio .NET exception: The given path's format is not supported.
============================================
Base exception: NotSupportedException
The given path's format is not supported.
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at RobotStudio.API.Persistence.PimDocument.SaveAs(String fileName, Boolean copy)
at ABB.Robotics.RobotStudio.Project.SaveCopyAs(String fileName)
at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.SaveLibs(IHasGraphicComponents ihg, String dir, Dictionary`2 saved)
at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.SaveLibs(IHasGraphicComponents ihg, String dir, Dictionary`2 saved)
at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.CreateViewer(Station stn, Boolean as64bit, String exeFileName)
at ABBInternal.StationManagement.StationViewer.StationViewerBuilderUI.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)
Please help ASAP.
Best regards,
blinder
Comments
-
The error messages complains about the path or filename. It seems that the problem is related to one of your libraries. Do you use very long filenames? Or are there letters in the path/filename that causes problems for the viewer?
Try the following (for the purpose of debugging):
* Save the viewer to C:\temp or another folder with a short name and use a short standard with only a-z characters in the name.
* Check the names of your libraries of your station. Simplify library naming (short names, a-z) and try again. (Disconnect library -> Rename -> Save As Library)
* Disconnect the libraries to make them saved with the station instead of as separate files and try again.
* Don't save to a network disk.
The items above should normally not cause any problems, but it seems as if there is a bug hiding somewhere.
We are really interested in following the progress of your issue.
Kind regards,
Henrik
Henrik Berlin
ABB1 -
Thank you very much Henrik.
Problem was probably with libraries, because short saving path I have already tried before posting.
Benteler Maschinenbau CZ0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 785 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 4 Job listings