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:
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
- Replace the development license key with the production license key in the
Global.asaxproject file. - Rebuild and deploy the software.
Multiple server deployment
Use this option to deploy to multiple servers or to avoid recompiling the project:
- Comment out the licensing line in
Global.asax. - Create a new text file in the project’s
App_Data/directory calleddvlicense.txt. - 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.