TypeLoadException Error while doing Wireless Sync We created a VB project to sync the database files on the Motorola Q smartphone with our server and are getting a TypeLoadException error which we can not resolve. The error seems to occur either while the dll files are loading or just before the first line of code is executed. We put a msgbox in as the first line of code and that won't even display. We took out all of the referenced dll's and started adding them back in one by one. When we found the dll we thought was causing the error message we removed it and any reference to it in the program and still got the error. We removed most of the dll's and commented out the code that referenced them and still get the error. We did some research and saw that the problem might be caused by problems with the telephony dll's and created registry keys for them and when that didn't work we commented out the telephony code too. We also created an app.config module to resolve the assembly version warnings we are getting and that didn't work either. We have built a version that works on the Pocket PCs but the users have Motorola Q smartphones so we need to build a version that will work on them. The code also tries to reference Microsoft.WindowsMobile.Utilities for use with the Microsoft.WindowsMobile.PocketOutlook dll and there is an assembly error with that reference as well which I am not sure how to resolve. I know there is a lot of information in here but I am trying to give you as much information as possible and eliminate possible solutions that we have already tried. We have been working on this problem for almost two weeks and need to turn turn it over to the client asap so a quick response would be greatly appreciated. let me know if you need more information or if you need to see any of the code. Thanks, Jim Dionne |