ChrisMDrew
asked on
Clearing the GAC
I'm running Windows 7 and Visual Studio 2010. I have a web site which I have just upgraded to the last version of the Infragistics controls. Now when I try to build the web site I get the error:
Error 15 The type 'Infragistics.WebUI.UltraW ebGrid.Lay outEventAr gs' exists in both 'c:\Users\ChrisD\AppData\L ocal\Temp\ Temporary ASP.NET Files\lime-republic.com\c1 30eabb\d15 89d7e\asse mbly\dl3\6 f514b3a\76 c1f8d5_bfc 6cb01\Infr agistics35 .WebUI.Ult raWebGrid. v10.3.DLL' and 'c:\Windows\assembly\GAC_M SIL\Infrag istics35.W ebUI.Ultra WebGrid.v1 1.1\11.1.2 0111.2036_ _7dd5c3163 f2cd0cb\In fragistics 35.WebUI.U ltraWebGri d.v11.1.dl l'
I have deleted all of the files from the users folder but they get re-created as soon as I start a build. I guess I need to clear the files out of the GAC but I don't seem to have the required access. I have just installed Windows 7 and am a bit of a novice with its security. I have tried simply rebooting but this does not clear the GAC.
For some reason I don't have a 'run as administrator' option when right-clicking an executable - I was going to use a freeware tool called GACBrowser but this also gets access denied.
How can I get around this problem?
Error 15 The type 'Infragistics.WebUI.UltraW
I have deleted all of the files from the users folder but they get re-created as soon as I start a build. I guess I need to clear the files out of the GAC but I don't seem to have the required access. I have just installed Windows 7 and am a bit of a novice with its security. I have tried simply rebooting but this does not clear the GAC.
For some reason I don't have a 'run as administrator' option when right-clicking an executable - I was going to use a freeware tool called GACBrowser but this also gets access denied.
How can I get around this problem?
Do you have a Web Site model or Web Application model (project file or not)?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks - one of my projects had an invalid reference which I hadn't spotted. Guess I'm just used to being an Infragistics bug/problem!
Snapshot.png