regsvcs error - unknown exception - System.Reflection.ReflectionTypeLoadExceptio

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

The folowing commands causes a problem on a computer
running XP Professional. The same gacutil and regsvcs
commands worked fine on a second computer that had the
same configuration. Any ideas?

Thanks,

-Jim

gacutil /i CreateHoldingsJob.dll
Microsoft (R) .NET Global Assembly Cache Utility. Version
1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights
reserved.

Assembly successfully added to the cache

regsvcs /fc
CreateHoldingsJob.dll /tlb:CreateHoldingsJob.tlb

Microsoft (R) .NET Framework Services Installation Utility
Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights
reserved.

An unknown exception occurred during installation:

1: System.Reflection.ReflectionTypeLoadException - One or
more of the types in the assembly unable to load.
 
Hello Jim,

The error message shows that during the installation process, it couldn't
find a assembly DLL. So please confirm that:

1) If your strong named DLL has some depency DLLs?
2) Please move all the relative DLLs to a same directory and test again.

If the problem still can't be resolved, please post here. Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
--------------------
!Content-Class: urn:content-classes:message
!From: "Jim" <[email protected]>
!Sender: "Jim" <[email protected]>
!Subject: regsvcs error - unknown exception -
System.Reflection.ReflectionTypeLoadExceptio
!Date: Tue, 8 Jul 2003 12:59:27 -0700
!Lines: 30
!Message-ID: <[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!Thread-Index: AcNFi2//MovjjHTeQfK4sHz70Pjedw==
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Newsgroups: microsoft.public.dotnet.framework
!Path: cpmsftngxa09.phx.gbl
!Xref: cpmsftngxa09.phx.gbl microsoft.public.dotnet.framework:10486
!NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!The folowing commands causes a problem on a computer
!running XP Professional. The same gacutil and regsvcs
!commands worked fine on a second computer that had the
!same configuration. Any ideas?
!
!Thanks,
!
!-Jim
!
!gacutil /i CreateHoldingsJob.dll
!Microsoft (R) .NET Global Assembly Cache Utility. Version
!1.0.3705.0
!Copyright (C) Microsoft Corporation 1998-2001. All rights
!reserved.
!
!Assembly successfully added to the cache
!
!regsvcs /fc
!CreateHoldingsJob.dll /tlb:CreateHoldingsJob.tlb
!
!Microsoft (R) .NET Framework Services Installation Utility
!Version 1.0.3705.0
!Copyright (C) Microsoft Corporation 1998-2001. All rights
!reserved.
!
!An unknown exception occurred during installation:
!
!1: System.Reflection.ReflectionTypeLoadException - One or
!more of the types in the assembly unable to load.
!
!
 
Yhhuang,

Thank you for your response. I have checked your
recommendations and am still receiving the error. Could
you please help to point me in the right direction.
Thanks again.

-Jim
 
Hello Jim,

Is it possible for you to email me the library files? I will test it on my side to see if I could register it without error. Please also
list detailed steps to repro it.

Please remove online from my email addree when emailing me. Thanks.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "Jim" <[email protected]>
!Sender: "Jim" <[email protected]>
!References: <[email protected]> <#x3Vp#[email protected]>
!Subject: RE: regsvcs error - unknown exception - System.Reflection.ReflectionTypeLoadExceptio
!Date: Wed, 16 Jul 2003 20:39:33 -0700
!Lines: 93
!Message-ID: <[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!Thread-Index: AcNMFQly5XvkFLfNSoCM4kZmKPeTog==
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Newsgroups: microsoft.public.dotnet.framework
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:49123
!NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!Yhhuang,
!
!Thank you for your response. I have checked your
!recommendations and am still receiving the error. Could
!you please help to point me in the right direction.
!Thanks again.
!
!-Jim
!
!>-----Original Message-----
!>Hello Jim,
!>
!>The error message shows that during the installation
!process, it couldn't
!>find a assembly DLL. So please confirm that:
!>
!>1) If your strong named DLL has some depency DLLs?
!>2) Please move all the relative DLLs to a same directory
!and test again.
!>
!>If the problem still can't be resolved, please post here.
!Thanks.
!>
!>Best regards,
!>yhhuang
!>VS.NET, Visual C++
!>Microsoft
!>
!>This posting is provided "AS IS" with no warranties, and
!confers no rights.
!>Got .Net? http://www.gotdotnet.com
!>--------------------
!>!Content-Class: urn:content-classes:message
!>!From: "Jim" <[email protected]>
!>!Sender: "Jim" <[email protected]>
!>!Subject: regsvcs error - unknown exception -
!>System.Reflection.ReflectionTypeLoadExceptio
!>!Date: Tue, 8 Jul 2003 12:59:27 -0700
!>!Lines: 30
!>!Message-ID: <[email protected]>
!>!MIME-Version: 1.0
!>!Content-Type: text/plain;
!>! charset="iso-8859-1"
!>!Content-Transfer-Encoding: 7bit
!>!X-Newsreader: Microsoft CDO for Windows 2000
!>!Thread-Index: AcNFi2//MovjjHTeQfK4sHz70Pjedw==
!>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!>!Newsgroups: microsoft.public.dotnet.framework
!>!Path: cpmsftngxa09.phx.gbl
!>!Xref: cpmsftngxa09.phx.gbl
!microsoft.public.dotnet.framework:10486
!>!NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
!>!X-Tomcat-NG: microsoft.public.dotnet.framework
!>!
!>!The folowing commands causes a problem on a computer
!>!running XP Professional. The same gacutil and regsvcs
!>!commands worked fine on a second computer that had the
!>!same configuration. Any ideas?
!>!
!>!Thanks,
!>!
!>!-Jim
!>!
!>!gacutil /i CreateHoldingsJob.dll
!>!Microsoft (R) .NET Global Assembly Cache Utility.
!Version
!>!1.0.3705.0
!>!Copyright (C) Microsoft Corporation 1998-2001. All
!rights
!>!reserved.
!>!
!>!Assembly successfully added to the cache
!>!
!>!regsvcs /fc
!>!CreateHoldingsJob.dll /tlb:CreateHoldingsJob.tlb
!>!
!>!Microsoft (R) .NET Framework Services Installation
!Utility
!>!Version 1.0.3705.0
!>!Copyright (C) Microsoft Corporation 1998-2001. All
!rights
!>!reserved.
!>!
!>!An unknown exception occurred during installation:
!>!
!>!1: System.Reflection.ReflectionTypeLoadException - One
!or
!>!more of the types in the assembly unable to load.
!>!
!>!
!>
!>.
!>
!
 
Hello Jim and Richardson,

I tested your dll and reproduced the problem. My testing environment is:
Windows XP Professional version, English version,
NET framework 1.1,
VS.NET 2003.

Could you please recompile the DLL again on that machine to see if the recompilation could resolve the problem? Thanks
very much.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!X-Tomcat-ID: 171283281
!References: <[email protected]> <#x3Vp#[email protected]> <008701c34c15
[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain
!Content-Transfer-Encoding: 7bit
!From: (e-mail address removed) (Yan-Hong Huang[MSFT])
!Organization: Microsoft
!Date: Thu, 17 Jul 2003 08:51:27 GMT
!Subject: RE: regsvcs error - unknown exception - System.Reflection.ReflectionTypeLoadExceptio
!X-Tomcat-NG: microsoft.public.dotnet.framework
!Message-ID: <[email protected]>
!Newsgroups: microsoft.public.dotnet.framework
!Lines: 102
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:49137
!NNTP-Posting-Host: TOMCATIMPORT2 10.201.218.182
!
!Hello Jim,
!
!Is it possible for you to email me the library files? I will test it on my side to see if I could register it without error. Please also
!list detailed steps to repro it.
!
!Please remove online from my email addree when emailing me. Thanks.
!
!Best regards,
!Yanhong Huang
!Microsoft Online Partner Support
!
!Get Secure! - www.microsoft.com/security
!This posting is provided "AS IS" with no warranties, and confers no rights.
!
!--------------------
!!Content-Class: urn:content-classes:message
!!From: "Jim" <[email protected]>
!!Sender: "Jim" <[email protected]>
!!References: <[email protected]> <#x3Vp#[email protected]>
!!Subject: RE: regsvcs error - unknown exception - System.Reflection.ReflectionTypeLoadExceptio
!!Date: Wed, 16 Jul 2003 20:39:33 -0700
!!Lines: 93
!!Message-ID: <[email protected]>
!!MIME-Version: 1.0
!!Content-Type: text/plain;
!! charset="iso-8859-1"
!!Content-Transfer-Encoding: 7bit
!!X-Newsreader: Microsoft CDO for Windows 2000
!!Thread-Index: AcNMFQly5XvkFLfNSoCM4kZmKPeTog==
!!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!!Newsgroups: microsoft.public.dotnet.framework
!!Path: cpmsftngxa06.phx.gbl
!!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:49123
!!NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
!!X-Tomcat-NG: microsoft.public.dotnet.framework
!!
!!Yhhuang,
!!
!!Thank you for your response. I have checked your
!!recommendations and am still receiving the error. Could
!!you please help to point me in the right direction.
!!Thanks again.
!!
!!-Jim
!!
!!>-----Original Message-----
!!>Hello Jim,
!!>
!!>The error message shows that during the installation
!!process, it couldn't
!!>find a assembly DLL. So please confirm that:
!!>
!!>1) If your strong named DLL has some depency DLLs?
!!>2) Please move all the relative DLLs to a same directory
!!and test again.
!!>
!!>If the problem still can't be resolved, please post here.
!!Thanks.
!!>
!!>Best regards,
!!>yhhuang
!!>VS.NET, Visual C++
!!>Microsoft
!!>
!!>This posting is provided "AS IS" with no warranties, and
!!confers no rights.
!!>Got .Net? http://www.gotdotnet.com
!!>--------------------
!!>!Content-Class: urn:content-classes:message
!!>!From: "Jim" <[email protected]>
!!>!Sender: "Jim" <[email protected]>
!!>!Subject: regsvcs error - unknown exception -
!!>System.Reflection.ReflectionTypeLoadExceptio
!!>!Date: Tue, 8 Jul 2003 12:59:27 -0700
!!>!Lines: 30
!!>!Message-ID: <[email protected]>
!!>!MIME-Version: 1.0
!!>!Content-Type: text/plain;
!!>! charset="iso-8859-1"
!!>!Content-Transfer-Encoding: 7bit
!!>!X-Newsreader: Microsoft CDO for Windows 2000
!!>!Thread-Index: AcNFi2//MovjjHTeQfK4sHz70Pjedw==
!!>!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!!>!Newsgroups: microsoft.public.dotnet.framework
!!>!Path: cpmsftngxa09.phx.gbl
!!>!Xref: cpmsftngxa09.phx.gbl
!!microsoft.public.dotnet.framework:10486
!!>!NNTP-Posting-Host: TK2MSFTNGXA12 10.40.1.164
!!>!X-Tomcat-NG: microsoft.public.dotnet.framework
!!>!
!!>!The folowing commands causes a problem on a computer
!!>!running XP Professional. The same gacutil and regsvcs
!!>!commands worked fine on a second computer that had the
!!>!same configuration. Any ideas?
!!>!
!!>!Thanks,
!!>!
!!>!-Jim
!!>!
!!>!gacutil /i CreateHoldingsJob.dll
!!>!Microsoft (R) .NET Global Assembly Cache Utility.
!!Version
!!>!1.0.3705.0
!!>!Copyright (C) Microsoft Corporation 1998-2001. All
!!rights
!!>!reserved.
!!>!
!!>!Assembly successfully added to the cache
!!>!
!!>!regsvcs /fc
!!>!CreateHoldingsJob.dll /tlb:CreateHoldingsJob.tlb
!!>!
!!>!Microsoft (R) .NET Framework Services Installation
!!Utility
!!>!Version 1.0.3705.0
!!>!Copyright (C) Microsoft Corporation 1998-2001. All
!!rights
!!>!reserved.
!!>!
!!>!An unknown exception occurred during installation:
!!>!
!!>!1: System.Reflection.ReflectionTypeLoadException - One
!!or
!!>!more of the types in the assembly unable to load.
!!>!
!!>!
!!>
!!>.
!!>
!!
!
!
!
 
Back
Top