Error to run sample or connect modem

Added by omoridi 21 days ago

hi
i have problem with new version

after run show this error

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

i can connect to modem and query that.

ATQ0V1E0 - OK
AT+GMM - MULTIBAND 900E 1800
AT+FCLASS=? - +FCLASS: (0,1,2)
AT#CLS=? - COMMAND NOT SUPPORTED
AT+GCI? - COMMAND NOT SUPPORTED
AT+GCI=? - COMMAND NOT SUPPORTED
ATI1 - OK
ATI2 - OK
ATI3 - 652a09gg.Q2406B 424 070307 23:34
ATI4 - Q:0 V:1 S0:000 S2:043 S3:013 S4:010 S5:008
+CR:0 +CRC:0 +CMEE:0 +CBST:0,0,1
+SPEAKER:0 +ECHO:0,1 &C:1 &D:2 %C:0
+IPR:115200 +ICF:3,4 +IFC:2,2
ATI5 - Q:0 V:1 S0:000 S2:043 S3:013 S4:010 S5:008
+CR:0 +CRC:0 +CMEE:0 +CBST:0,0,1
+SPEAKER:0 +ECHO:0,1 &C:1 &D:2 %C:0
+IPR:115200 +ICF:3,4 +IFC:2,2
ATI6 - DATA RATES: AUTOBAUD,300,1200,1200/75,2400,4800,9600,14400
DATA MODES: T/NT,ASYNCHRONOUS
FAX CLASS: 1,2
ATI7 - SPEECH CODINGS: FR,EFR,HR
ATQ0V1E0 - OK
AT+GMM - MULTIBAND 900E 1800
AT+FCLASS=? - +FCLASS: (0,1,2)
AT#CLS=? - COMMAND NOT SUPPORTED
AT+GCI? - COMMAND NOT SUPPORTED
AT+GCI=? - COMMAND NOT SUPPORTED
ATI1 - OK
ATI2 - OK
ATI3 - 652a09gg.Q2406B 424 070307 23:34
ATI4 - Q:0 V:1 S0:000 S2:043 S3:013 S4:010 S5:008
+CR:0 +CRC:0 +CMEE:0 +CBST:0,0,1
+SPEAKER:0 +ECHO:0,1 &C:1 &D:2 %C:0
+IPR:115200 +ICF:3,4 +IFC:2,2
ATI5 - Q:0 V:1 S0:000 S2:043 S3:013 S4:010 S5:008
+CR:0 +CRC:0 +CMEE:0 +CBST:0,0,1
+SPEAKER:0 +ECHO:0,1 &C:1 &D:2 %C:0
+IPR:115200 +ICF:3,4 +IFC:2,2
ATI6 - DATA RATES: AUTOBAUD,300,1200,1200/75,2400,4800,9600,14400
DATA MODES: T/NT,ASYNCHRONOUS
FAX CLASS: 1,2
ATI7 - SPEECH CODINGS: FR,EFR,HR


Replies (5)

RE: Error to run sample or connect modem - Added by omoridi 21 days ago

I say again.
It's work with version 1.6 but not work with 1.7

MsgError.jpg (120.2 kB)

RE: Error to run sample or connect modem - Added by admin 21 days ago

Hi,

Can you verify if all the DLLs in the folder are of the same versions?

Thanks
Regards
admin

RE: Error to run sample or connect modem - Added by omoridi 20 days ago

hi,
Yes it's same version.
i have windows 7 ultimate 64bit
and in debug i find this error on
mobileGateway = messageGateway.Find(config);

it happend on this code (your code) first line when want to gettype.

public G Find(C config)
       {
Type type = config.GetType();
foreach (Type type2 in Assembly.GetAssembly(type).GetTypes()) {
if (type2.GetInterface(typeof(IGatewayFactory).Name) != null) {
ConstructorInfo constructor = type2.GetConstructor(new Type[] { type });
if ((constructor != null) && constructor.GetParameters()[0].ParameterType.Equals(type)) {
IGatewayFactory factory = (IGatewayFactory) Activator.CreateInstance(type2, new object[] { config });
return (G) factory.Find();
}
}
}
throw new GatewayException(Resources.GatewayFactoryNotFound);
}

RE: Error to run sample or connect modem - Added by admin 20 days ago

Hi,

It is a bit tricky as we are unable to reproduce this problem in Windows 7 64 bits environment. Could you try uninstall the library, and then remove the folder and perform a clean install again to see if it works?

Thanks
Regards
admin

RE: Error to run sample or connect modem - Added by omoridi 19 days ago

hi,
i will check with another machine, win7 64 pro, and need to run with administrative privilage, it was ok.
the diffrence between this and that is that machine register on domain and that ultimate.

(1-5/5)