# Document Editor and Viewer

> Fix a Document Editor or Viewer that stays empty: not registered, WebSocket fails or drops, TXTextControl.init errors, a viewer script 401, React with Vite.

- **Product:** DS Server
- **Section:** Documentation
- **Kind:** Topic
- **Path:** DS Server > Troubleshooting > Document Editor and Viewer
- **Web URL:** https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/llms-full.txt

---

## On This Page

- [Find Out Where It Fails](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#find-out-where-it-fails)
- [The Editor or Viewer Says DS Server Is Not Registered](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#the-editor-or-viewer-says-ds-server-is-not-registered)
- [The Editor Can't Connect to the Server](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#the-editor-can-t-connect-to-the-server)
- [The Editor Loses Its Connection](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#the-editor-loses-its-connection)
- [TXTextControl.init Throws an Error](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#txtextcontrol-init-throws-an-error)
- [The Viewer Script Doesn't Load](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#the-viewer-script-doesn-t-load)
- [The React Component Isn't Rendered](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#the-react-component-isn-t-rendered)
- [Problems Fixed by an Update](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#problems-fixed-by-an-update)
- [Related Pages](https://docs.textcontrol.com/ds-server/troubleshooting/editor-viewer/#related-pages)

---

## Nearby

- **Previous:** [Authentication](https://docs.textcontrol.com/ds-server/troubleshooting/authentication/llms.txt)
- **Next:** [Linux](https://docs.textcontrol.com/ds-server/troubleshooting/linux/llms.txt)
