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

  • Home
  • SEARCH
  • 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 4116206
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T22:40:47+00:00 2026-05-20T22:40:47+00:00

The program worked fine until I did this: Added a new class under an

  • 0

The program worked fine until I did this:

  1. Added a new class under an existing file and an existing namespace.
  2. Added settings to that project the new class belongs to.
  3. Build the solution.
  4. Build the setup project.
  5. Installed the new version on a machine.

When I start the new version on the machine, then I get:

Unhandled Exception:
System.TypeLoadException: Could not
load type
‘SI.AS.CommonLogic.Utils.ErrorLog’
from assembly
‘SI.AS.CommonLogic.ErrorUtils,
Versions=1.0.0.0, Culture=neutral,
PublicKeyToken=925c8734ae397609’. at
RSMonitor.RSMonitorMain.Main(String[]
args)

ErrorUtils is the new class I have added. There was a file with a static class in it. I added another static class under it and added settings to the project. It runs smoothly on my developer machine in debug mode. But I can’t install and run it on another machine. The program can call the other static class from the same file. What am I missing here?

** update **

I tried to install it for a 2nd time and checked the DLL. The timestamp matched the latest compiled version and now it works. I have no idea why it didn’t work last time, because it is the same package I installed again. But if I get same error, then I’ll try out your suggestions.

  • 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-20T22:40:47+00:00Added an answer on May 20, 2026 at 10:40 pm

    Your program looks like it is having trouble locating another assembly, probably called SI.AS.CommonLogic.ErrorUtils.dll. Either that, or it can only find the wrong version of this assembly.

    Is this an assembly that is part of your solution?

    If so, is it in the “bin” directory on the machines that it is failing to run on (in other words, is this assembly being deployed correctly with your app)?

    If not, is this a part of a seperately installed component or application that is installed on your machine but not on the others (ie is this an external dependency that is missing on the other machines)?

    One thing that may help here, is to use the Assembly Binding Log Viewer on both the miachine this does work on, and the machine it doesn’t to see where it gets loaded from in the working case, and where it is trying to load it from in the failing case.

    Note you may need to make a registry change to get this to log all assembly bin info:

    Set the HKLM\Software\Microsoft\Fusion\ForceLog registry value to 1 (the value is a DWORD).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a total newbie, but I was writing a little program that worked on
What program can I use to decompile a class file? Will I actually get
Hey all. I wrote this program for an online contest. It RUNS FINE on
This function worked fine a month ago, before the newest JQuery (1.5) came out.
We have a number of import jobs that previously worked fine. These dtx packages
Strange program hang, what does this mean in debug? After attaching windbg I found
The program that I am currently assigned to has a requirement that I copy
A program that I work on assumes that the UUID generated by the Windows
I have a program in access that is using some linked ODBC tables. I
I have been writing a program that watches a directory and when files are

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.