---
title: "Registering DocuVieware license keys"
canonical_url: "https://www.nutrient.io/guides/docuvieware/registering-docuvieware/"
md_url: "https://www.nutrient.io/guides/docuvieware/registering-docuvieware.md"
last_updated: "2026-05-18T15:55:45.958Z"
description: "Learn how to register DocuVieware for development and production deployment using the appropriate license keys."
---

# Registering license keys

Register DocuVieware before getting started. Registration — also called unlocking — is mandatory for developing or deploying a DocuVieware-based application.

## License key types

There are two types of license keys:

- **Development license keys** — Use when deploying the software on development servers.

- **Production license keys** — Use when deploying the software on production servers.

Production license keys are longer than development license keys.

## Licensing for development

Use a development license key or a trial license key for development. You can’t develop or debug using a production license key.

Add the development key in the `Global.asax` file of your project:

```csharp

DocuViewareLicensing.RegisterKEY("YOUR-DEVELOPMENT-LICENSE-KEY");

```

For a complete example, refer to the [your first DocuVieware ASP.NET Web Forms page](https://www.nutrient.io/guides/docuvieware/asp-dotnet-web-forms/your-first-docuvieware-asp-dotnet-web-forms-page.md) guide.

## Licensing for production deployment

Choose one of the options outlined below.

### Single server deployment

1. Replace the development license key with the production license key in the `Global.asax` project file.

2. Rebuild and deploy the software.

### Multiple server deployment

Use this option to deploy to multiple servers or to avoid recompiling the project:

1. Comment out the licensing line in `Global.asax`.

2. Create a new text file in the project’s `App_Data/` directory called `dvlicense.txt`.

3. Add the production license key to `dvlicense.txt`.

> Use one method or the other, but not both at the same time. Using both methods causes DocuVieware to behave as if it’s in development mode.
---

## Related pages

- [Getting started](/guides/docuvieware/getting-started.md)
- [Changelog for DocuVieware](/guides/docuvieware/changelog.md)
- [DocuVieware and GdPicture.NET](/guides/docuvieware/docuvieware-and-gdpicture-dotnet.md)
- [Learning resources](/guides/docuvieware/learning-resources.md)
- [Code samples and examples](/guides/docuvieware/code-samples-and-examples.md)
- [DocuVieware deployment](/guides/docuvieware/deployment.md)
- [DocuVieware](/guides/docuvieware.md)
- [Server-side events in DocuVieware](/guides/docuvieware/server-side-events-in-docuvieware.md)
- [TWAIN acquisition in DocuVieware](/guides/docuvieware/twain-acquisition-in-docuvieware.md)
- [Updating DocuVieware](/guides/docuvieware/updating.md)

