Support Topics Documentation Slack YouTube Blog

Windows Phone 8.1 and Backendless 4.0


(Michal Brückner) #1

Hi,

I migrated my Windows Phone project from version 3.0 to 4.0 and in my cllient app I changed the application Id to new 4.0 project. After that when i call Backendless.UserService.Login method, I got error 2002 Version is disabled or provided wrong application info (application id or secret key).
I am trying to find the latest dll for Windows Phone 8.1, but without success. Can you help me, please?
Thanks!


(Mark Piller) #2

Hi Michal,

Have you updated the project to use the latest build of our SDK for .NET? Also, have you changed the API key?

Regards,
Mark


(Michal Brückner) #3

I haven’t changed API key, because, API key is the same in both versions.

Where I find latest SDK for Windows Phone 8? I found this one https://github.com/Backendless/.NET-SDK, but folder Backendless/Bin/WP8 is empty and folder Backendless/Bin/WP containts files from 21.2.2016.
I wasn’t successful when i tried to rebuild project from source code. Can you send me the latest Backendless.dll for Windows Phone 8.1?


(Mark Piller) #4

Hi Michal,

Please use the build from the following location: https://github.com/Backendless/.NET-SDK/tree/master/Backendless/Bin/NET_45

Regards,
Mark


(Michal Brückner) #5

Hi Mark,

thanks, it helped, but when try to call InitApp i get this error:
Method not found: ‘Boolean System.Type.op_Equality(System.Type, System.Type)’.

Regards,
Michal


(Mark Piller) #6

Thanks, Michal. Do you happen to have a complete stack trace for the error?


(Michal Brückner) #7

The type initializer for ‘BackendlessAPI.Backendless’ threw an exception.
Method not found: ‘Boolean System.Type.op_Equality(System.Type, System.Type)’.

at Weborb.Util.ObjectFactories._CreateServiceObject(String className)
at Weborb.Config.ORBConfig…ctor()
at Weborb.Config.ORBConfig.GetInstance()
at Weborb.Types.Types.AddAbstractTypeMapping(Type abstractType, Type mappedType)
at BackendlessAPI.Backendless…cctor()


(Michal Brückner) #8

Hi Mark,
is it enough? Any idea?

Regards,

Michal


(Michal Brückner) #9

Hi,

for clarification: it is Windows Phone 8.1 Silverlight application.

Michal


(Sergey Chupov) #10

Hi Michal,

Could you please also provide the line of code where you call initApp?


(Michal Brückner) #11

Hi Sergey,
this is the snippet.

 public class AppBootstrapper : PhoneBootstrapperBase
 {
 PhoneContainer container;
 



 public AppBootstrapper()
 {
 Initialize();
 BugSenseHandler.Instance.InitAndStartSession(new ExceptionManager(this.Application), RootFrame, "xxx");
 Backendless.InitApp("applicationId", "apiKey"); 
 }
...

(Michal Brückner) #12

Hello Sergey,
were you sucessfull in reproduce my problem?

Regards,

Michal