By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,856 Members | 1,986 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,856 IT Pros & Developers. It's quick & easy.

Unable to get installer types

P: n/a
I created a windows service using VS 2005 in VB.NET and it runs on my
Windows XP Pro machine just fine, now I'm want to install it on one of
my servers which is a Windows 2000 Terminal server running sp4 version
5.00.2195. I also have .NET Framework 1.0, 1.1 and 2.0 installed on
this server AND the server was rebooted after the .NET Framework 2.0
was installed.

I had some custom actions set up in the installer class, thinking that
might be the problem I removed them and tried installing the service
using the following action:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\instal lutil "C:\Program
Files\STC\EDI Manager\EDI Manager.exe"

And still get the following error:

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the
C:\Program Files\STC\EDI Manager\EDI Manager.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was
thrown with the following error message: Unable to load one or more of
the requested types. Retrieve the LoaderExceptions property for more
information..

This windows service does not use any 3rd party controls, except it has
one crystal report. Since the service wont install I don't think it's
the crystal report causing the error, I could be wrong.

Does anyone know why it woks fine on my XP Pro machine but fails on the
2000 machine?
I've searched online but have not yet found the solution.

Izzy

Aug 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I figured this one out, it was Crystal after all. Once I installed it
on the server the service installed with no problem.
Izzy wrote:
I created a windows service using VS 2005 in VB.NET and it runs on my
Windows XP Pro machine just fine, now I'm want to install it on one of
my servers which is a Windows 2000 Terminal server running sp4 version
5.00.2195. I also have .NET Framework 1.0, 1.1 and 2.0 installed on
this server AND the server was rebooted after the .NET Framework 2.0
was installed.

I had some custom actions set up in the installer class, thinking that
might be the problem I removed them and tried installing the service
using the following action:
C:\WINNT\Microsoft.NET\Framework\v2.0.50727\instal lutil "C:\Program
Files\STC\EDI Manager\EDI Manager.exe"

And still get the following error:

An exception occurred during the Install phase.
System.InvalidOperationException: Unable to get installer types in the
C:\Program Files\STC\EDI Manager\EDI Manager.exe assembly.
The inner exception System.Reflection.ReflectionTypeLoadException was
thrown with the following error message: Unable to load one or more of
the requested types. Retrieve the LoaderExceptions property for more
information..

This windows service does not use any 3rd party controls, except it has
one crystal report. Since the service wont install I don't think it's
the crystal report causing the error, I could be wrong.

Does anyone know why it woks fine on my XP Pro machine but fails on the
2000 machine?
I've searched online but have not yet found the solution.

Izzy
Aug 24 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.