Required DLL file are not found

Hi All:

My current .net CF 2.0 application only reference on the .NET DLL files that are in the same directory where the application installed on the device. If I do not put those .NET DLL files in that directory, even .net CF 2.0 runtime is installed on my PDA, when the application, it will throw the error as required DLL file are not found. Moreover I already installed the System_SR_ENU_wm.cab on my device, but my try and catch stamens, I still got the error as optional DLL file is not found, can not display the error message. Please help.

Thanks



Answer this question

Required DLL file are not found

  • HanSoloIsSoCute

    Thanks for replying. I got .NET CF 2.0 SP 1, and corresponding System_SR_ENU_wm.cab and SQL Mobile installed on my windows Mobile 5.0 PDA device. However, when I do the replication and want to display error message from try and catch statements for calling web service or HTTP request, I got error as required .dll  files are not found. I have tried copied SQL Mobile .dll files into same directory as the installed application, which stop the error when I do the replication. But I can not fix the error for display error message in the try and catch statements, even I already installed the Diagnostics System_SR_ENU_wm.cab. Please help.

     

    Thanks


  • MaggieChan

    What assemblies are these Are they dlls you built yourself or ones that come with the .Net Compact Framework If the latter, you should check to make sure you're installing the right .Net CF for your platform and also check your application's references.

  • farsh

    Are you getting message like this If so, have you installed SQL Mobile CAB files You can't just copy DLLs, you know, installation is required.

    If not, what is the exact error message you're getting

    Also, is System_SR_ENU_wm.cab you've installed matches NETCF version you have There are two System_SR_ENU_wm.cab – one for NETCF V2 and one for NETCF V1. It won’t work if you’ve got the wrong one. SQL Mobile messages are in separate CAB, by the way as SQL Mobile is not part of NETCF.



  • Required DLL file are not found