Backendless Support
 
Trying to Reproduce

Windows Phone 8.1 and Backendless 4.0

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!

Leave a Comment

Comments (10)

photo
1

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

photo
1

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?

photo
1

Hi Michal,

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

Regards,

Mark

photo
1

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

photo
1

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

photo
1

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()

photo
1

Hi Mark,

is it enough? Any idea?

Regards,

Michal

photo
1

Hi,

for clarification: it is Windows Phone 8.1 Silverlight application.

Michal

photo
1

Hi Michal,

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

photo
1

Hi Sergey,

this is the snippet.

  1. public class AppBootstrapper : PhoneBootstrapperBase
  2. {
  3. PhoneContainer container;
  4. public AppBootstrapper()
  5. {
  6. Initialize();
  7. BugSenseHandler.Instance.InitAndStartSession(new ExceptionManager(this.Application), RootFrame, "xxx");
  8. Backendless.InitApp("applicationId", "apiKey");
  9. }
  10. ...