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:

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

For a complete example, refer to the your first DocuVieware ASP.NET Web Forms page 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.