Strange error with outlook mscorlib

Hi there,

I am working on a bot which involves Outlook/emails. I run it in my dev environment and everything works fine, but when I am running it on the production environment, I keep getting this weird error and I don’t know what the cause is or how to fix it:

Process faulted at: mscorlib, Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

I’ve had a look at the logs in the machine and unfortunately it offers no further information. Could anyone please suggest what this might be, as I am stuck!

Thanks a lot.

is outlook installed properly on your production machine?

Yes it is, this was working fine before.

check there any update missing or like that.

https://answers.microsoft.com/en-us/outlook_com/forum/all/errormscorlib/8967d5d5-bb0b-4902-ba40-3bbaeebb198d

Nothing missing, from what I can see.

account name and folder structure is same for dev and production?

Yes, like I said, was working fine before and nothing changed :frowning:

update the outlook and try one more time

1 Like

I think that it might be a dependency issue where things are mismatched… I might have to ask my friend google to help haha

1 Like