Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > how to edit the access right of C:\Windows\assembly\GAC_32\

Reply
Fix Vista Errors
Thread Tools Display Modes

how to edit the access right of C:\Windows\assembly\GAC_32\

 
 
MXC
Guest
Posts: n/a

 
      11-29-2009



I test website, ant get Compiler error: CS0016 Access is denied

Compiler need read files from C:\Windows\assembly\GAC_32\
I could not see the folders under C:\Windows\assembly\GAC_32\ in explorer.
and I can access these file from Command window so these files are there
I try to set the security let NETWORK SERVICE and IIS_IUSER have read right
but perperty window of assembly folder does not have security tab.

help and suggestion needed.
Thanks

 
Reply With Quote
 
Joe Morris
Guest
Posts: n/a

 
      11-29-2009
"MXC" <> wrote:

>I test website, ant get Compiler error: CS0016 Access is denied
>
> Compiler need read files from C:\Windows\assembly\GAC_32\
> I could not see the folders under C:\Windows\assembly\GAC_32\ in explorer.
> and I can access these file from Command window so these files are there
> I try to set the security let NETWORK SERVICE and IIS_IUSER have read
> right
> but perperty window of assembly folder does not have security tab.


This behavior is controlled by the "desktop.ini" file in %WINDIR%\Assembly.

You can restore "normal" behavior of Explorer when displaying files and
folders in the %WINDIR%\Assembly tree by adding a Registry entry:

Key: HKLM\SOFTWARE\Microsoft\Fusion
Data: "DisableCacheViewer"=dword:1

but after browsing through the assembly folder tree I would suggest that you
delete the Registry entry. There may be parts of the system that will break
if it's not set the way that God and Bill Gates (not necessarily in that
order) decreed.

I have no idea just *why* Microsoft wanted to play games with
visibility...but given the strange way that the developers at Microsoft
designed .NET I would not be surprised to find that they did it just to show
that they could make life even more difficult for IT support staff.

If you've got a compiler that's griping about getting access to the
assemblies I would investigate whether you've got something wrong with the
compiler, a .NET installation, or maybe an SDK since the behavior of
Explorer that you describe can be found not only on Vista but also XP and
Windows 7.

Joe Morris


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dear Microsoft - UAC (.png & wmp) issues should be addressed. JSandPC Windows Vista Administration 120 12-02-2008 05:42 PM
Access 2007 won't Operate Access 2002 File Ed K Windows Vista Installation 2 10-30-2007 03:38 AM
Re: MSFT Connect Officially Rejects Public Access to Bugs Chad Harris Windows Vista Installation 5 09-10-2006 05:40 AM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 10:00 AM
Pocket Access - Sync to Linked Table? Jason Gyetko ActiveSync 1 07-08-2004 04:55 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59