Error encountered: Requested registry access is not allowed, System.Security.SecurityException
Tech-Today

Error encountered: Requested registry access is not allowed, System.Security.SecurityException


Problem:
You have a dotnet application that reads key/value to the local registry but is restricted so you get the error.

Solution:
1.) Goto run and type regedit, the "Registry Editor" window will open.
2.) Navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security
3.) Right click on this folder and select "Permissions...", "Permissions for Security" window will open.
4.) Click Add then Advanced and finally click Find Now, in the lower part select ASPNET name (RDN).
5.) Click ok, ok then below "Permissions for ASP.NET Machine Account" click Read.
6.) Click ok then restart IIS.

How to restart IIS
1.) Open Control Panel->Administrative Tools->Internet Information Services
2.) Under Local Computer->Web Sites->Default Web Site click Stop Item then Start Item.




- Csharp Development
Could not find stored procedure 'dbo.aspnet_CheckSchemaVersion'.How to implement an ajaxcontrol toolkit cascading dropdown with databaseThe process account used to run ASP.NET must have read access to the IIS metabase (e.g. IIS://servername/W3SVC)Error...

- How To Install Selenium 1.0.10 On Firefox 4.0.1
Unfortunately it seems selenium doesn't support the latest version of firefox yet. To get around this security issue do the following: 1.) In firefox go to about:config. 2.) Click yes in the warning message 3.) The next screen is like a registry window...

- Asp Server Application Unavailable
If you ever encounter this error while setting up iis on your local machine or a virtual directory in the Internet Information Services and you look into the the Event Viewer and see the Application Logs: "Server Application Unavailable The web application...

- How To Setup A Magento System In A 1and1 Vps Server 2 - Updating The Default 1and1 Php Image Installed
For this you must have a root access to your database There is a built it script to test your system whether it is ready for magento deployment or not, you can download it here: http://www.magentocommerce.com/knowledge-base/entry/how-do-i-know-if-my-server-is-compatible-with-magento...

- How To Remove Kbdrv16.com, Lsass.exe, Usb-hi.exe
Just last night I copied a file from a USB of my apartment mate and I noticed that there was something wrong the way the explorer is showing. I inspect my system and found two instances of services.msc in windows task manager [press ctrl + shift + esc]...



Tech-Today








.