FileNotFoundException with EventHandler and NetworkWatcherEventArgs
Can you help me determine why the application throws an exception? Is there other information I can provide? The application runs fine on the development PC, but not on the production PC. Thank you.
1. Exception text: System.IO.FileNotFoundException
2. Dev environment: Visual Studio 2010, C#, Windows 7 64-bit
3. Exception occurs when attempting to create event handlers:
this.Found += new EventHandler<NetworkWatcherEventArgs>(robot_Found);
this.Lost += new EventHandler<NetworkWatcherEventArgs>(robot_Lost);
4. Installed PCSDK on the destination PC
5. VS references:
6. If the event handler lines of code are removed, and nothing else within the code attempts to communicate with the robot, the application runs fine.
7. Developed with RobotStudio 6.028. Dev pc directory config:
Comments
-
I think the destination pc is missing the proper robot comm runtime. I am attempting to install 6.02 but am receiving the below error during installation. I am installing with admin rights. Any guesses?
0
Categories
- All Categories
- 5.4K RobotStudio
- 383 UpFeed
- 14 Tutorials
- 12 RobotApps
- 291 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 247 ScreenMaker
- 2.7K Robot Controller
- 279 IRC5
- 46 OmniCore
- 6 RCS (Realistic Controller Simulation)
- 3 RobotStudio AR Viewer
- 734 RAPID Programming
- 15 Wizard Easy Programming
- 105 Collaborative Robots
- 3 Job listings