|
View:
New views
14 Messages
—
Rating Filter:
Alert me
|
|
|
AnkhSVN-users Installation problems with VistaHi,
I've been trying to install 1.0.0.2668-RC4 under Vista (RTM, Home Premium), and not had much success. The installer appears to work okay (in that it doesn't complain) but when I start Visual Studio 2005 (Pro), I get an error message as follows: "The Add-in 'AnkhSVN failed to load or caused an exception. Would you like to remove this Add-in? If you choose yes, you will need to reinstall the Add-in to use it again. Error Message: Class not registered Error number: 80040154" Is anyone else running AnkhSVN on Vista RTM? Is this a known issue fixed post RC4? I've searched around and not found anything, but there may be somewhere I should have checked that I wasn't aware of... Many thanks, Jon Skeet --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: AnkhSVN-users Installation problems with Vista> -----Original Message----- > From: Jon Skeet [mailto:skeet@...] > Sent: Friday, January 19, 2007 9:11 AM > To: users@... > Subject: AnkhSVN-users Installation problems with Vista > > Hi, > > I've been trying to install 1.0.0.2668-RC4 under Vista (RTM, Home > Premium), and not had much success. The installer appears to work okay > (in that it doesn't complain) but when I start Visual Studio 2005 > (Pro), I get an error message as follows: > > "The Add-in 'AnkhSVN failed to load or caused an exception. > Would you like to remove this Add-in? > If you choose yes, you will need to reinstall the Add-in to use it > again. > > Error Message: Class not registered > > Error number: 80040154" > > > Is anyone else running AnkhSVN on Vista RTM? Is this a known issue > fixed post RC4? I've searched around and not found anything, but there > may be somewhere I should have checked that I wasn't aware of... Currently, I don't have an installation of Vista myself, so I'd be interested to hear if someone else has this same problem, or if someone has Ankh running on Vista. -- Arild --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaArild Fines wrote:
>> Is anyone else running AnkhSVN on Vista RTM? Is this a known issue >> fixed post RC4? I've searched around and not found anything, but there >> may be somewhere I should have checked that I wasn't aware of... > > Currently, I don't have an installation of Vista myself, so I'd be > interested to hear if someone else has this same problem, or if someone has > Ankh running on Vista. That's entirely understandable. If there's anything I can do to help isolate the problem, please let me know. One thing I *have* seen is that if I run regasm ankh.dll from the command line, it complains that it doesn't have enough access to write to the registry *even if the command line is an admin one*. On the other hand, running regasm office.dll works fine. (These were only stabs in the dark...) Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaOn Jan 19, 2007, at 8:29 PM, Arild Fines wrote: > > >> -----Original Message----- >> From: Jon Skeet [mailto:skeet@...] >> Sent: Friday, January 19, 2007 9:11 AM >> To: users@... >> Subject: AnkhSVN-users Installation problems with Vista >> >> Hi, >> >> I've been trying to install 1.0.0.2668-RC4 under Vista (RTM, Home >> Premium), and not had much success. The installer appears to work >> okay >> (in that it doesn't complain) but when I start Visual Studio 2005 >> (Pro), I get an error message as follows: >> >> "The Add-in 'AnkhSVN failed to load or caused an exception. >> Would you like to remove this Add-in? >> If you choose yes, you will need to reinstall the Add-in to use it >> again. >> >> Error Message: Class not registered >> >> Error number: 80040154" >> >> >> Is anyone else running AnkhSVN on Vista RTM? Is this a known issue >> fixed post RC4? I've searched around and not found anything, but >> there >> may be somewhere I should have checked that I wasn't aware of... > > Currently, I don't have an installation of Vista myself, so I'd be > interested to hear if someone else has this same problem, or if > someone has > Ankh running on Vista. I have a vista installation, Ankh worked pretty much out of the box for me.. Did you go for a fresh installation or did you upgrade an existing XP installation? Sander --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: AnkhSVN-users Installation problems with Vista> -----Original Message----- > From: Jon Skeet [mailto:skeet@...] > Sent: Friday, January 19, 2007 8:44 PM > To: users@... > Subject: Re: AnkhSVN-users Installation problems with Vista > > Arild Fines wrote: > >> Is anyone else running AnkhSVN on Vista RTM? Is this a known issue > >> fixed post RC4? I've searched around and not found anything, but > >> there may be somewhere I should have checked that I wasn't aware > of... > > > > Currently, I don't have an installation of Vista myself, so I'd be > > interested to hear if someone else has this same problem, or if > > someone has Ankh running on Vista. > > That's entirely understandable. If there's anything I can do to help > isolate the problem, please let me know. One thing I *have* seen is > that if I run > > regasm ankh.dll > > from the command line, it complains that it doesn't have enough access > to write to the registry *even if the command line is an admin one*. > > On the other hand, running > > regasm office.dll > > works fine. (These were only stabs in the dark...) One other thing you could try is to run procmon while doing the regasm; the registry keys and files it tries to access right before failing would be very interesting. -- Arild --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaOn Jan 19, 2007, at 8:43 PM, Jon Skeet wrote: > Arild Fines wrote: >>> Is anyone else running AnkhSVN on Vista RTM? Is this a known issue >>> fixed post RC4? I've searched around and not found anything, but >>> there >>> may be somewhere I should have checked that I wasn't aware of... >> Currently, I don't have an installation of Vista myself, so I'd be >> interested to hear if someone else has this same problem, or if >> someone has >> Ankh running on Vista. > > That's entirely understandable. If there's anything I can do to > help isolate the problem, please let me know. One thing I *have* > seen is that if I run > > regasm ankh.dll > > from the command line, it complains that it doesn't have enough > access to write to the registry *even if the command line is an > admin one*. > Under Vista there's a difference (by default) between 'an admin one' and _the_ administrator account (which you can rename in the local policy ofcourse). A member of administrators looses its credentials when a new process is started, _the_ administrator account doesn't do this (with the default UAC settings). the fact that regasm office.dll does work is hard to explain then, but it might still pay of to try the other admin account. > On the other hand, running > > regasm office.dll > > works fine. (These were only stabs in the dark...) > > Jon > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaSander Rijken wrote:
>> from the command line, it complains that it doesn't have enough access >> to write to the registry *even if the command line is an admin one*. > > Under Vista there's a difference (by default) between 'an admin one' and > _the_ administrator account (which you can rename in the local policy > ofcourse). > > A member of administrators looses its credentials when a new process is > started, _the_ administrator account doesn't do this (with the default > UAC settings). I tried with UAC off, unfortunately - and the same thing happened. > the fact that regasm office.dll does work is hard to explain then, but > it might still pay of to try the other admin account. Yup, worth a try. Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaArild Fines wrote:
> One other thing you could try is to run procmon while doing the regasm; the > registry keys and files it tries to access right before failing would be > very interesting. Right, will do. Tomorrow though - far too tired for tonight :) Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaJon Skeet wrote:
> Arild Fines wrote: >> One other thing you could try is to run procmon while doing the >> regasm; the >> registry keys and files it tries to access right before failing would be >> very interesting. > > Right, will do. Tomorrow though - far too tired for tonight :) I couldn't resist in the end. Running it not in an admin console window was fairly pointless, but in an admin console window it's HKCR\Ankh which causes problems. And, indeed, loading regedit shows why (sort of). Even running when logged in as the administrative account, regedit can't even display the permissions of that key. All the other keys are okay, but HKCR\Ankh isn't. Having said that, the installer manages to remove it, which is pretty odd. (It does leave a load of the other HKCR Ankh-related keys around though - is that expected?) Now, I've moved the problem on slightly further by uninstalling then manually creating the HKCR\Ankh and HKCR\Ankh\CLSID keys, then reinstalling. At that point, I get this error: --------------------------- An error occurred while Ankh was loading (Press Ctrl-C to copy this message to the clipboard) --------------------------- System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING)) at EnvDTE.Windows.CreateToolWindow(AddIn AddInInst, String ProgID, String Caption, String GuidPosition, Object& DocObj) at Ankh.UIShell.CreateRepositoryExplorer() in D:\tmp\build-13\src\Ankh\UIShell.cs:line 448 at Ankh.UIShell.get_RepositoryExplorer() in D:\tmp\build-13\src\Ankh\UIShell.cs:line 32 at Ankh.RepositoryExplorer.Controller..ctor(IContext context) in D:\tmp\build-13\src\Ankh\RepositoryExplorer\Controller.cs:line 25 at Ankh.AnkhContext..ctor(_DTE dte, AddIn addin, IUIShell uiShell) in D:\tmp\build-13\src\Ankh\AnkhContext.cs:line 73 at Ankh.Connect.OnConnection(Object application, ext_ConnectMode connectMode, Object addInInst, Array& custom) in D:\tmp\build-13\src\Ankh\Connect.cs:line 89 --------------------------- OK --------------------------- Clearly I shouldn't have to create those keys to start with, and I'm sure that by doing so manually I haven't really helped the underlying problem much (as shown by it still not working) but hopefully the above may shed *some* light on what's going on... Anything else worth checking? I can now run regasm ankh.dll from an admin console, btw. Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaSander Rijken wrote:
> I have a vista installation, Ankh worked pretty much out of the box for > me.. I'm not sure whether that'll count as good news or bad news for me :) > Did you go for a fresh installation or did you upgrade an existing XP > installation? Completely fresh. I never trust OS upgrades. Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaJon Skeet wrote:
<snip> Got it! In the end, I had to go through the following: 1) Uninstall 2) Create all of the following keys: [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh] [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh\CLSID] [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl] [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl\CLSID] [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] 3) Install 4) Run VS 2005 - all is well! So, I don't know what was going on, but that appears (at first glance, anyway) to have fixed things. If anyone has any idea why the installer would create things that regedit (as admin) can't read, I'd be happy to hear it :) Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: AnkhSVN-users Installation problems with Vista> -----Original Message----- > From: Jon Skeet [mailto:skeet@...] > Sent: Saturday, January 20, 2007 9:18 AM > To: users@... > Subject: Re: AnkhSVN-users Installation problems with Vista > > Jon Skeet wrote: > > <snip> > > Got it! > > In the end, I had to go through the following: > > 1) Uninstall > > 2) Create all of the following keys: > > [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh\CLSID] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl\CLSID] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] > > 3) Install One other thing that probably would have worked is to run regsvr32 on AnkhUserControlHost.dll after installation. There are two DLLs in Ankh that are registered with COM; Ankh.dll, which is a .NET assembly registered for COM interop, and AnkhUserControlHost.dll, which is a native COM component written in C++. Your last stack trace indicated that the latter wasn't registered. > > 4) Run VS 2005 - all is well! > > So, I don't know what was going on, but that appears (at first glance, > anyway) to have fixed things. If anyone has any idea why the installer > would create things that regedit (as admin) can't read, I'd be happy to > hear it :) Yeah, I'd be interested in finding that out as well. By the way, when you installed for the first time, did you install "For me only" or "For all users"? -- Arild --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaArild Fines wrote:
>> 3) Install > > One other thing that probably would have worked is to run regsvr32 on > AnkhUserControlHost.dll after installation. There are two DLLs in Ankh that > are registered with COM; Ankh.dll, which is a .NET assembly registered for > COM interop, and AnkhUserControlHost.dll, which is a native COM component > written in C++. > > Your last stack trace indicated that the latter wasn't registered. Sounds like it was the same problem as the first one, just for a different component, yes. >> 4) Run VS 2005 - all is well! >> >> So, I don't know what was going on, but that appears (at first glance, >> anyway) to have fixed things. If anyone has any idea why the installer >> would create things that regedit (as admin) can't read, I'd be happy to >> hear it :) > > Yeah, I'd be interested in finding that out as well. > > By the way, when you installed for the first time, did you install "For me > only" or "For all users"? That requires more personal memory than I have, unfortunately. Anything I can do to help though, let me know. Jon --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: AnkhSVN-users Installation problems with VistaOn Jan 20, 2007, at 9:18 AM, Jon Skeet wrote: > Jon Skeet wrote: > > <snip> > > Got it! > > In the end, I had to go through the following: > > 1) Uninstall > > 2) Create all of the following keys: > > [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.Ankh\CLSID] The installer doesn't create the two keys above, not sure if that might be part of the problem yet, but I'll investigate. The keys below should by created by the installer amongst a few others, see: http://ankhsvn.com/svn/finalproject/trunk/src/lib/lib.wxs > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl\CLSID] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] > [HKEY_CLASSES_ROOT\AnkhUserControlHost.AnkhUserControlHostCtl.1\CLSID] > > 3) Install > > 4) Run VS 2005 - all is well! > > So, I don't know what was going on, but that appears (at first > glance, anyway) to have fixed things. If anyone has any idea why > the installer would create things that regedit (as admin) can't > read, I'd be happy to hear it :) > used to be, maybe the admin was denied the right to read shadowed registry hives or something. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |