eventlog GetCategories() Exception
Kenji
✭
Hello all
EventLog log = aController.EventLog;
EventLogCategory[] cat;
EventLogCategory[] cat;
cat = log.GetCategories(); ----->Exception
System.IO.FileNotFoundException was unhandled
Message=?-??3?%_?^??O+?rs?-+?a_,
Source=ABB.Robotics.Controllers
StackTrace:
at ABB.Robotics.Controllers.Internal.FileSystem.PostProcessCmd(FileSystemCmd cmd)
at ABB.Robotics.Controllers.Internal.FileSystem.EndDownloadFile(IAsyncResult ar)
at ABB.Robotics.Controllers.Internal.FileSystem.Download(String source, String destination, Boolean overwrite)
at ABB.Robotics.Controllers.Internal.FileSystem.DownloadToTemp(String source)
at ABB.Robotics.Controllers.Internal.EventLog.Download(String path)
at ABB.Robotics.Controllers.Internal.EventLog.DownloadAndParseCategories(String path)
at ABB.Robotics.Controllers.Internal.EventLog.LoadCategories()
at ABB.Robotics.Controllers.Internal.EventLog.GetCategories()
at ABB.Robotics.Controllers.EventLogDomain.EventLog.GetCategories()
at ConsoleApplication5.Program.Main(String[] args) C:UsersAdministratorDocumentsVisual Studio 2010ProjectsIRB140_01072012ConsoleApplication1Program.cs:
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
Message=?-??3?%_?^??O+?rs?-+?a_,
Source=ABB.Robotics.Controllers
StackTrace:
at ABB.Robotics.Controllers.Internal.FileSystem.PostProcessCmd(FileSystemCmd cmd)
at ABB.Robotics.Controllers.Internal.FileSystem.EndDownloadFile(IAsyncResult ar)
at ABB.Robotics.Controllers.Internal.FileSystem.Download(String source, String destination, Boolean overwrite)
at ABB.Robotics.Controllers.Internal.FileSystem.DownloadToTemp(String source)
at ABB.Robotics.Controllers.Internal.EventLog.Download(String path)
at ABB.Robotics.Controllers.Internal.EventLog.DownloadAndParseCategories(String path)
at ABB.Robotics.Controllers.Internal.EventLog.LoadCategories()
at ABB.Robotics.Controllers.Internal.EventLog.GetCategories()
at ABB.Robotics.Controllers.EventLogDomain.EventLog.GetCategories()
at ConsoleApplication5.Program.Main(String[] args) C:UsersAdministratorDocumentsVisual Studio 2010ProjectsIRB140_01072012ConsoleApplication1Program.cs:
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
0
Categories
- All Categories
- 5.5K RobotStudio
- 395 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