Software Components

Site Search      

  Home     Products     Demos     Support     Customers     FAQ's     Links     Contact Us


Category:

Title:
Web application throws system exception when accessing system resources

Question:
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.

Answer:

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:

  1. Right-click the icon that you use to run the program, and then click Run as administrator.
  2. When you are prompted for an administrator password or for a confirmation, type the administrator password, or click Continue.

For some program icons, the Run as administrator option is not available on the shortcut menu. For these program icons, follow these steps:

  1. Right-click the icon that you use to run the program, and then click Properties. On the Shortcut tab, the Target box contains the location and the name of the program file.
  2. Open the folder that contains the program file.
  3. Right-click the program file, and then click Run as administrator.
  4. If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.

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:

  1. Right-click the icon that you use to run the program, and then click Properties.
  2. On the Compatibility tab, click to select the Run this program as an administrator check box, and then click OK.

The Compatibility tab is not available for some program icons. For these program icons, follow these steps:

  1. Right-click the icon that you use to run the program, and then click Properties. On the Shortcut tab, the Target box contains the location and the name of the program file.
  2. Open the folder that contains the program file.
  3. Right-click the program file, and then click Properties.
  4. On the Compatibility tab, click to select the Run this program as an administrator check box, and then click OK.

To use ASComm.NET in ASP.NET web applications running on web server:

Click here to read MSDN Tech Note

Top of page

 
 

Home / Products / Demos / Support / Customers / FAQ's / Links / Contact Us / Search


Copyright © 1997-2010 Automated Solutions, Inc. All rights reserved. Information in this document is subject 
to change without notice. Other products and companies referred to herein are trademarks or registered 
trademarks of their respective companies or mark holders.
E-mail:
Site design by: net10 Internet Services Inc.

 

 

Allen-Bradley Driver
ControlLogix Driver
PLC5 Driver
SLC500 Driver
MicroLogix Driver
Modbus/TCP Driver
Modbus RTU Driver
Modbus ASCII Driver
GE SRTP Driver

vs.net vb.net c#.net c++.net .net mmi hmi scada plc ocx activex vbx driver visual basic vb visual C++ delphi, c++ builder opc server opc client communications library c#.

allen-bradley a-b ab data highway dh dh+ df1 dh485 1747 1784 1785 1756 1769 kt ktx pktx pcmk ethernet tcp/ip 1747-uic 1761-net-eni enbt enet dhrio ethernet/ip cip csp ethernetip eip.

kf2 kf3 ke sst 5136-sd slc500 plc5 plc2 micrologix 1000 1100 1200 1500 rslinx aic aic+ pic controllogix rslogix softlogix 5800 rockwell intouch flexlogix processlogix compactlogix guardlogix 1756-L61 1756-L62 1756-L63 logix5550 logix5555 logix556x.

powerflex 160 160z 1305

modicon squared modbus rtu modbus ascii modbus plus modbus/tcp jbus memobus modconnect enron modbus sa-85 sa85 quantum momentum 984 wago schneider alliances altivar carriere inductel masterpact zelio collaborative automation powerlogic.

ge fanuc snpx 90/30 90/70 series90 series one srtp versamax pacsystems rx7i rx3i 90-70 90-30

plc direct automation direct directlogic dl05 dl06 dl105 dl205 dl305 dl305 dl240 dl250 dl260 dl330 dl340 dl350 dl430 dl440 dl450 ecom.

siemens s7 simatic ti305 koyo sr21 omron toshiba idec. 

sixnet ethertrak remotetrak sixtrak versatrak sitetrak.

automation process visualization wonderware intouch topserver kepserver rsview rsview32 intellution ifix dynamics control dde linx logix

iconics enron rslinx cimplicity national instruments citect citecthmi wincc labview labwindows lookout.

thermoflow thermo flow automation automate autopilot benchmark flow computer.

omni omniflow omni flow computer omni 3000 omni 6000 bristol babcock 3305

acromag busworks 900en 951en 952en 061en 962en 963en 964en 965en 966en 972en 973en 981en 982en 983en

913mb 914mb 917mb 918mb 924mb 932mb 934mb 942mb

901mb 902mb 903mb 904mb 905mb 906mb

hms anybus moxa nport niobrara sealevel systems seai/o

auma riester aumatic

abb totalflow triatek e-link

control technology corporation blue fusion prosoft technology