![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | ASP.NET MVC (Un)Installation Issue I'm not really sure which newsgroup best fit this question, so I apologize ahead of time if this message is off-topic. About a month ago, I started getting into ASP.NET MVC with Preview 4. Yesterday, I uninstalled Preview 4 and installed Preview 5. Upon doing so, I ran into an issue with running both new and existing MVC projects. Immediately upon running the application, the following exception is thrown: Could not load type 'System.Web.Routing.StopRoutingHandler' from assembly 'System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. I had already updated the project references from the Preview 4 assemblies to the Preview 5 assemblies, so I checked the GAC and noticed that the assemblies had indeed been registered. The problem is that the assemblies that are registered are for Preview 4 (I verified this by opening them in Reflector and observed that the System.Web.Routing.StopRoutingHandler class was non-existent) and I have been unable to unregister them. In an attempt to recover, I uninstalled Preview 5, which did not automatically unregister the assemblies. I then proceeded to attempt to manually unregister the assemblies. Running gacutil /uf resulted in the following error: Assembly could not be uninstalled because it is required by Windows Installer At this point, I'm not really sure how to recover from the error. In all honesty, I'm not sure if the Preview 4 installer registered the assemblies in GAC or if I did it. All I know is that I can't get them back out! Any ideas on what I can do to recover? Thank you in advance, Sean |
My System Specs![]() |
| | #2 (permalink) |
| | Re: ASP.NET MVC (Un)Installation Issue By the way, I forgot to mention that my development machine is running Windows Vista SP1. |
My System Specs![]() |
| | #3 (permalink) |
| | Re: ASP.NET MVC (Un)Installation Issue Fao, Sean wrote: Quote: > At this point, I'm not really sure how to recover from the error. In > all honesty, I'm not sure if the Preview 4 installer registered the > assemblies in GAC or if I did it. All I know is that I can't get them > back out! I've figured it out. The assemblies had a pin in the registry. To remove them, I went to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Assemblies\Global and removed the keys. Hope this helps somebody else! -- Sean |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Re: installation issue | Live Messenger | |||
| Installation Issue | Vista installation & setup | |||
| Installation Issue | Vista installation & setup | |||
| installation issue | Vista installation & setup | |||
| Installation Issue | Vista installation & setup | |||