Home Search Member List Faq Register Login  
UltimateMenu
Re: assembly versioning problem with AxSHDocVw

Thread Starter: bobuva   Started: 11-11-2004 12:09 PM   Replies: 7
 Karamasoft Support Forums » General Discussions » UltimateMenu » Re: assembly versioning problem with AxSHDocVw
 Printable Version    « Previous Thread   Next Thread »
  11 Nov 2004, 12:09 PM
bobuva is not online. Last active: 12/27/2004 3:45:34 PM bobuva

Top 10 Posts
Joined on 11-11-2004
Posts 11
assembly versioning problem with AxSHDocVw
I'm a new user of the UltimateMenu control. After installing MenuBuilder and PanelBuilder, I added the UltimateMenu control to a toolbox and dragged it onto an ASP.NET form. When I right-click the control instance in the page and choose 'Karamasoft MenuBuilder...' I get the following error message:

'The located assembly's manifest definition with name 'AxSHDocVw' does not match the assembly reference.'

Using Reflector I see that the reference to AxSHDocVw.dll is the same as the actual AxSHDocVw.dll that is in my web application's bin directory. Here is the Reflector output for that reference inside of UltimateMenu.dll :

// Assembly Reference AxSHDocVw 
Version: 1.1.0.0
Name: AxSHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=3be49ef17ee06964

And here is the Reflector output for the AxSHDocVw.dll itself:

// Assembly AxSHDocVw, Version 1.1.0.0 [assembly: bject:1">AssemblyVersion("1.1.0.0")] [assembly: bject:2">TypeLibraryTimeStamp("1/21/2004 4:15:50 PM")] [assembly: bject:3">AssemblyKeyFile("UltimateMenu.snk")] 
Location: C:\Inetpub\wwwroot\WebApplication2\bin\AxSHDocVw.dll
Name: AxSHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=3be49ef17ee06964

As you can see, they are the same! I do have other copies of AxSHDocVw.dll in other places on my hard drive and they are different versions that this one, but none of them are actually in the system PATH. Besides, the .NET Framework assembly probe should find the one in the same directory as UltimateMenu.dll.

Any ideas?

Thanks,
 Bob



  
  11 Nov 2004, 12:18 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: assembly versioning problem with AxSHDocVw
Do you experience the same problem with both controls or only UltimateMenu? Do you by any chance have UltimateMenu or AxSHDocVw in GAC (Global Assembly Cache)?
  
  11 Nov 2004, 12:42 PM
bobuva is not online. Last active: 12/27/2004 3:45:34 PM bobuva

Top 10 Posts
Joined on 11-11-2004
Posts 11
Re: assembly versioning problem with AxSHDocVw
Yes, I forgot to look in the GAC! AxSHDocVw.dll (a different version) is in the GAC.
And yes, I see the problem with both the UltimateMenu and the UltimatePanel controls.

I don't know who put AxSHDocVw in the GAC but I'm guessing it was the .NET Framework 1.1 install. How can I get around this?

Thanks,
Bob

  
  11 Nov 2004, 12:50 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: assembly versioning problem with AxSHDocVw
.NET Framework doesn't put it into GAC. There must be something else to blame. Just delete it from GAC, and it should work fine.
  
  11 Nov 2004, 1:04 PM
bobuva is not online. Last active: 12/27/2004 3:45:34 PM bobuva

Top 10 Posts
Joined on 11-11-2004
Posts 11
Re: assembly versioning problem with AxSHDocVw
I cannot remove it. Trying to uninstall, gacutil reported that it is required by one or more assemblies. Then it indicates:

SCHEME: <WINDOWS_INSTALLER>   ID: <MSI>  DESCRIPTION: <Windows Installer>

Bob

  
  11 Nov 2004, 1:14 PM
Karamasoft is not online. Last active: 5/8/2018 10:36:45 AM Karamasoft

Top 10 Posts
Joined on 09-05-2004
Posts 6,820
Re: assembly versioning problem with AxSHDocVw
So you are opening Windows Explorer, going into C:\WINNT\assembly directory, clicking on AxSHDocVw, pressing the Delete botton and getting this message. Is this correct? You shouldn't be uninstalling anything, but just removing AxSHDocVw from GAC.
  
  11 Nov 2004, 1:29 PM
bobuva is not online. Last active: 12/27/2004 3:45:34 PM bobuva

Top 10 Posts
Joined on 11-11-2004
Posts 11
Re: assembly versioning problem with AxSHDocVw
I was trying to remove it using gacutil. But now I've been able to delete it from a command prompt window, browsing to the files and removing the AxSHDocVw subdirectory (below \windows\assembly\GAC) and all of its contents.

The problem did not go away! I rebooted the machine and the problem is still there! I verified that gacutil does not show AxSHDocVw as being in the cache. I also verified the public keys for the reference in UltimateGrid.dll and for the AxSHDocVw.dll, both of which are in \inetpub\wwwroot\WebApplication2\bin.

AARrrrrgggg!!!

Any ideas?

BOb

  
  11 Nov 2004, 4:31 PM
bobuva is not online. Last active: 12/27/2004 3:45:34 PM bobuva

Top 10 Posts
Joined on 11-11-2004
Posts 11
Re: assembly versioning problem with AxSHDocVw
Ok, one of my buddies at work figured out that the problem was that both AxSHDocVw.DLL and SHDocVw.DLL were being used by CodeRush, another developer tool that we use. I also discovered that CodeSmith, yet another dev tool, also uses these dlls. Unfortunately different versions of the assemblies are used by each vendor and just one of the vendors added their versions of the dlls to the GAC.

To fix the problem, I just added the Karamasoft versions of these two dlls to the GAC. The GAC handles all side-by-side versioning so everything works fine.

Bob

  
 Page 1 of 1 (8 items)
Karamasoft Support Forums » General Discussions » UltimateMenu » Re: assembly versioning problem with AxSHDocVw

You can add attachments
You can post new topics
You can reply to topics
You can delete your posts
You can edit your posts
You can create polls
You can vote in polls
Forum statistics are enabled
Forum is unmoderated

© 2002-2021 Karamasoft LLC. All rights reserved.