When you run your web application, ASComm.NET throws a system exception:
System.Exception: ASComm.NET unable to access registry: Access to the registry key 'HKEY_LOCAL_MACHINE\Software' is denied. ASComm.NET uses a machine locked licensing mechanism that requires access to the registry and Windows directory.
By default, ASP.NET applications and Visual Studio do not run with adequate privileges to allow access to the registry and Windows directory.
To use ASComm.NET in ASP.NET web applications inside Visual Studio.NET, start Visual Studio using the 'Run As Administrator' option.
To run a program as an administrator, follow these steps:
If you must run a program as an administrator, you may want to set up the program so that you automatically run it as an administrator. To do this, follow these steps:
The Compatibility tab is not available for some program icons. For these program icons, follow these steps:
To use ASComm.NET in ASP.NET web applications running on web server: