Situation: While Publishing ASP.NET files onto the remote server there will be no visual studio tools like gacutil.exe. So we can get doubt how can we add assemblies into gac folder (C:\windows\assembly\) without using gac. Here is the solution.

Solution:

1) Go to local Security Policy in windows 7.

Localsecuritypolicy

 

2) Goto Local Policies ——> Security Options—> User Account Control: Run All Administrators in Admin Approval Mode

 

UAC

UAC

 

 

3) By Default it will be Enabled . Disable it and Add the dlls into C:\windows\Assembly\

 

UAC Enable

UAC Enable

4) After adding again enable it and enjoy !!!

 

 

Advertisements