Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 405311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:23:19+00:00 2026-05-12T17:23:19+00:00

When windows service installer is bombing out with a Error 1001. Unable to get

  • 0

When windows service installer is bombing out with a “Error 1001. Unable to get installer types in the MyService.exe assembly.” So it can’t load MyServiceInstaller. Fusion logging is showing me that it is failing when trying to find my Data.dll assembly.

The thing is, it should not need to load Data.dll to create my service installer object. I thought that type loading was not triggered until just before a method containing those types was called. Some MyServiceInstaller methods reference types from Data.dll, but not any ctor.

It’s as if the act of loading MyService.exe, or probing for MyServiceInstaller, invokes the load of Data.dll.

As I understand it, fusion logging will not tell me what I need to know. It’s too late at that point. I need to know what it is about loading MyServer.exe or the probing for MyServiceInstaller that triggered the loading of Data.dll in the first place.

There is a business requirement that Data.dll cannot be placed next to MyService.exe. And indeed, that does solve this problem. I have a custom AssemblyResolve event which loads Data.dll at normal runtime.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:23:19+00:00Added an answer on May 12, 2026 at 5:23 pm

    Try to attach a debugger to the installer and make it break when the exception is thrown (you can set that up in Visual Studio in Debug/Exceptions). Normally there should be a FileNotFoundException or something similar thrown internally in the installer when the assembly load fails which is probably catched somewhere else but if you make the debugger to break when the exception is being thrown (and not when it’s unhandled) you can step in and get a stack trace which should help you at discovering what exactly caused the problem.

    You should see something like that in the stack trace:

    • [Uninteresting native and / or external code]
    • SomeClassInYourInstaller.SomeMethod() <-- this is the responsible method
    • SomeOtherStuff.SomeMethod()
    • ...etc...
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have deployed my windows service (using independently installer class and SC.EXE), but I
I am trying to install a Windows service using InstallUtil.exe and am getting the
I have a standard .NET windows service written in C#. Can it install itself
I'm trying to use an installer for a Windows service, and would like to
I've written an installer that installs a windows service (A) that needs to start/stop
I want to create an installer for windows service built in C++. I have
I have a system which includes an installer, a windows service and a configuration
consider a windows service with a setup project , now how can i force
There exists a windows installer windows service (pointing to msiexec executable). This service Startup
I'm trying to create an installer for a Windows Service I developed. This installer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.