Skip to Content
author's profile photo Former Member
Former Member

Error: 1101 Message: monet:DeviceManagement.dll Windows Mobile

Hi.

We're depeloping an application on Windows Mobile 6.5 with the last version of Sybase Unwired Plataform 2.1.3 patch #2 and we have troubles when we try to register the application on the server because it throws this exception:

**Error: 1101 Message: 'monet:DeviceManagement.dll:DeviceManagement:AddDeviceRegistration

We've checked the connections of the server and the packges on the workspace and are ok. So we don't know exaclty what is the problem because we have tried the example that are on sybooks (SUP101) and it runs perfectly, actually we're using the same lines of code in our application but the error occurs when pass the line that register the application on the server

This is our method:

private void menuItemRegister_Click(object sender, EventArgs e)

{


Sybase.Mobile.Application app = Sybase.Mobile.Application.GetInstance();

app.ApplicationIdentifier = "SYNC_SAC";

SYNC_SACDB.SetApplication(app);

SYNC_SACDB.GetSynchronizationProfile().ServerName = HOST;

ConnectionProperties connProps = app.ConnectionProperties;


LoginCredentials loginCredentials = new LoginCredentials(USERNAME, PASSWORD);

connProps.LoginCredentials = loginCredentials;

connProps.ServerName = HOST;


connProps.PortNumber = PORT;

if (app.RegistrationStatus != RegistrationStatus.REGISTERED)

{

app.RegisterApplication(TIMEOUT); //In this line is when throws the error unexpectedly**

}

else

{

app.StartConnection(TIMEOUT);

}

if (!SYNC_SACDB.IsSynchronized("default"))

{

SYNC_SACDB.DisableChangeLog();

SYNC_SACDB.Synchronize(); // Initial Synchronize

ISynchronizationGroup sg = SYNC_SACDB.GetSynchronizationGroup("default");

sg.EnableSIS = true;

sg.Save();

SYNC_SACDB.Synchronize();

}


SYNC_SACDB.EnableChangeLog();

}

This is the output of Visual Studio 2008:

'Supervisores de venta.exe' (Managed): Loaded 'C:\Program Files\Microsoft.NET\SDK\CompactFramework\v2.0\WindowsCE\mscorlib.dll'

'Supervisores de venta.exe' (Managed): Loaded 'c:\users\carvazquez\desktop\@mobile\sup 2.1\@supervisores\@supervisores_v.2.5_sac_upgrade\@supervisoresventas_des\supervisores de venta\supervisores de venta\bin\debug\Supervisores de venta.exe', Symbols loaded.

'Supervisores de venta.exe' (Managed): Loaded 'System.Windows.Forms.dll'

'Supervisores de venta.exe' (Managed): Loaded 'System.dll'

'Supervisores de venta.exe' (Managed): Loaded 'System.Drawing.dll'

'Supervisores de venta.exe' (Managed): Loaded 'c:\sybase\unwiredplatform\mobilesdk213\objectapi\wm\ultralite\sup-client.dll'

'Supervisores de venta.exe' (Managed): Loaded 'System.Data.dll'

'Supervisores de venta.exe' (Managed): Loaded 'System.Xml.dll'

The thread 0x9d989a2e has exited with code 0 (0x0).

The thread 0xdd6c0ad6 has exited with code 0 (0x0).

'Supervisores de venta.exe' (Managed): Loaded 'System.SR.dll'

The thread 0x9d989a2e has exited with code 0 (0x0).

A first chance exception of type 'System.Net.WebException' occurred in System.dll

A first chance exception of type 'System.Net.WebException' occurred in System.dll

'Supervisores de venta.exe' (Managed): Loaded 'c:\users\carvazquez\desktop\@mobile\sup 2.1\@supervisores\@supervisores_v.2.5_sac_upgrade\@supervisoresventas_des\mbos\sync_sac\generated code\src\bin\debug\SYNC_SAC.dll', Symbols loaded.

A first chance exception of type 'Sybase.MessagingClientLib.MessagingClientException' occurred in sup-client.dll

A first chance exception of type 'Sybase.MessagingClientLib.MessagingClientException' occurred in sup-client.dll

A first chance exception of type 'Sybase.MessagingClientLib.MessagingClientException' occurred in sup-client.dll

A first chance exception of type 'Sybase.MessagingClientLib.MessagingClientException' occurred in sup-client.dll

The thread 0x9d6ee046 has exited with code 0 (0x0).

A first chance exception of type 'Sybase.Mobile.ApplicationRuntimeException' occurred in sup-client.dll

Someone that have had the same problem in one of your solutions?? or any idea that what is the problem?? We'll be thanked

Regards!!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Apr 23, 2013 at 01:10 AM

    Hi Carlos.

    have you solve this issue? I have this trouble too,please tell me how to solve this.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.