Archived Forum Post

Index of archived forum posts

Question:

Could not load file or assembly 'ChilkatDotNet4.dll' or one of its dependencies. Operation is not supported.

Nov 16 '15 at 10:12

Hello, I have been using ChilkatDotNet4.dll for a while. I started getting the error (Could not load file or assembly 'ChilkatDotNet4.dll' or one of its dependencies. Operation is not supported. Exception from HRESULT: 0x80131515) after adding a reference to the FedEx tracking service TrackService_v10.wsdl. I remove the reference to TrackService_v10.wsdl and the project builds again? Is there any know conflict between ChilkatDotNet4.dll and TrackService_v10.wsdl?


Answer

Sounds like you may have it set to build "any cpu". You need to change to build a specific platform and verify the wsdl and dll are both built for that platform (x64 or x86).


Answer

Thanks jcas for the suggestions. It makes total sense, but it was not the case. Somehow the ChilkatDotNet4.dll got locked. I unlocked it and everything work now. Thanks again