Troubleshooting Canvas
Once you have begun creating screens with Canvas, you might try something that doesn't go as expected including the following:
To Make a Suggestion
- Consider options to a current function or behavior you would like to see changed.
- Imagine or provide an example of how a specific option or feature could behave to really impress you.
- Send us your feedback. Ask us, tell us, or show us!
To Report an Issue
- Review the steps you took prior to the problem occurring.
- If possible, try reproducing the same process and seeing what results you get this time.
- Send us the exception report, including experience details.
To Reset your Workspace
If your workspace is in a state such that you want to just start fresh, you can:
- In the Backstage view, click Settings and then Settings folder to access your settings files.
- Close the Canvas application.
- Find the canvas.workspace file (Users\<CurrentUser>\AppData\Roaming\Canvas) and delete it. The workspace will be reset, and the file will be regenerated the next time Canvas is closed.
To Resolve a Compiler Error
- When you validate script, an error may be reported, such as:
"The type or namespace name '{X}' does not exist in the namespace 'CygNet.API' (are you missing an assembly reference?)"
- Perhaps the linked assembly is not located in the Global Assembly Cache, nor is it co-located with your Canvas application in the folder structure. If so, try the following:
- Copy the assembly to the same folder location as your Canvas.exe file.
- Restart your Canvas application.
- Validate the script to see if it compiles successfully.
To Resolve a Preview Error
When you preview a screen to view it in run mode, an error may occur, such as an expected CygNet value not resolving properly in your control. In this situation, perhaps the Point Tag format is incorrect. Try the following to learn more:
- Check your Canvas log file (for example, Canvas001.csv in the Users\<CurrentUser>\AppData\Local\CygNet\LogFiles\Canvas folder) to view more specific error messages or see additional details that could inform you about the error.
- Solve any likely issues that were found.
- Run the screen again to see if it now behaves as expected.