Global Assembly Cache Q

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.
 
P

Phil Wilson

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.
 
K

KA Kueh

Hi,

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

Regards,
Kueh.
 
P

Pavel Minaev

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top