Geeks With Blogs
Saqib Ullah BootStrapper Know How Security
System.Security.Cryptography.CryptographicException: Keyset does not exist or Access is denied issue.
This issue is related to permission on MachineKeys folder. I think this is right place where you should know what the determination of MachineKeys folder is. What is MachineKeys Folder? The MachineKeys folder stores certificate pair keys for both the computer and users. Both Certificate services and Internet Explorer use this folder. Possible reasons for getting this error message in your application are, may be your application using a certificate or your application trying to access a private key. ......

Posted On Wednesday, October 12, 2011 6:56 AM

How to Join Computer to a Domain (When DNS name does not exist)
When you are going to join any computer from domain controller the following error will be appeared on your computer screen. Full Error Message v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} Normal 0 false false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; ......

Posted On Sunday, October 9, 2011 7:44 AM

Available Logging Options
Logging is one the important part of any small or big application and selecting the right logging option is very crucial and the decision is made on the basis of logging time response (if you are working on the real time application like my CRM, Stock application), cost of logging implementation and in last at which level of logging you want in your application is very important. Yesterday I found a very interesting comparison between different available logging options; I felt I should share it ......

Posted On Wednesday, December 12, 2007 5:23 PM

An Exception 'System.TypeInitializationExpection' has occurred
Yesterday when one of my team members opens his project in Visual Studios 2005 he is getting very strange exception. Exception: An Exception 'System.TypeInitializationE... has occurred in XXXXXXXX-X-XXXXXXXXXXXXXXXXXX. Replace X’s with chars and its different on every machine. Click OK and Visual Studio 2005 is shutdown. Everyone in my team scratch their heads oooooooH! my God what the matter it is. Our project is integrated with Visual Source Safe and every one opens the project from VSS. ......

Posted On Sunday, July 8, 2007 9:46 PM

Apply Rights on File
This following code create a file and give right only to the "localAdmin" user in my case “localAdmin” is administrator. Next time if you login from guest account and try to access the same file so you will get error message of access deined because user not have the rights. using System; using System.IO; using System.Data; using System.ComponentModel; using System.Security.AccessControl; using System.Security.Principal; namespace Permission { public partial class CreatePermissoinFile { ///<summary> ......

Posted On Monday, May 28, 2007 7:47 PM

Call assembly from partial trust code
In my last blog we saw the Web application trust levels, how we configure trust level from the application. Strong-named assemblies must be stored in the GAC (short of global assembly cache). By default, strong-named assemblies will not grant access to partially trusted code, because of the visibility of strong-named assemblies in the global assembly cache is high. What going on when partial trusted application call the Full trusted assembly. If the calling assembly marks with the APTCA (short of ......

Posted On Friday, April 13, 2007 4:01 PM

Web Application trust
Full trust By default, Web applications run with full trust. Full-trust applications are granted unrestricted code access permissions like calling unmanaged code, windows service, event logging, open database connection and Microsoft Messaging queues. When application trust level is set to “Full” it means that the web application only can’t access through the resource that is restricted by the operating system level-security. .Net framework allows us to configure the trust level at the machine and ......

Posted On Wednesday, April 11, 2007 12:03 PM

Password with System.Security.SecureString Class in .Net 2.0
There is a new class, System.Security.SecureString . To understand the purpose of this class, think about eg. a password. You probably never want anyone to see the password, but if you store it in a simple System.String instance there are some security risks. For example, how do you get rid of the value when you've finished with the string? You can set the reference to the string to null , but the value itself is still in the managed heap. Indeed there may be several copies of it lurking around if ......

Posted On Wednesday, November 29, 2006 11:52 PM

Copyright © Saqib Ullah | Powered by: