TX Sheet Control

Installation Problems

Topic

Most installation problems of TX Sheet Control come from a package source, a version or a path. Find the message you see in the tables below: each names the cause and the fix. Problems after the installation, from loading a document to exporting it, are covered by Common Issues.

NuGet Packages

MessageCauseFix
error NU1301: Failed to retrieve information about 'TXTextControl.TXSheetControl.Server' … with Response status code does not indicate success: 401 (Unauthorized).The API token in your nuget.config has expired or is wrong.Get a new nuget.config, as Token Validity on the NuGet page describes.
error NU1101: Unable to find package TXTextControl.TXSheetControl.Server. No packages exist with this id in source(s): nuget.orgNuGet does not know the Text Control feed or the nuget folder. Your nuget.config is not in the folder of the project or solution, or in one of its parents.Copy nuget.config next to your solution file, or add the nuget folder as a source.
error NU1101: Unable to find package Microsoft.ClearScript.V8. No packages exist with this id in source(s): …nuget.org is not a package source. The cause is dotnet add package --source, or a nuget.config with <clear /> that lists no nuget.org.Keep nuget.org as a source, as Install From the nuget Folder shows.
error CS0246: The type or namespace name 'TXTextControl' could not be found after a successful restoreThe project targets a .NET version before 10. The restore succeeds, but the package contains assemblies for .NET 10 only.Set <TargetFramework>net10.0</TargetFramework> in the project file.

npm Packages

MessageCauseFix
npm ERR! code E404 for @txtextcontrol/tx-sheet-control or @txtextcontrol/tx-sheet-control-serverThe package was installed by name from the npm registry, where it is not published.Install the archive from the npm folder of the download, as Install the npm Packages shows.
npm ERR! code ENOENT with the path of a .tgz file, in npm install or npm ciThe archive is not at the path that package.json records, for example on a build server or another developer's computer.Keep the archive in the project and commit it, as Add the Archive to Your Project describes.
npm ERR! code ERESOLVE with Found: @angular/core@21…The Angular component requires Angular 22.Update the application to Angular 22.
npm WARN EBADENGINE for @txtextcontrol/tx-sheet-control-serverNode.js is older than version 22.Use Node.js 22 or newer.

The Editor in the Browser

MessageCauseFix
"A font catalog requires an HTTP or HTTPS URL."The page was opened from the file system.Serve the page over HTTP or HTTPS.
"Could not load font catalog: HTTP 404"The fontCatalogURL option does not point at the deployed catalog.json. Without the option, the editor requests /sheet-fonts/catalog.json.Set fontCatalogURL to the URL of the catalog.json in the folder you deployed, as Use the Browser Files shows.
ReferenceError: TXTextControl is not definedThe page does not load tx-sheet-control.min.js, or loads it after your code.Check the path of the script and load it before your code.
LicenseMissing: TX Sheet Control requires a valid license.The license option is not set.Pass the contents of tx-sheet-control.license, as Licensing describes for this and the other license errors.

Next Steps