Hi,
I have to install a service in my PC which has been developed by my
company. While installation the
System.Reflection.ReflectionTypeLoadException exception is thrown.
And the log is as follows -
**********XXXX.installlog starts*******************************
Installing assembly 'c:\program files\audiosoft\service\XXXX.exe'.
Affected parameters are:
assemblypath = c:\program files\audiosoft\service\XXXX.exe
logfile = c:\program files\audiosoft\service\XXXX.InstallLog
An exception occurred while trying to find the installers in the
c:\program files\audiosoft\service\XXXX.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the types
in the assembly unable to load.
Aborting installation for c:\program files\audiosoft\service\XXXX.exe.
Rolling back assembly 'c:\program files\audiosoft\service\XXXX.exe'.
Affected parameters are:
assemblypath = c:\program files\audiosoft\service\XXXX.exe
logfile = c:\program files\audiosoft\service\XXXX.InstallLog
An exception occurred while trying to find the installers in the
c:\program files\audiosoft\service\XXXX.exe assembly.
System.Reflection.ReflectionTypeLoadException: One or more of the types
in the assembly unable to load.
Aborting installation for c:\program files\audiosoft\service\XXXX.exe.
**********XXXX.installlog ends*******************************
I have checked that both the runtime and the development machine have
.NET v1.1.4322
Can someone tell me why this exception could occur & how to prevent it?
Thanks in advance
Ed