I saw something about needing to have the assembly available for the type of the first argument passed to the function. I think it is, I can't figure out what am I missing.
This code is in a service. I was running the service under the 'NETWORK SERVICES' user account, when I changed the account to that of the session I was logged on with it worked ok. But, what's the difference, and how can I get it to work for the NETWORK SERVICES user.
copy your binary to the bin folder of your web app will also fix this.
By the way, this page has a little more information on this topic and a possible way to workaround the issue of GAC vs copying your assembly to the bin folder. The page is a few years old at this point but it still seems relevant.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With