Global Assembly Cache Q

  • Thread starter Thread starter KA Kueh
  • Start date Start date
K

KA Kueh

Dear all,

I have compile a C# dll and needs to add it into the GAC of my Windows Vista
machine. I have permission denied error either using the gacutil or drag
and drop into the c:\window\assembly folder.

The following is configured.

1) UAC.
2) The machine is joined in the AD domain.
3) my user account is in the Administrators Group in my Domain.
4) Windows Vista Business SP1

My question what else do I need to do before I am allowed to install GAC
into the machine. Thanks.

Regards,
Kueh.
 
Stating what might be obvious, but being an administrator on a UAC system
doen't mean that you're always running with administrator rights. That's the
point of UAC. So make sure you explicitly run gacutil as administrator or
run Explorer as an administrator.
 
Hi,

How do I deploy application across the organization (within a domain) when I
need the administrator to run the gacutil? Thanks.

Regards,
Kueh.
 
Hi,

How do I deploy application across the organization (within a domain) when I
need the administrator to run the gacutil?   Thanks.

I can't say for gacutil specifically, but why not just create an .msi
installer that would deploy the assembly into GAC? That still needs
administrative permissions, but a domain administrator should be able
to do a domain-wide rollout remotely using the usual MSI tools and
techniques.
 
Back
Top