1

Closed

Failure adding assembly ...

description

Hello, I am trying to deploy the STSADMExportCrawlLog.dll by running the "deploySTSADMExportCrawlLog.cmd" that come with the zip file, but I received the following error message:

"Failure adding assembly to the cache: Unknown Error"

 
Then I tried to run the stsadm command, and received the following error:

Value cannot be null.
Parameter name: type

 
Did I do something wrong?
 
Thanks,
Eton
Closed Jul 16, 2008 at 5:03 PM by lkuhn65
fixed in Release 1.1

comments

lkuhn65 wrote Jul 16, 2008 at 4:40 PM

Eton,
There may be some problem with that .cmd file and therefore it seems the assembly is not registered right. What you can do instead is use drag/drop approach to add the assembly into the GAC: open windows explorer to view c:\windows\assembly, then drag/drop STSADMExportCrawlLog.dll into there. And then try again to run the command.
  • Larry

lkuhn65 wrote Jul 16, 2008 at 5:03 PM

It looks like I was invoking the wrong/old gacutil.exe, per this blog http://weblogs.asp.net/wenching/archive/2008/05/22/gacutil-missing-in-windows-server-2008-visual-studio-2008-installation.aspx I have fixed the .cmd file now.
Thanks for the feedback!
  • Larry

wrote Jul 16, 2008 at 5:03 PM

exl3074 wrote Jul 29, 2008 at 11:38 AM

Larry, it is working now. Thanks for the fix.

Eton

wrote Feb 12, 2013 at 10:34 PM

wrote May 14, 2013 at 9:08 PM