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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 799 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings