Ads

Saturday, 23 March 2013

Command to add DLL into GAC in window server 2008

Typically we drag and drop a dll  While adding it to GAC. It works for window 2000 and 2003 but in window 2008 it shows an error "Access is Denied".
So to add a dll into GAC we need to use the gacutil command in window 2008.
Step -1
   Open the command prompt with 'Run as Administrator'.
Step - 2
   set the path for the gacutil command
   >cd C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin
Step -3
 Run the gacutil command
  C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin>gacutil.exe -if "path of the dll"

No comments:

Post a Comment

Ads